PrivateClusterConfig.fromJson constructor
PrivateClusterConfig.fromJson(
- Map json_
Implementation
PrivateClusterConfig.fromJson(core.Map json_)
: this(
enablePrivateEndpoint: json_.containsKey('enablePrivateEndpoint')
? json_['enablePrivateEndpoint'] as core.bool
: null,
enablePrivateNodes: json_.containsKey('enablePrivateNodes')
? json_['enablePrivateNodes'] as core.bool
: null,
masterGlobalAccessConfig:
json_.containsKey('masterGlobalAccessConfig')
? PrivateClusterMasterGlobalAccessConfig.fromJson(
json_['masterGlobalAccessConfig']
as core.Map<core.String, core.dynamic>)
: null,
masterIpv4CidrBlock: json_.containsKey('masterIpv4CidrBlock')
? json_['masterIpv4CidrBlock'] as core.String
: null,
peeringName: json_.containsKey('peeringName')
? json_['peeringName'] as core.String
: null,
privateEndpoint: json_.containsKey('privateEndpoint')
? json_['privateEndpoint'] as core.String
: null,
privateEndpointSubnetwork:
json_.containsKey('privateEndpointSubnetwork')
? json_['privateEndpointSubnetwork'] as core.String
: null,
publicEndpoint: json_.containsKey('publicEndpoint')
? json_['publicEndpoint'] as core.String
: null,
);