Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig

Returns a new instance of GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig.



9358
9359
9360
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9358

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

Instance Attribute Details

#client_idString

Corresponds to the JSON property clientId

Returns:

  • (String)


9336
9337
9338
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9336

def client_id
  @client_id
end

#client_secretString

Corresponds to the JSON property clientSecret

Returns:

  • (String)


9341
9342
9343
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9341

def client_secret
  @client_secret
end

#scopesArray<String>

Corresponds to the JSON property scopes

Returns:

  • (Array<String>)


9346
9347
9348
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9346

def scopes
  @scopes
end

#secret_version_for_client_secretString

Corresponds to the JSON property secretVersionForClientSecret

Returns:

  • (String)


9351
9352
9353
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9351

def secret_version_for_client_secret
  @secret_version_for_client_secret
end

#token_endpointString

Corresponds to the JSON property tokenEndpoint

Returns:

  • (String)


9356
9357
9358
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9356

def token_endpoint
  @token_endpoint
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9363
9364
9365
9366
9367
9368
9369
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9363

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