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.
1466 1467 1468 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 1466 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
The email address of the service identity.
Corresponds to the JSON property email
1464 1465 1466 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 1464 def email @email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1471 1472 1473 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 1471 def update!(**args) @email = args[:email] if args.key?(:email) end |