Class: Google::Apis::MlV1::GoogleCloudMlV1Config
- Inherits:
-
Object
- Object
- Google::Apis::MlV1::GoogleCloudMlV1Config
- 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
-
#tpu_service_account ⇒ String
The service account Cloud ML uses to run on TPU node.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudMlV1Config
constructor
A new instance of GoogleCloudMlV1Config.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudMlV1Config
Returns a new instance of GoogleCloudMlV1Config
231 232 233 |
# File 'generated/google/apis/ml_v1/classes.rb', line 231 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tpu_service_account ⇒ String
The service account Cloud ML uses to run on TPU node.
Corresponds to the JSON property tpuServiceAccount
229 230 231 |
# File 'generated/google/apis/ml_v1/classes.rb', line 229 def tpu_service_account @tpu_service_account end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
236 237 238 |
# File 'generated/google/apis/ml_v1/classes.rb', line 236 def update!(**args) @tpu_service_account = args[:tpu_service_account] if args.key?(:tpu_service_account) end |