PrivateClusterConfig.fromJson constructor

PrivateClusterConfig.fromJson(
  1. Map json_
)

Implementation

PrivateClusterConfig.fromJson(core.Map json_)
    : this(
        allowedProjects: json_.containsKey('allowedProjects')
            ? (json_['allowedProjects'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        clusterHostname: json_.containsKey('clusterHostname')
            ? json_['clusterHostname'] as core.String
            : null,
        enablePrivateEndpoint: json_.containsKey('enablePrivateEndpoint')
            ? json_['enablePrivateEndpoint'] as core.bool
            : null,
        serviceAttachmentUri: json_.containsKey('serviceAttachmentUri')
            ? json_['serviceAttachmentUri'] as core.String
            : null,
      );