Class: Google::Apis::TpuV2alpha1::ServiceIdentity

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#emailString

The email address of the service identity. Corresponds to the JSON property email

Returns:

  • (String)


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