Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebService
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebService
- 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
-
#allowed_ca_certs ⇒ Array<String>
Corresponds to the JSON property
allowedCaCerts. -
#http_method ⇒ String
Corresponds to the JSON property
httpMethod. -
#oauth_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
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::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue>
Corresponds to the JSON property
secretVersionsForRequestHeaders. -
#service_account_auth_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig
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) ⇒ GoogleCloudDialogflowCxV3WebhookGenericWebService
constructor
A new instance of GoogleCloudDialogflowCxV3WebhookGenericWebService.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3WebhookGenericWebService
Returns a new instance of GoogleCloudDialogflowCxV3WebhookGenericWebService.
2993 2994 2995 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2993 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_ca_certs ⇒ Array<String>
Corresponds to the JSON property allowedCaCerts
2926 2927 2928 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2926 def allowed_ca_certs @allowed_ca_certs end |
#http_method ⇒ String
Corresponds to the JSON property httpMethod
2931 2932 2933 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2931 def http_method @http_method end |
#oauth_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
Corresponds to the JSON property oauthConfig
2936 2937 2938 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2936 def oauth_config @oauth_config end |
#parameter_mapping ⇒ Hash<String,String>
Corresponds to the JSON property parameterMapping
2941 2942 2943 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2941 def parameter_mapping @parameter_mapping end |
#password ⇒ String
Corresponds to the JSON property password
2946 2947 2948 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2946 def password @password end |
#request_body ⇒ String
Corresponds to the JSON property requestBody
2951 2952 2953 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2951 def request_body @request_body end |
#request_headers ⇒ Hash<String,String>
Corresponds to the JSON property requestHeaders
2956 2957 2958 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2956 def request_headers @request_headers end |
#secret_version_for_username_password ⇒ String
Corresponds to the JSON property secretVersionForUsernamePassword
2961 2962 2963 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2961 def secret_version_for_username_password @secret_version_for_username_password end |
#secret_versions_for_request_headers ⇒ Hash<String,Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue>
Corresponds to the JSON property secretVersionsForRequestHeaders
2966 2967 2968 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2966 def secret_versions_for_request_headers @secret_versions_for_request_headers end |
#service_account_auth_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig
Corresponds to the JSON property serviceAccountAuthConfig
2971 2972 2973 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2971 def service_account_auth_config @service_account_auth_config end |
#service_agent_auth ⇒ String
Corresponds to the JSON property serviceAgentAuth
2976 2977 2978 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2976 def service_agent_auth @service_agent_auth end |
#uri ⇒ String
Corresponds to the JSON property uri
2981 2982 2983 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2981 def uri @uri end |
#username ⇒ String
Corresponds to the JSON property username
2986 2987 2988 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2986 def username @username end |
#webhook_type ⇒ String
Corresponds to the JSON property webhookType
2991 2992 2993 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2991 def webhook_type @webhook_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2998 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 |