Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaServiceAccountCredentials
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaServiceAccountCredentials
- 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
-
#scope ⇒ String
A space-delimited list of requested scope permissions.
-
#service_account ⇒ String
Name of the service account that has the permission to make the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaServiceAccountCredentials
constructor
A new instance of GoogleCloudIntegrationsV1alphaServiceAccountCredentials.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaServiceAccountCredentials
Returns a new instance of GoogleCloudIntegrationsV1alphaServiceAccountCredentials.
8051 8052 8053 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8051 def initialize(**args) update!(**args) end |
Instance Attribute Details
#scope ⇒ String
A space-delimited list of requested scope permissions.
Corresponds to the JSON property scope
8044 8045 8046 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8044 def scope @scope end |
#service_account ⇒ String
Name of the service account that has the permission to make the request.
Corresponds to the JSON property serviceAccount
8049 8050 8051 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8049 def service_account @service_account end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8056 8057 8058 8059 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8056 def update!(**args) @scope = args[:scope] if args.key?(:scope) @service_account = args[:service_account] if args.key?(:service_account) end |