Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
- 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) ⇒ 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.
3033 3034 3035 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3033 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_id ⇒ String
Corresponds to the JSON property clientId
3011 3012 3013 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3011 def client_id @client_id end |
#client_secret ⇒ String
Corresponds to the JSON property clientSecret
3016 3017 3018 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3016 def client_secret @client_secret end |
#scopes ⇒ Array<String>
Corresponds to the JSON property scopes
3021 3022 3023 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3021 def scopes @scopes end |
#secret_version_for_client_secret ⇒ String
Corresponds to the JSON property secretVersionForClientSecret
3026 3027 3028 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3026 def secret_version_for_client_secret @secret_version_for_client_secret end |
#token_endpoint ⇒ String
Corresponds to the JSON property tokenEndpoint
3031 3032 3033 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3031 def token_endpoint @token_endpoint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3038 3039 3040 3041 3042 3043 3044 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3038 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 |