Class: Google::Apis::ApihubV1::GoogleCloudApihubV1GoogleServiceAccountConfig
- Inherits:
-
Object
- Object
- Google::Apis::ApihubV1::GoogleCloudApihubV1GoogleServiceAccountConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apihub_v1/classes.rb,
lib/google/apis/apihub_v1/representations.rb,
lib/google/apis/apihub_v1/representations.rb
Overview
Config for Google service account authentication.
Instance Attribute Summary collapse
-
#service_account ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApihubV1GoogleServiceAccountConfig
constructor
A new instance of GoogleCloudApihubV1GoogleServiceAccountConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApihubV1GoogleServiceAccountConfig
Returns a new instance of GoogleCloudApihubV1GoogleServiceAccountConfig.
2567 2568 2569 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 2567 def initialize(**args) update!(**args) end |
Instance Attribute Details
#service_account ⇒ String
Required. The service account to be used for authenticating request. The iam.
serviceAccounts.getAccessToken permission should be granted on this service
account to the impersonator service account.
Corresponds to the JSON property serviceAccount
2565 2566 2567 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 2565 def service_account @service_account end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2572 2573 2574 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 2572 def update!(**args) @service_account = args[:service_account] if args.key?(:service_account) end |