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