Skip to content

Commit

Permalink
Autogenerated update (2019-03-04)
Browse files Browse the repository at this point in the history
Update:
- ml_v1
- tpu_v1
- tpu_v1alpha1
  • Loading branch information
googleapis-publisher committed Mar 4, 2019
1 parent ea320d4 commit bc74cb8
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 12 deletions.
1 change: 1 addition & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/ml_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @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'
Expand Down
18 changes: 11 additions & 7 deletions generated/google/apis/ml_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,15 @@ class GoogleCloudMlV1HyperparameterSpec
# @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
Expand Down Expand Up @@ -395,6 +404,7 @@ def update!(**args)
@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)
Expand Down Expand Up @@ -935,11 +945,6 @@ def update!(**args)
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
Expand Down Expand Up @@ -1030,7 +1035,6 @@ def initialize(**args)

# 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)
Expand Down Expand Up @@ -1742,7 +1746,7 @@ class GoogleIamV1Binding
# 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<String>]
Expand Down
3 changes: 1 addition & 2 deletions generated/google/apis/ml_v1/representations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
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
Expand Down Expand Up @@ -481,8 +482,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
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'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/tpu_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @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'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/tpu_v1alpha1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @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'
Expand Down

0 comments on commit bc74cb8

Please sign in to comment.