Class: Google::Apis::TpuV2alpha1::ServiceIdentity
- Inherits:
-
Object
- Object
- Google::Apis::TpuV2alpha1::ServiceIdentity
- 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
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.
1543 1544 1545 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 1543 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
The email address of the service identity.
Corresponds to the JSON property email
1541 1542 1543 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 1541 def email @email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1548 1549 1550 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 1548 def update!(**args) @email = args[:email] if args.key?(:email) end |