Class: Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceServiceAccountIdentity
- Inherits:
-
Object
- Object
- Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceServiceAccountIdentity
- 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
-
#service_account_email ⇒ String
Output only.
-
#tag ⇒ String
Input/Output [Optional].
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAiPlatformTenantresourceServiceAccountIdentity
constructor
A new instance of CloudAiPlatformTenantresourceServiceAccountIdentity.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_email ⇒ String
Output only. The service account email that has been created.
Corresponds to the JSON property serviceAccountEmail
291 292 293 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 291 def service_account_email @service_account_email end |
#tag ⇒ String
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
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 |