toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'annotations': annotations,
'createTime': createTime,
'deletionPolicy': deletionPolicy,
'deletionProtection': deletionProtection,
'effectiveAnnotations': effectiveAnnotations,
'effectiveLabels': effectiveLabels,
'expireTime': expireTime,
'labels': labels,
'name': name,
'project': project,
'pulumiLabels': pulumiLabels,
'replications': pulumi.Input.mapInputValue<List<GetSecretsSecretReplication>, List<Map<String, dynamic>>>(replications, (value) => pulumi.Input.encodeList<GetSecretsSecretReplication, Map<String, dynamic>>(value, (value) => value.toMap())),
'rotations': pulumi.Input.mapInputValue<List<GetSecretsSecretRotation>, List<Map<String, dynamic>>>(rotations, (value) => pulumi.Input.encodeList<GetSecretsSecretRotation, Map<String, dynamic>>(value, (value) => value.toMap())),
'secretId': secretId,
'tags': tags,
'topics': pulumi.Input.mapInputValue<List<GetSecretsSecretTopic>, List<Map<String, dynamic>>>(topics, (value) => pulumi.Input.encodeList<GetSecretsSecretTopic, Map<String, dynamic>>(value, (value) => value.toMap())),
'ttl': ttl,
'versionAliases': versionAliases,
'versionDestroyTtl': versionDestroyTtl,
};
}