toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'createTime': ?createTime,
'creator': ?creator,
'deletionPolicy': ?deletionPolicy,
'desiredState': ?desiredState,
'disableProxyAccess': ?disableProxyAccess,
'effectiveLabels': ?effectiveLabels,
'enableDeletionProtection': ?enableDeletionProtection,
'enableManagedEuc': ?enableManagedEuc,
'enableThirdPartyIdentity': ?enableThirdPartyIdentity,
'gceSetup': ?pulumi.Input.mapOptionalInputValue<InstanceGceSetup, Map<String, dynamic>>(gceSetup, (value) => value.toMap()),
'healthInfos': ?healthInfos,
'healthState': ?healthState,
'instanceId': ?instanceId,
'instanceOwners': ?instanceOwners,
'labels': ?labels,
'location': ?location,
'name': ?name,
'project': ?project,
'proxyUri': ?proxyUri,
'pulumiLabels': ?pulumiLabels,
'state': ?state,
'updateTime': ?updateTime,
'upgradeHistories': ?pulumi.Input.mapOptionalInputValue<List<InstanceUpgradeHistory>, List<Map<String, dynamic>>>(upgradeHistories, (value) => pulumi.Input.encodeList<InstanceUpgradeHistory, Map<String, dynamic>>(value, (value) => value.toMap())),
};
}