diff --git a/api_names_out.yaml b/api_names_out.yaml index 269e43efc..18baa7c0d 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -123686,6 +123686,8 @@ "/ml:v1/GoogleCloudMlV1__Version/isDefault": is_default "/ml:v1/GoogleCloudMlV1__Version/labels": labels "/ml:v1/GoogleCloudMlV1__Version/labels/label": label +"/ml:v1/GoogleCloudMlV1__Version/lastMigrationModelId": last_migration_model_id +"/ml:v1/GoogleCloudMlV1__Version/lastMigrationTime": last_migration_time "/ml:v1/GoogleCloudMlV1__Version/lastUseTime": last_use_time "/ml:v1/GoogleCloudMlV1__Version/machineType": machine_type "/ml:v1/GoogleCloudMlV1__Version/manualScaling": manual_scaling diff --git a/generated/google-apis-ml_v1/CHANGELOG.md b/generated/google-apis-ml_v1/CHANGELOG.md index 4d76b2aa7..ec742e5d3 100644 --- a/generated/google-apis-ml_v1/CHANGELOG.md +++ b/generated/google-apis-ml_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-ml_v1 +### v0.2.0 (2021-01-08) + +* Regenerated from discovery document revision 20201231 + ### v0.1.0 (2021-01-07) * Regenerated using generator version 0.1.1 diff --git a/generated/google-apis-ml_v1/lib/google/apis/ml_v1/classes.rb b/generated/google-apis-ml_v1/lib/google/apis/ml_v1/classes.rb index dc42abea7..0d1599827 100644 --- a/generated/google-apis-ml_v1/lib/google/apis/ml_v1/classes.rb +++ b/generated/google-apis-ml_v1/lib/google/apis/ml_v1/classes.rb @@ -543,9 +543,7 @@ module Google # incurred until traffic to the model resumes. If `min_nodes` is not specified # and AutoScaling is used with a [Compute Engine (N1) machine type](/ml-engine/ # docs/machine-types-online-prediction), `min_nodes` defaults to 1. `min_nodes` - # must be at least 1 for use with a Compute Engine machine type. Note that you - # cannot use AutoScaling if your version uses [GPUs](#Version.FIELDS. - # accelerator_config). Instead, you must use ManualScaling. You can set ` + # must be at least 1 for use with a Compute Engine machine type. You can set ` # min_nodes` when creating the model version, and you can also update `min_nodes` # for an existing version: update_body.json: ` 'autoScaling': ` 'minNodes': 5 ` # ` HTTP request: PATCH https://ml.googleapis.com/v1/`name=projects/*/models/*/ @@ -3090,6 +3088,16 @@ module Google # @return [Hash] attr_accessor :labels + # Output only. The uCAIP model id for the last model migration. + # Corresponds to the JSON property `lastMigrationModelId` + # @return [String] + attr_accessor :last_migration_model_id + + # Output only. The last time this version was successfully migrated to uCAIP. + # Corresponds to the JSON property `lastMigrationTime` + # @return [String] + attr_accessor :last_migration_time + # Output only. The time the version was last used for prediction. # Corresponds to the JSON property `lastUseTime` # @return [String] @@ -3234,6 +3242,8 @@ module Google @framework = args[:framework] if args.key?(:framework) @is_default = args[:is_default] if args.key?(:is_default) @labels = args[:labels] if args.key?(:labels) + @last_migration_model_id = args[:last_migration_model_id] if args.key?(:last_migration_model_id) + @last_migration_time = args[:last_migration_time] if args.key?(:last_migration_time) @last_use_time = args[:last_use_time] if args.key?(:last_use_time) @machine_type = args[:machine_type] if args.key?(:machine_type) @manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling) diff --git a/generated/google-apis-ml_v1/lib/google/apis/ml_v1/gem_version.rb b/generated/google-apis-ml_v1/lib/google/apis/ml_v1/gem_version.rb index 43507b0c4..8ee850f29 100644 --- a/generated/google-apis-ml_v1/lib/google/apis/ml_v1/gem_version.rb +++ b/generated/google-apis-ml_v1/lib/google/apis/ml_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module MlV1 # Version of the google-apis-ml_v1 gem - GEM_VERSION = "0.1.0" + GEM_VERSION = "0.2.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.1.1" # Revision of the discovery document this client was generated from - REVISION = "20201207" + REVISION = "20201231" end end end diff --git a/generated/google-apis-ml_v1/lib/google/apis/ml_v1/representations.rb b/generated/google-apis-ml_v1/lib/google/apis/ml_v1/representations.rb index fab216823..9f048736d 100644 --- a/generated/google-apis-ml_v1/lib/google/apis/ml_v1/representations.rb +++ b/generated/google-apis-ml_v1/lib/google/apis/ml_v1/representations.rb @@ -1290,6 +1290,8 @@ module Google property :framework, as: 'framework' property :is_default, as: 'isDefault' hash :labels, as: 'labels' + property :last_migration_model_id, as: 'lastMigrationModelId' + property :last_migration_time, as: 'lastMigrationTime' property :last_use_time, as: 'lastUseTime' property :machine_type, as: 'machineType' property :manual_scaling, as: 'manualScaling', class: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling, decorator: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling::Representation diff --git a/generated/google-apis-ml_v1/synth.metadata b/generated/google-apis-ml_v1/synth.metadata index 400334978..b1bac7fed 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": "ccadd11145806e3f697ab72f212a95e9240b13a1" + "sha": "c6bbfd62e37cc5a444d49a6576fda907b3bfb9b5" } } ]