class Google::Apis::ConnectorsV1::Oauth2ClientCredentials

Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See tools.ietf.org/html/rfc6749#section-1.3.4 for more details.

Attributes

client_id[RW]

The client identifier. Corresponds to the JSON property ‘clientId` @return [String]

client_secret[RW]

Secret provides a reference to entries in Secret Manager. Corresponds to the JSON property ‘clientSecret` @return [Google::Apis::ConnectorsV1::Secret]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/connectors_v1/classes.rb, line 1320
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/connectors_v1/classes.rb, line 1325
def update!(**args)
  @client_id = args[:client_id] if args.key?(:client_id)
  @client_secret = args[:client_secret] if args.key?(:client_secret)
end