PrivateEnvironmentConfig.fromJson constructor

PrivateEnvironmentConfig.fromJson(
  1. Map json_
)

Implementation

PrivateEnvironmentConfig.fromJson(core.Map json_)
    : this(
        cloudComposerConnectionSubnetwork:
            json_.containsKey('cloudComposerConnectionSubnetwork')
                ? json_['cloudComposerConnectionSubnetwork'] as core.String
                : null,
        cloudComposerNetworkIpv4CidrBlock:
            json_.containsKey('cloudComposerNetworkIpv4CidrBlock')
                ? json_['cloudComposerNetworkIpv4CidrBlock'] as core.String
                : null,
        cloudComposerNetworkIpv4ReservedRange: json_
                .containsKey('cloudComposerNetworkIpv4ReservedRange')
            ? json_['cloudComposerNetworkIpv4ReservedRange'] as core.String
            : null,
        cloudSqlIpv4CidrBlock: json_.containsKey('cloudSqlIpv4CidrBlock')
            ? json_['cloudSqlIpv4CidrBlock'] as core.String
            : null,
        enablePrivateBuildsOnly: json_.containsKey('enablePrivateBuildsOnly')
            ? json_['enablePrivateBuildsOnly'] as core.bool
            : null,
        enablePrivateEnvironment:
            json_.containsKey('enablePrivateEnvironment')
                ? json_['enablePrivateEnvironment'] as core.bool
                : null,
        enablePrivatelyUsedPublicIps:
            json_.containsKey('enablePrivatelyUsedPublicIps')
                ? json_['enablePrivatelyUsedPublicIps'] as core.bool
                : null,
        networkingConfig: json_.containsKey('networkingConfig')
            ? NetworkingConfig.fromJson(json_['networkingConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        privateClusterConfig: json_.containsKey('privateClusterConfig')
            ? PrivateClusterConfig.fromJson(json_['privateClusterConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        webServerIpv4CidrBlock: json_.containsKey('webServerIpv4CidrBlock')
            ? json_['webServerIpv4CidrBlock'] as core.String
            : null,
        webServerIpv4ReservedRange:
            json_.containsKey('webServerIpv4ReservedRange')
                ? json_['webServerIpv4ReservedRange'] as core.String
                : null,
      );