Class: Google::Apis::MlV1::GoogleCloudMlV1Config

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/ml_v1/classes.rb,
generated/google/apis/ml_v1/representations.rb,
generated/google/apis/ml_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudMlV1Config

Returns a new instance of GoogleCloudMlV1Config.



287
288
289
# File 'generated/google/apis/ml_v1/classes.rb', line 287

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#tpu_service_accountString

The service account Cloud ML uses to run on TPU node. Corresponds to the JSON property tpuServiceAccount

Returns:

  • (String)


285
286
287
# File 'generated/google/apis/ml_v1/classes.rb', line 285

def 
  @tpu_service_account
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



292
293
294
# File 'generated/google/apis/ml_v1/classes.rb', line 292

def update!(**args)
  @tpu_service_account = args[:tpu_service_account] if args.key?(:tpu_service_account)
end