Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/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) ⇒ GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig
constructor
A new instance of GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig
Returns a new instance of GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig.
6395 6396 6397 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6395 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_id ⇒ String
Corresponds to the JSON property clientId
6373 6374 6375 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6373 def client_id @client_id end |
#client_secret ⇒ String
Corresponds to the JSON property clientSecret
6378 6379 6380 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6378 def client_secret @client_secret end |
#scopes ⇒ Array<String>
Corresponds to the JSON property scopes
6383 6384 6385 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6383 def scopes @scopes end |
#secret_version_for_client_secret ⇒ String
Corresponds to the JSON property secretVersionForClientSecret
6388 6389 6390 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6388 def secret_version_for_client_secret @secret_version_for_client_secret end |
#token_endpoint ⇒ String
Corresponds to the JSON property tokenEndpoint
6393 6394 6395 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6393 def token_endpoint @token_endpoint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6400 6401 6402 6403 6404 6405 6406 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6400 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 |