feat: Automated regeneration of ml v1 client (#2255)

This commit is contained in:
Yoshi Automation Bot 2021-01-08 08:44:10 -08:00 committed by GitHub
parent 9decc6ed53
commit 63d075526f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 24 additions and 6 deletions

View File

@ -123686,6 +123686,8 @@
"/ml:v1/GoogleCloudMlV1__Version/isDefault": is_default "/ml:v1/GoogleCloudMlV1__Version/isDefault": is_default
"/ml:v1/GoogleCloudMlV1__Version/labels": labels "/ml:v1/GoogleCloudMlV1__Version/labels": labels
"/ml:v1/GoogleCloudMlV1__Version/labels/label": label "/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/lastUseTime": last_use_time
"/ml:v1/GoogleCloudMlV1__Version/machineType": machine_type "/ml:v1/GoogleCloudMlV1__Version/machineType": machine_type
"/ml:v1/GoogleCloudMlV1__Version/manualScaling": manual_scaling "/ml:v1/GoogleCloudMlV1__Version/manualScaling": manual_scaling

View File

@ -1,5 +1,9 @@
# Release history for google-apis-ml_v1 # 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) ### v0.1.0 (2021-01-07)
* Regenerated using generator version 0.1.1 * Regenerated using generator version 0.1.1

View File

@ -543,9 +543,7 @@ module Google
# incurred until traffic to the model resumes. If `min_nodes` is not specified # 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/ # 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` # 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 # must be at least 1 for use with a Compute Engine machine type. You can set `
# cannot use AutoScaling if your version uses [GPUs](#Version.FIELDS.
# accelerator_config). Instead, you must use ManualScaling. You can set `
# min_nodes` when creating the model version, and you can also update `min_nodes` # min_nodes` when creating the model version, and you can also update `min_nodes`
# for an existing version: update_body.json: ` 'autoScaling': ` 'minNodes': 5 ` # for an existing version: update_body.json: ` 'autoScaling': ` 'minNodes': 5 `
# ` HTTP request: PATCH https://ml.googleapis.com/v1/`name=projects/*/models/*/ # ` HTTP request: PATCH https://ml.googleapis.com/v1/`name=projects/*/models/*/
@ -3090,6 +3088,16 @@ module Google
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :labels 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. # Output only. The time the version was last used for prediction.
# Corresponds to the JSON property `lastUseTime` # Corresponds to the JSON property `lastUseTime`
# @return [String] # @return [String]
@ -3234,6 +3242,8 @@ module Google
@framework = args[:framework] if args.key?(:framework) @framework = args[:framework] if args.key?(:framework)
@is_default = args[:is_default] if args.key?(:is_default) @is_default = args[:is_default] if args.key?(:is_default)
@labels = args[:labels] if args.key?(:labels) @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) @last_use_time = args[:last_use_time] if args.key?(:last_use_time)
@machine_type = args[:machine_type] if args.key?(:machine_type) @machine_type = args[:machine_type] if args.key?(:machine_type)
@manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling) @manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling)

View File

@ -16,13 +16,13 @@ module Google
module Apis module Apis
module MlV1 module MlV1
# Version of the google-apis-ml_v1 gem # 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 # Version of the code generator used to generate this client
GENERATOR_VERSION = "0.1.1" GENERATOR_VERSION = "0.1.1"
# Revision of the discovery document this client was generated from # Revision of the discovery document this client was generated from
REVISION = "20201207" REVISION = "20201231"
end end
end end
end end

View File

@ -1290,6 +1290,8 @@ module Google
property :framework, as: 'framework' property :framework, as: 'framework'
property :is_default, as: 'isDefault' property :is_default, as: 'isDefault'
hash :labels, as: 'labels' hash :labels, as: 'labels'
property :last_migration_model_id, as: 'lastMigrationModelId'
property :last_migration_time, as: 'lastMigrationTime'
property :last_use_time, as: 'lastUseTime' property :last_use_time, as: 'lastUseTime'
property :machine_type, as: 'machineType' property :machine_type, as: 'machineType'
property :manual_scaling, as: 'manualScaling', class: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling, decorator: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling::Representation property :manual_scaling, as: 'manualScaling', class: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling, decorator: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling::Representation

View File

@ -4,7 +4,7 @@
"git": { "git": {
"name": ".", "name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git", "remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "ccadd11145806e3f697ab72f212a95e9240b13a1" "sha": "c6bbfd62e37cc5a444d49a6576fda907b3bfb9b5"
} }
} }
] ]