SecretVersion.fromJson constructor
SecretVersion.fromJson(
- Map json_
Implementation
SecretVersion.fromJson(core.Map json_)
: this(
clientSpecifiedPayloadChecksum:
json_.containsKey('clientSpecifiedPayloadChecksum')
? json_['clientSpecifiedPayloadChecksum'] as core.bool
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
customerManagedEncryption:
json_.containsKey('customerManagedEncryption')
? CustomerManagedEncryptionStatus.fromJson(
json_['customerManagedEncryption']
as core.Map<core.String, core.dynamic>)
: null,
destroyTime: json_.containsKey('destroyTime')
? json_['destroyTime'] as core.String
: null,
etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
replicationStatus: json_.containsKey('replicationStatus')
? ReplicationStatus.fromJson(json_['replicationStatus']
as core.Map<core.String, core.dynamic>)
: null,
scheduledDestroyTime: json_.containsKey('scheduledDestroyTime')
? json_['scheduledDestroyTime'] as core.String
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
);