Class: Google::Apis::TpuV2::ServiceIdentity
- Inherits:
-
Object
- Object
- Google::Apis::TpuV2::ServiceIdentity
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/tpu_v2/classes.rb,
lib/google/apis/tpu_v2/representations.rb,
lib/google/apis/tpu_v2/representations.rb
Overview
The per-product per-project service identity for Cloud TPU service.
Instance Attribute Summary collapse
-
#email ⇒ String
The email address of the service identity.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServiceIdentity
constructor
A new instance of ServiceIdentity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ServiceIdentity
Returns a new instance of ServiceIdentity.
1394 1395 1396 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 1394 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
The email address of the service identity.
Corresponds to the JSON property email
1392 1393 1394 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 1392 def email @email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1399 1400 1401 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 1399 def update!(**args) @email = args[:email] if args.key?(:email) end |