Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1WebhookGenericWebService

Returns a new instance of GoogleCloudDialogflowCxV3beta1WebhookGenericWebService.



6343
6344
6345
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6343

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#allowed_ca_certsArray<String>

Corresponds to the JSON property allowedCaCerts

Returns:

  • (Array<String>)


6276
6277
6278
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6276

def allowed_ca_certs
  @allowed_ca_certs
end

#http_methodString

Corresponds to the JSON property httpMethod

Returns:

  • (String)


6281
6282
6283
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6281

def http_method
  @http_method
end

#oauth_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig

Corresponds to the JSON property oauthConfig



6286
6287
6288
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6286

def oauth_config
  @oauth_config
end

#parameter_mappingHash<String,String>

Corresponds to the JSON property parameterMapping

Returns:

  • (Hash<String,String>)


6291
6292
6293
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6291

def parameter_mapping
  @parameter_mapping
end

#passwordString

Corresponds to the JSON property password

Returns:

  • (String)


6296
6297
6298
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6296

def password
  @password
end

#request_bodyString

Corresponds to the JSON property requestBody

Returns:

  • (String)


6301
6302
6303
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6301

def request_body
  @request_body
end

#request_headersHash<String,String>

Corresponds to the JSON property requestHeaders

Returns:

  • (Hash<String,String>)


6306
6307
6308
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6306

def request_headers
  @request_headers
end

#secret_version_for_username_passwordString

Corresponds to the JSON property secretVersionForUsernamePassword

Returns:

  • (String)


6311
6312
6313
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6311

def secret_version_for_username_password
  @secret_version_for_username_password
end

#secret_versions_for_request_headersHash<String,Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue>

Corresponds to the JSON property secretVersionsForRequestHeaders



6316
6317
6318
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6316

def secret_versions_for_request_headers
  @secret_versions_for_request_headers
end

#service_account_auth_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig

Corresponds to the JSON property serviceAccountAuthConfig



6321
6322
6323
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6321

def 
  @service_account_auth_config
end

#service_agent_authString

Corresponds to the JSON property serviceAgentAuth

Returns:

  • (String)


6326
6327
6328
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6326

def service_agent_auth
  @service_agent_auth
end

#uriString

Corresponds to the JSON property uri

Returns:

  • (String)


6331
6332
6333
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6331

def uri
  @uri
end

#usernameString

Corresponds to the JSON property username

Returns:

  • (String)


6336
6337
6338
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6336

def username
  @username
end

#webhook_typeString

Corresponds to the JSON property webhookType

Returns:

  • (String)


6341
6342
6343
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6341

def webhook_type
  @webhook_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6348

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