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.



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

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

Instance Attribute Details

#client_idString

Corresponds to the JSON property clientId

Returns:

  • (String)


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

def client_id
  @client_id
end

#client_secretString

Corresponds to the JSON property clientSecret

Returns:

  • (String)


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

def client_secret
  @client_secret
end

#scopesArray<String>

Corresponds to the JSON property scopes

Returns:

  • (Array<String>)


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

def scopes
  @scopes
end

#secret_version_for_client_secretString

Corresponds to the JSON property secretVersionForClientSecret

Returns:

  • (String)


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

def secret_version_for_client_secret
  @secret_version_for_client_secret
end

#token_endpointString

Corresponds to the JSON property tokenEndpoint

Returns:

  • (String)


9362
9363
9364
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9362

def token_endpoint
  @token_endpoint
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9369
9370
9371
9372
9373
9374
9375
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9369

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