Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Instance Attribute Summary collapse
-
#allowed_ca_certs ⇒ Array<String>
Corresponds to the JSON property
allowedCaCerts. -
#http_method ⇒ String
Corresponds to the JSON property
httpMethod. -
#oauth_config ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig
Corresponds to the JSON property
oauthConfig. -
#parameter_mapping ⇒ Hash<String,String>
Corresponds to the JSON property
parameterMapping. -
#password ⇒ String
Corresponds to the JSON property
password. -
#request_body ⇒ String
Corresponds to the JSON property
requestBody. -
#request_headers ⇒ Hash<String,String>
Corresponds to the JSON property
requestHeaders. -
#secret_version_for_username_password ⇒ String
Corresponds to the JSON property
secretVersionForUsernamePassword. -
#secret_versions_for_request_headers ⇒ Hash<String,Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue>
Corresponds to the JSON property
secretVersionsForRequestHeaders. -
#service_account_auth_config ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig
Corresponds to the JSON property
serviceAccountAuthConfig. -
#service_agent_auth ⇒ String
Corresponds to the JSON property
serviceAgentAuth. -
#uri ⇒ String
Corresponds to the JSON property
uri. -
#username ⇒ String
Corresponds to the JSON property
username. -
#webhook_type ⇒ String
Corresponds to the JSON property
webhookType.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
constructor
A new instance of GoogleCloudDialogflowCxV3beta1WebhookGenericWebService.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
Returns a new instance of GoogleCloudDialogflowCxV3beta1WebhookGenericWebService.
14109 14110 14111 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14109 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_ca_certs ⇒ Array<String>
Corresponds to the JSON property allowedCaCerts
14042 14043 14044 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14042 def allowed_ca_certs @allowed_ca_certs end |
#http_method ⇒ String
Corresponds to the JSON property httpMethod
14047 14048 14049 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14047 def http_method @http_method end |
#oauth_config ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig
Corresponds to the JSON property oauthConfig
14052 14053 14054 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14052 def oauth_config @oauth_config end |
#parameter_mapping ⇒ Hash<String,String>
Corresponds to the JSON property parameterMapping
14057 14058 14059 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14057 def parameter_mapping @parameter_mapping end |
#password ⇒ String
Corresponds to the JSON property password
14062 14063 14064 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14062 def password @password end |
#request_body ⇒ String
Corresponds to the JSON property requestBody
14067 14068 14069 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14067 def request_body @request_body end |
#request_headers ⇒ Hash<String,String>
Corresponds to the JSON property requestHeaders
14072 14073 14074 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14072 def request_headers @request_headers end |
#secret_version_for_username_password ⇒ String
Corresponds to the JSON property secretVersionForUsernamePassword
14077 14078 14079 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14077 def secret_version_for_username_password @secret_version_for_username_password end |
#secret_versions_for_request_headers ⇒ Hash<String,Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue>
Corresponds to the JSON property secretVersionsForRequestHeaders
14082 14083 14084 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14082 def secret_versions_for_request_headers @secret_versions_for_request_headers end |
#service_account_auth_config ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig
Corresponds to the JSON property serviceAccountAuthConfig
14087 14088 14089 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14087 def service_account_auth_config @service_account_auth_config end |
#service_agent_auth ⇒ String
Corresponds to the JSON property serviceAgentAuth
14092 14093 14094 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14092 def service_agent_auth @service_agent_auth end |
#uri ⇒ String
Corresponds to the JSON property uri
14097 14098 14099 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14097 def uri @uri end |
#username ⇒ String
Corresponds to the JSON property username
14102 14103 14104 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14102 def username @username end |
#webhook_type ⇒ String
Corresponds to the JSON property webhookType
14107 14108 14109 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14107 def webhook_type @webhook_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14114 14115 14116 14117 14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14114 def update!(**args) @allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs) @http_method = args[:http_method] if args.key?(:http_method) @oauth_config = args[:oauth_config] if args.key?(:oauth_config) @parameter_mapping = args[:parameter_mapping] if args.key?(:parameter_mapping) @password = args[:password] if args.key?(:password) @request_body = args[:request_body] if args.key?(:request_body) @request_headers = args[:request_headers] if args.key?(:request_headers) @secret_version_for_username_password = args[:secret_version_for_username_password] if args.key?(:secret_version_for_username_password) @secret_versions_for_request_headers = args[:secret_versions_for_request_headers] if args.key?(:secret_versions_for_request_headers) @service_account_auth_config = args[:service_account_auth_config] if args.key?(:service_account_auth_config) @service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth) @uri = args[:uri] if args.key?(:uri) @username = args[:username] if args.key?(:username) @webhook_type = args[:webhook_type] if args.key?(:webhook_type) end |