toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (affinityCookieTtlSec != null)
'affinityCookieTtlSec': affinityCookieTtlSec!,
if (backends != null) 'backends': backends!,
if (cdnPolicy != null) 'cdnPolicy': cdnPolicy!,
if (circuitBreakers != null) 'circuitBreakers': circuitBreakers!,
if (compressionMode != null) 'compressionMode': compressionMode!,
if (connectionDraining != null)
'connectionDraining': connectionDraining!,
if (connectionTrackingPolicy != null)
'connectionTrackingPolicy': connectionTrackingPolicy!,
if (consistentHash != null) 'consistentHash': consistentHash!,
if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
if (customRequestHeaders != null)
'customRequestHeaders': customRequestHeaders!,
if (customResponseHeaders != null)
'customResponseHeaders': customResponseHeaders!,
if (description != null) 'description': description!,
if (edgeSecurityPolicy != null)
'edgeSecurityPolicy': edgeSecurityPolicy!,
if (enableCDN != null) 'enableCDN': enableCDN!,
if (failoverPolicy != null) 'failoverPolicy': failoverPolicy!,
if (fingerprint != null) 'fingerprint': fingerprint!,
if (healthChecks != null) 'healthChecks': healthChecks!,
if (iap != null) 'iap': iap!,
if (id != null) 'id': id!,
if (kind != null) 'kind': kind!,
if (loadBalancingScheme != null)
'loadBalancingScheme': loadBalancingScheme!,
if (localityLbPolicies != null)
'localityLbPolicies': localityLbPolicies!,
if (localityLbPolicy != null) 'localityLbPolicy': localityLbPolicy!,
if (logConfig != null) 'logConfig': logConfig!,
if (maxStreamDuration != null) 'maxStreamDuration': maxStreamDuration!,
if (metadatas != null) 'metadatas': metadatas!,
if (name != null) 'name': name!,
if (network != null) 'network': network!,
if (outlierDetection != null) 'outlierDetection': outlierDetection!,
if (port != null) 'port': port!,
if (portName != null) 'portName': portName!,
if (protocol != null) 'protocol': protocol!,
if (region != null) 'region': region!,
if (securityPolicy != null) 'securityPolicy': securityPolicy!,
if (securitySettings != null) 'securitySettings': securitySettings!,
if (selfLink != null) 'selfLink': selfLink!,
if (serviceBindings != null) 'serviceBindings': serviceBindings!,
if (serviceLbPolicy != null) 'serviceLbPolicy': serviceLbPolicy!,
if (sessionAffinity != null) 'sessionAffinity': sessionAffinity!,
if (subsetting != null) 'subsetting': subsetting!,
if (timeoutSec != null) 'timeoutSec': timeoutSec!,
if (usedBy != null) 'usedBy': usedBy!,
};