class Google::Apis::ServiceconsumermanagementV1::ServiceAccountConfig

Describes the service account configuration for the tenant project.

Attributes

account_id[RW]

ID of the IAM service account to be created in tenant project. The email format of the service account is “@.iam.gserviceaccount.com”. This account ID must be unique within tenant project and service producers have to guarantee it. The ID must be 6-30 characters long, and match the following regular expression: `[a-z](*[a-z0-9])`. Corresponds to the JSON property `accountId` @return [String]

tenant_project_roles[RW]

Roles for the associated service account for the tenant project. Corresponds to the JSON property `tenantProjectRoles` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/serviceconsumermanagement_v1/classes.rb, line 2842
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/serviceconsumermanagement_v1/classes.rb, line 2847
def update!(**args)
  @account_id = args[:account_id] if args.key?(:account_id)
  @tenant_project_roles = args[:tenant_project_roles] if args.key?(:tenant_project_roles)
end