Class: Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceServiceAccountIdentity

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 to configure a service account.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAiPlatformTenantresourceServiceAccountIdentity

Returns a new instance of CloudAiPlatformTenantresourceServiceAccountIdentity.



301
302
303
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 301

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

Instance Attribute Details

#service_account_emailString

Output only. The service account email that has been created. Corresponds to the JSON property serviceAccountEmail

Returns:

  • (String)


291
292
293
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 291

def 
  @service_account_email
end

#tagString

Input/Output [Optional]. The tag that configures the service account, as defined in google3/configs/production/cdpush/acl-zanzibar-cloud-prod/ activation_grants/activation_grants.gcl. Note: The default P4 service account has the empty tag. Corresponds to the JSON property tag

Returns:

  • (String)


299
300
301
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 299

def tag
  @tag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



306
307
308
309
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 306

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