GoogleCloudAiplatformV1DeploymentResourcePool.fromJson constructor

GoogleCloudAiplatformV1DeploymentResourcePool.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1DeploymentResourcePool.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        dedicatedResources: json_.containsKey('dedicatedResources')
            ? GoogleCloudAiplatformV1DedicatedResources.fromJson(
                json_['dedicatedResources']
                    as core.Map<core.String, core.dynamic>)
            : null,
        disableContainerLogging: json_.containsKey('disableContainerLogging')
            ? json_['disableContainerLogging'] as core.bool
            : null,
        encryptionSpec: json_.containsKey('encryptionSpec')
            ? GoogleCloudAiplatformV1EncryptionSpec.fromJson(
                json_['encryptionSpec']
                    as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        serviceAccount: json_.containsKey('serviceAccount')
            ? json_['serviceAccount'] as core.String
            : null,
      );