diff --git a/api_names_out.yaml b/api_names_out.yaml index a96d53f7a..a08244251 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -120440,6 +120440,9 @@ "/ml:v1/GoogleCloudMlV1__ContainerSpec/image": image "/ml:v1/GoogleCloudMlV1__ContainerSpec/ports": ports "/ml:v1/GoogleCloudMlV1__ContainerSpec/ports/port": port +"/ml:v1/GoogleCloudMlV1__DiskConfig": google_cloud_ml_v1__disk_config +"/ml:v1/GoogleCloudMlV1__DiskConfig/bootDiskSizeGb": boot_disk_size_gb +"/ml:v1/GoogleCloudMlV1__DiskConfig/bootDiskType": boot_disk_type "/ml:v1/GoogleCloudMlV1__EncryptionConfig": google_cloud_ml_v1__encryption_config "/ml:v1/GoogleCloudMlV1__EncryptionConfig/kmsKeyName": kms_key_name "/ml:v1/GoogleCloudMlV1__EndpointMap": google_cloud_ml_v1__endpoint_map @@ -120598,6 +120601,7 @@ "/ml:v1/GoogleCloudMlV1__ReplicaConfig/containerArgs/container_arg": container_arg "/ml:v1/GoogleCloudMlV1__ReplicaConfig/containerCommand": container_command "/ml:v1/GoogleCloudMlV1__ReplicaConfig/containerCommand/container_command": container_command +"/ml:v1/GoogleCloudMlV1__ReplicaConfig/diskConfig": disk_config "/ml:v1/GoogleCloudMlV1__ReplicaConfig/imageUri": image_uri "/ml:v1/GoogleCloudMlV1__ReplicaConfig/tpuTfVersion": tpu_tf_version "/ml:v1/GoogleCloudMlV1__RequestLoggingConfig": google_cloud_ml_v1__request_logging_config diff --git a/generated/google/apis/ml_v1.rb b/generated/google/apis/ml_v1.rb index c41d10f8b..4c88ae90e 100644 --- a/generated/google/apis/ml_v1.rb +++ b/generated/google/apis/ml_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/ml/ module MlV1 VERSION = 'V1' - REVISION = '20201112' + REVISION = '20201207' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/ml_v1/classes.rb b/generated/google/apis/ml_v1/classes.rb index 70ac259dd..148a411d1 100644 --- a/generated/google/apis/ml_v1/classes.rb +++ b/generated/google/apis/ml_v1/classes.rb @@ -961,6 +961,33 @@ module Google end end + # Represents the config of disk options. + class GoogleCloudMlV1DiskConfig + include Google::Apis::Core::Hashable + + # Size in GB of the boot disk (default is 100GB). + # Corresponds to the JSON property `bootDiskSizeGb` + # @return [Fixnum] + attr_accessor :boot_disk_size_gb + + # Type of the boot disk (default is "pd-standard"). Valid values: "pd-ssd" ( + # Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk + # Drive). + # Corresponds to the JSON property `bootDiskType` + # @return [String] + attr_accessor :boot_disk_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb) + @boot_disk_type = args[:boot_disk_type] if args.key?(:boot_disk_type) + end + end + # Represents a custom encryption key configuration that can be applied to a # resource. class GoogleCloudMlV1EncryptionConfig @@ -2135,6 +2162,11 @@ module Google # @return [Array] attr_accessor :container_command + # Represents the config of disk options. + # Corresponds to the JSON property `diskConfig` + # @return [Google::Apis::MlV1::GoogleCloudMlV1DiskConfig] + attr_accessor :disk_config + # The Docker image to run on the replica. This image must be in Container # Registry. Learn more about [configuring custom containers](/ai-platform/ # training/docs/distributed-training-containers). @@ -2166,6 +2198,7 @@ module Google @accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config) @container_args = args[:container_args] if args.key?(:container_args) @container_command = args[:container_command] if args.key?(:container_command) + @disk_config = args[:disk_config] if args.key?(:disk_config) @image_uri = args[:image_uri] if args.key?(:image_uri) @tpu_tf_version = args[:tpu_tf_version] if args.key?(:tpu_tf_version) end @@ -2226,14 +2259,14 @@ module Google # and port to check that the container is healthy. Read more about [health # checks](/ai-platform/prediction/docs/custom-container-requirements#checks). # For example, if you set this field to `/bar`, then AI Platform Prediction - # intermittently sends a GET request to the following URL on the container: - # localhost:PORT/bar PORT refers to the first value of Version.container.ports. - # If you don't specify this field, it defaults to the following value: /v1/ - # models/MODEL/versions/VERSION The placeholders in this value are replaced as - # follows: * MODEL: The name of the parent Model. This does not include the " - # projects/PROJECT_ID/models/" prefix that the API returns in output; it is the - # bare model name, as provided to projects.models.create. * VERSION: The name of - # the model version. This does not include the "projects/PROJECT_ID/models/MODEL/ + # intermittently sends a GET request to the `/bar` path on the port of your + # container specified by the first value of Version.container.ports. If you don' + # t specify this field, it defaults to the following value: /v1/models/ MODEL/ + # versions/VERSION The placeholders in this value are replaced as follows: * + # MODEL: The name of the parent Model. This does not include the "projects/ + # PROJECT_ID/models/" prefix that the API returns in output; it is the bare + # model name, as provided to projects.models.create. * VERSION: The name of the + # model version. This does not include the "projects/PROJECT_ID /models/MODEL/ # versions/" prefix that the API returns in output; it is the bare version name, # as provided to projects.models.versions.create. # Corresponds to the JSON property `health` @@ -2245,16 +2278,16 @@ module Google # container's IP address and port. AI Platform Prediction then returns the # container's response in the API response. For example, if you set this field # to `/foo`, then when AI Platform Prediction receives a prediction request, it - # forwards the request body in a POST request to the following URL on the - # container: localhost:PORT/foo PORT refers to the first value of Version. - # container.ports. If you don't specify this field, it defaults to the following - # value: /v1/models/MODEL/versions/VERSION:predict The placeholders in this - # value are replaced as follows: * MODEL: The name of the parent Model. This - # does not include the "projects/PROJECT_ID/models/" prefix that the API returns - # in output; it is the bare model name, as provided to projects.models.create. * - # VERSION: The name of the model version. This does not include the "projects/ - # PROJECT_ID/models/MODEL/versions/" prefix that the API returns in output; it - # is the bare version name, as provided to projects.models.versions.create. + # forwards the request body in a POST request to the `/foo` path on the port of + # your container specified by the first value of Version.container.ports. If you + # don't specify this field, it defaults to the following value: /v1/models/MODEL/ + # versions/VERSION:predict The placeholders in this value are replaced as + # follows: * MODEL: The name of the parent Model. This does not include the " + # projects/PROJECT_ID/models/" prefix that the API returns in output; it is the + # bare model name, as provided to projects.models.create. * VERSION: The name of + # the model version. This does not include the "projects/PROJECT_ID/models/MODEL/ + # versions/" prefix that the API returns in output; it is the bare version name, + # as provided to projects.models.versions.create. # Corresponds to the JSON property `predict` # @return [String] attr_accessor :predict diff --git a/generated/google/apis/ml_v1/representations.rb b/generated/google/apis/ml_v1/representations.rb index a70262036..029d4cd5a 100644 --- a/generated/google/apis/ml_v1/representations.rb +++ b/generated/google/apis/ml_v1/representations.rb @@ -196,6 +196,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudMlV1DiskConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudMlV1EncryptionConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -786,6 +792,14 @@ module Google end end + class GoogleCloudMlV1DiskConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :boot_disk_size_gb, as: 'bootDiskSizeGb' + property :boot_disk_type, as: 'bootDiskType' + end + end + class GoogleCloudMlV1EncryptionConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1081,6 +1095,8 @@ module Google collection :container_args, as: 'containerArgs' collection :container_command, as: 'containerCommand' + property :disk_config, as: 'diskConfig', class: Google::Apis::MlV1::GoogleCloudMlV1DiskConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1DiskConfig::Representation + property :image_uri, as: 'imageUri' property :tpu_tf_version, as: 'tpuTfVersion' end diff --git a/generated/google/apis/ml_v1/synth.metadata b/generated/google/apis/ml_v1/synth.metadata index 0d43e841e..400334978 100644 --- a/generated/google/apis/ml_v1/synth.metadata +++ b/generated/google/apis/ml_v1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "e348db9d64f0d2bd0beb87cdc99cc69e03b33b03" + "sha": "ccadd11145806e3f697ab72f212a95e9240b13a1" } } ]