Class: Google::Apis::TpuV2alpha1::AccessConfig
- Inherits:
-
Object
- Object
- Google::Apis::TpuV2alpha1::AccessConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/tpu_v2alpha1/classes.rb,
lib/google/apis/tpu_v2alpha1/representations.rb,
lib/google/apis/tpu_v2alpha1/representations.rb
Overview
An access config attached to the TPU worker.
Instance Attribute Summary collapse
-
#external_ip ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccessConfig
constructor
A new instance of AccessConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccessConfig
Returns a new instance of AccessConfig.
103 104 105 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 103 def initialize(**args) update!(**args) end |
Instance Attribute Details
#external_ip ⇒ String
Output only. An external IP address associated with the TPU worker.
Corresponds to the JSON property externalIp
101 102 103 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 101 def external_ip @external_ip end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
108 109 110 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 108 def update!(**args) @external_ip = args[:external_ip] if args.key?(:external_ip) end |