GoogleCloudConnectorsV1ConnectorVersionInfraConfig.fromJson constructor

GoogleCloudConnectorsV1ConnectorVersionInfraConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudConnectorsV1ConnectorVersionInfraConfig.fromJson(core.Map json_)
    : this(
        connectionRatelimitWindowSeconds:
            json_.containsKey('connectionRatelimitWindowSeconds')
                ? json_['connectionRatelimitWindowSeconds'] as core.String
                : null,
        deploymentModel: json_.containsKey('deploymentModel')
            ? json_['deploymentModel'] as core.String
            : null,
        hpaConfig: json_.containsKey('hpaConfig')
            ? GoogleCloudConnectorsV1HPAConfig.fromJson(
                json_['hpaConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        internalclientRatelimitThreshold:
            json_.containsKey('internalclientRatelimitThreshold')
                ? json_['internalclientRatelimitThreshold'] as core.String
                : null,
        ratelimitThreshold: json_.containsKey('ratelimitThreshold')
            ? json_['ratelimitThreshold'] as core.String
            : null,
        resourceLimits: json_.containsKey('resourceLimits')
            ? GoogleCloudConnectorsV1ResourceLimits.fromJson(
                json_['resourceLimits']
                    as core.Map<core.String, core.dynamic>)
            : null,
        resourceRequests: json_.containsKey('resourceRequests')
            ? GoogleCloudConnectorsV1ResourceRequests.fromJson(
                json_['resourceRequests']
                    as core.Map<core.String, core.dynamic>)
            : null,
        sharedDeployment: json_.containsKey('sharedDeployment')
            ? json_['sharedDeployment'] as core.String
            : null,
      );