Class: Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceTenantServiceAccountIdentity

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/contentwarehouse_v1/classes.rb,
lib/google/apis/contentwarehouse_v1/representations.rb,
lib/google/apis/contentwarehouse_v1/representations.rb

Overview

The identity of service accounts that have been explicitly created under tenant projects.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAiPlatformTenantresourceTenantServiceAccountIdentity

Returns a new instance of CloudAiPlatformTenantresourceTenantServiceAccountIdentity.



469
470
471
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 469

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#service_account_emailString

Output only. The email address of the generated service account. Corresponds to the JSON property serviceAccountEmail

Returns:

  • (String)


461
462
463
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 461

def 
  @service_account_email
end

#service_nameString

Input/Output [Required]. The service that the service account belongs to. (e.g. cloudbuild.googleapis.com for GCB service accounts) Corresponds to the JSON property serviceName

Returns:

  • (String)


467
468
469
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 467

def service_name
  @service_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



474
475
476
477
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 474

def update!(**args)
  @service_account_email = args[:service_account_email] if args.key?(:service_account_email)
  @service_name = args[:service_name] if args.key?(:service_name)
end