Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1WebhookGenericWebService

Returns a new instance of GoogleCloudDialogflowCxV3beta1WebhookGenericWebService.



12674
12675
12676
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12674

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

Instance Attribute Details

#allowed_ca_certsArray<String>

Corresponds to the JSON property allowedCaCerts

Returns:

  • (Array<String>)


12607
12608
12609
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12607

def allowed_ca_certs
  @allowed_ca_certs
end

#http_methodString

Corresponds to the JSON property httpMethod

Returns:

  • (String)


12612
12613
12614
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12612

def http_method
  @http_method
end

#oauth_configGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig

Corresponds to the JSON property oauthConfig



12617
12618
12619
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12617

def oauth_config
  @oauth_config
end

#parameter_mappingHash<String,String>

Corresponds to the JSON property parameterMapping

Returns:

  • (Hash<String,String>)


12622
12623
12624
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12622

def parameter_mapping
  @parameter_mapping
end

#passwordString

Corresponds to the JSON property password

Returns:

  • (String)


12627
12628
12629
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12627

def password
  @password
end

#request_bodyString

Corresponds to the JSON property requestBody

Returns:

  • (String)


12632
12633
12634
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12632

def request_body
  @request_body
end

#request_headersHash<String,String>

Corresponds to the JSON property requestHeaders

Returns:

  • (Hash<String,String>)


12637
12638
12639
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12637

def request_headers
  @request_headers
end

#secret_version_for_username_passwordString

Corresponds to the JSON property secretVersionForUsernamePassword

Returns:

  • (String)


12642
12643
12644
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12642

def secret_version_for_username_password
  @secret_version_for_username_password
end

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

Corresponds to the JSON property secretVersionsForRequestHeaders



12647
12648
12649
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12647

def secret_versions_for_request_headers
  @secret_versions_for_request_headers
end

#service_account_auth_configGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig

Corresponds to the JSON property serviceAccountAuthConfig



12652
12653
12654
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12652

def 
  @service_account_auth_config
end

#service_agent_authString

Corresponds to the JSON property serviceAgentAuth

Returns:

  • (String)


12657
12658
12659
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12657

def service_agent_auth
  @service_agent_auth
end

#uriString

Corresponds to the JSON property uri

Returns:

  • (String)


12662
12663
12664
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12662

def uri
  @uri
end

#usernameString

Corresponds to the JSON property username

Returns:

  • (String)


12667
12668
12669
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12667

def username
  @username
end

#webhook_typeString

Corresponds to the JSON property webhookType

Returns:

  • (String)


12672
12673
12674
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12672

def webhook_type
  @webhook_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12679

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