toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allowSubnetCidrRoutesOverlap != null)
        'allowSubnetCidrRoutesOverlap': allowSubnetCidrRoutesOverlap!,
      if (checkServiceNetworkingUsePermission != null)
        'checkServiceNetworkingUsePermission':
            checkServiceNetworkingUsePermission!,
      if (computeIdempotencyWindow != null)
        'computeIdempotencyWindow': computeIdempotencyWindow!,
      if (consumer != null) 'consumer': consumer!,
      if (consumerNetwork != null) 'consumerNetwork': consumerNetwork!,
      if (description != null) 'description': description!,
      if (internalRange != null) 'internalRange': internalRange!,
      if (ipPrefixLength != null) 'ipPrefixLength': ipPrefixLength!,
      if (outsideAllocationPublicIpRange != null)
        'outsideAllocationPublicIpRange': outsideAllocationPublicIpRange!,
      if (privateIpv6GoogleAccess != null)
        'privateIpv6GoogleAccess': privateIpv6GoogleAccess!,
      if (purpose != null) 'purpose': purpose!,
      if (region != null) 'region': region!,
      if (requestedAddress != null) 'requestedAddress': requestedAddress!,
      if (requestedRanges != null) 'requestedRanges': requestedRanges!,
      if (role != null) 'role': role!,
      if (secondaryIpRangeSpecs != null)
        'secondaryIpRangeSpecs': secondaryIpRangeSpecs!,
      if (subnetwork != null) 'subnetwork': subnetwork!,
      if (subnetworkUsers != null) 'subnetworkUsers': subnetworkUsers!,
      if (useCustomComputeIdempotencyWindow != null)
        'useCustomComputeIdempotencyWindow':
            useCustomComputeIdempotencyWindow!,
    };