Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
- 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
-
#client_id ⇒ String
Corresponds to the JSON property
clientId. -
#client_secret ⇒ String
Corresponds to the JSON property
clientSecret. -
#scopes ⇒ Array<String>
Corresponds to the JSON property
scopes. -
#secret_version_for_client_secret ⇒ String
Corresponds to the JSON property
secretVersionForClientSecret. -
#token_endpoint ⇒ String
Corresponds to the JSON property
tokenEndpoint.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
constructor
A new instance of GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_id ⇒ String
Corresponds to the JSON property clientId
9336 9337 9338 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9336 def client_id @client_id end |
#client_secret ⇒ String
Corresponds to the JSON property clientSecret
9341 9342 9343 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9341 def client_secret @client_secret end |
#scopes ⇒ Array<String>
Corresponds to the JSON property scopes
9346 9347 9348 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9346 def scopes @scopes end |
#secret_version_for_client_secret ⇒ String
Corresponds to the JSON property secretVersionForClientSecret
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_endpoint ⇒ String
Corresponds to the JSON property tokenEndpoint
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 |