Class: Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2ClientCredentials

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EndUserAuthenticationConfigOauth2ClientCredentials

Returns a new instance of EndUserAuthenticationConfigOauth2ClientCredentials.



2533
2534
2535
# File 'lib/google/apis/connectors_v1/classes.rb', line 2533

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

Instance Attribute Details

#client_idString

The client identifier. Corresponds to the JSON property clientId

Returns:

  • (String)


2526
2527
2528
# File 'lib/google/apis/connectors_v1/classes.rb', line 2526

def client_id
  @client_id
end

#client_secretGoogle::Apis::ConnectorsV1::EuaSecret

EUASecret provides a reference to entries in Secret Manager. Corresponds to the JSON property clientSecret



2531
2532
2533
# File 'lib/google/apis/connectors_v1/classes.rb', line 2531

def client_secret
  @client_secret
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2538
2539
2540
2541
# File 'lib/google/apis/connectors_v1/classes.rb', line 2538

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