ServerTlsPolicy.fromJson constructor
ServerTlsPolicy.fromJson(
- Map json_
Implementation
ServerTlsPolicy.fromJson(core.Map json_)
: this(
allowOpen: json_.containsKey('allowOpen')
? json_['allowOpen'] as core.bool
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
labels: json_.containsKey('labels')
? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
mtlsPolicy: json_.containsKey('mtlsPolicy')
? MTLSPolicy.fromJson(
json_['mtlsPolicy'] as core.Map<core.String, core.dynamic>)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
serverCertificate: json_.containsKey('serverCertificate')
? GoogleCloudNetworksecurityV1CertificateProvider.fromJson(
json_['serverCertificate']
as core.Map<core.String, core.dynamic>)
: null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
);