Class: Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceTenantServiceAccountIdentity
- Inherits:
-
Object
- Object
- Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceTenantServiceAccountIdentity
- 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
-
#service_account_email ⇒ String
Output only.
-
#service_name ⇒ String
Input/Output [Required].
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAiPlatformTenantresourceTenantServiceAccountIdentity
constructor
A new instance of CloudAiPlatformTenantresourceTenantServiceAccountIdentity.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_email ⇒ String
Output only. The email address of the generated service account.
Corresponds to the JSON property serviceAccountEmail
461 462 463 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 461 def service_account_email @service_account_email end |
#service_name ⇒ String
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
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 |