From bc74cb89a0570a77b7453ea9370c990bd7a7da6d Mon Sep 17 00:00:00 2001 From: Google APIs Date: Mon, 4 Mar 2019 00:37:12 +0000 Subject: [PATCH] Autogenerated update (2019-03-04) Update: - ml_v1 - tpu_v1 - tpu_v1alpha1 --- api_names_out.yaml | 1 + generated/google/apis/ml_v1.rb | 2 +- generated/google/apis/ml_v1/classes.rb | 18 +++++++++++------- generated/google/apis/ml_v1/representations.rb | 3 +-- generated/google/apis/tpu_v1.rb | 2 +- generated/google/apis/tpu_v1alpha1.rb | 2 +- 6 files changed, 16 insertions(+), 12 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index f1c53a8ef..f77e1c570 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -82100,6 +82100,7 @@ "/ml:v1/GoogleCloudMlV1__HyperparameterSpec/enableTrialEarlyStopping": enable_trial_early_stopping "/ml:v1/GoogleCloudMlV1__HyperparameterSpec/goal": goal "/ml:v1/GoogleCloudMlV1__HyperparameterSpec/hyperparameterMetricTag": hyperparameter_metric_tag +"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/maxFailedTrials": max_failed_trials "/ml:v1/GoogleCloudMlV1__HyperparameterSpec/maxParallelTrials": max_parallel_trials "/ml:v1/GoogleCloudMlV1__HyperparameterSpec/maxTrials": max_trials "/ml:v1/GoogleCloudMlV1__HyperparameterSpec/params": params diff --git a/generated/google/apis/ml_v1.rb b/generated/google/apis/ml_v1.rb index 35d1e8070..74c093578 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 = '20190216' + REVISION = '20190226' # 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 3ad2b55c0..28c3ede81 100644 --- a/generated/google/apis/ml_v1/classes.rb +++ b/generated/google/apis/ml_v1/classes.rb @@ -354,6 +354,15 @@ module Google # @return [String] attr_accessor :hyperparameter_metric_tag + # Optional. How many failed trials that need to be seen before failing the + # hyperparameter tuning job. User can specify this field to override the + # default failing criteria for CloudML Engine hyperparameter tuning jobs. + # Defaults to zero, which means to let the service decide when a + # hyperparameter job should fail. + # Corresponds to the JSON property `maxFailedTrials` + # @return [Fixnum] + attr_accessor :max_failed_trials + # Optional. The number of training trials to run concurrently. # You can reduce the time it takes to perform hyperparameter tuning by adding # trials in parallel. However, each trail only benefits from the information @@ -395,6 +404,7 @@ module Google @enable_trial_early_stopping = args[:enable_trial_early_stopping] if args.key?(:enable_trial_early_stopping) @goal = args[:goal] if args.key?(:goal) @hyperparameter_metric_tag = args[:hyperparameter_metric_tag] if args.key?(:hyperparameter_metric_tag) + @max_failed_trials = args[:max_failed_trials] if args.key?(:max_failed_trials) @max_parallel_trials = args[:max_parallel_trials] if args.key?(:max_parallel_trials) @max_trials = args[:max_trials] if args.key?(:max_trials) @params = args[:params] if args.key?(:params) @@ -935,11 +945,6 @@ module Google class GoogleCloudMlV1PredictionInput include Google::Apis::Core::Hashable - # Represents a hardware accelerator request config. - # Corresponds to the JSON property `accelerator` - # @return [Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig] - attr_accessor :accelerator - # Optional. Number of records per batch, defaults to 64. # The service will buffer batch_size number of records in memory before # invoking one Tensorflow prediction call internally. So take the record @@ -1030,7 +1035,6 @@ module Google # Update properties of this object def update!(**args) - @accelerator = args[:accelerator] if args.key?(:accelerator) @batch_size = args[:batch_size] if args.key?(:batch_size) @data_format = args[:data_format] if args.key?(:data_format) @input_paths = args[:input_paths] if args.key?(:input_paths) @@ -1742,7 +1746,7 @@ module Google # account. For example, `my-other-app@appspot.gserviceaccount.com`. # * `group:`emailid``: An email address that represents a Google group. # For example, `admins@example.com`. - # * `domain:`domain``: A Google Apps domain name that represents all the + # * `domain:`domain``: The G Suite domain (primary) that represents all the # users of that domain. For example, `google.com` or `example.com`. # Corresponds to the JSON property `members` # @return [Array] diff --git a/generated/google/apis/ml_v1/representations.rb b/generated/google/apis/ml_v1/representations.rb index cf0198dd3..05eba9289 100644 --- a/generated/google/apis/ml_v1/representations.rb +++ b/generated/google/apis/ml_v1/representations.rb @@ -345,6 +345,7 @@ module Google property :enable_trial_early_stopping, as: 'enableTrialEarlyStopping' property :goal, as: 'goal' property :hyperparameter_metric_tag, as: 'hyperparameterMetricTag' + property :max_failed_trials, as: 'maxFailedTrials' property :max_parallel_trials, as: 'maxParallelTrials' property :max_trials, as: 'maxTrials' collection :params, as: 'params', class: Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec, decorator: Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec::Representation @@ -481,8 +482,6 @@ module Google class GoogleCloudMlV1PredictionInput # @private class Representation < Google::Apis::Core::JsonRepresentation - property :accelerator, as: 'accelerator', class: Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig::Representation - property :batch_size, :numeric_string => true, as: 'batchSize' property :data_format, as: 'dataFormat' collection :input_paths, as: 'inputPaths' diff --git a/generated/google/apis/tpu_v1.rb b/generated/google/apis/tpu_v1.rb index ce77a23ae..59ec592b7 100644 --- a/generated/google/apis/tpu_v1.rb +++ b/generated/google/apis/tpu_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/tpu/ module TpuV1 VERSION = 'V1' - REVISION = '20190205' + REVISION = '20190228' # 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/tpu_v1alpha1.rb b/generated/google/apis/tpu_v1alpha1.rb index 0bdecc4d2..2bbbb1f47 100644 --- a/generated/google/apis/tpu_v1alpha1.rb +++ b/generated/google/apis/tpu_v1alpha1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/tpu/ module TpuV1alpha1 VERSION = 'V1alpha1' - REVISION = '20190205' + REVISION = '20190228' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'