Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaServiceAccountCredentials

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

Overview

Represents the service account which can be used to generate access token for authenticating the service call.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaServiceAccountCredentials

Returns a new instance of GoogleCloudIntegrationsV1alphaServiceAccountCredentials.



8476
8477
8478
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8476

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

Instance Attribute Details

#scopeString

A space-delimited list of requested scope permissions. Corresponds to the JSON property scope

Returns:

  • (String)


8469
8470
8471
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8469

def scope
  @scope
end

#service_accountString

Name of the service account that has the permission to make the request. Corresponds to the JSON property serviceAccount

Returns:

  • (String)


8474
8475
8476
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8474

def 
  @service_account
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8481
8482
8483
8484
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8481

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