Class: Google::Apis::TpuV2::ServiceIdentity

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

Instance Method Summary collapse

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

#emailString

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

Returns:

  • (String)


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