Class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb
Overview
Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
Instance Attribute Summary collapse
-
#client_id ⇒ String
The client identifier.
-
#client_secret ⇒ Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1Secret
Secret provides a reference to entries in Secret Manager.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials
constructor
A new instance of GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials
Returns a new instance of GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials.
5238 5239 5240 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5238 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_id ⇒ String
The client identifier.
Corresponds to the JSON property clientId
5231 5232 5233 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5231 def client_id @client_id end |
#client_secret ⇒ Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1Secret
Secret provides a reference to entries in Secret Manager.
Corresponds to the JSON property clientSecret
5236 5237 5238 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5236 def client_secret @client_secret end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5243 5244 5245 5246 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5243 def update!(**args) @client_id = args[:client_id] if args.key?(:client_id) @client_secret = args[:client_secret] if args.key?(:client_secret) end |