PrivateClusterConfig.fromJson constructor

PrivateClusterConfig.fromJson(
  1. Map json_
)

Implementation

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