toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'allowSubnetCidrRoutesOverlap': allowSubnetCidrRoutesOverlap,
    'creationTimestamp': creationTimestamp,
    'description': description,
    'enableFlowLogs': enableFlowLogs,
    'externalIpv6Prefix': externalIpv6Prefix,
    'fingerprint': fingerprint,
    'gatewayAddress': gatewayAddress,
    'internalIpv6Prefix': internalIpv6Prefix,
    'ipCidrRange': ipCidrRange,
    'ipv6AccessType': ipv6AccessType,
    'ipv6CidrRange': ipv6CidrRange,
    'kind': kind,
    'logConfig': logConfig.toMap(),
    'name': name,
    'network': network,
    'privateIpGoogleAccess': privateIpGoogleAccess,
    'privateIpv6GoogleAccess': privateIpv6GoogleAccess,
    'purpose': purpose,
    'region': region,
    'reservedInternalRange': reservedInternalRange,
    'role': role,
    'secondaryIpRanges': pulumi.Input.encodeList<SubnetworkSecondaryRangeResponseComputeBeta, Map<String, dynamic>>(secondaryIpRanges, (value) => value.toMap()),
    'selfLink': selfLink,
    'stackType': stackType,
    'state': state,
  };
}