Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CreateCallMatcherRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CreateCallMatcherRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Overview
The request message for Conversations.CreateCallMatcher.
Instance Attribute Summary collapse
-
#call_matcher ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CallMatcher
Represents a call matcher that describes criteria for matching incoming SIP calls to a conversation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2CreateCallMatcherRequest
constructor
A new instance of GoogleCloudDialogflowV2CreateCallMatcherRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2CreateCallMatcherRequest
Returns a new instance of GoogleCloudDialogflowV2CreateCallMatcherRequest.
5953 5954 5955 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5953 def initialize(**args) update!(**args) end |
Instance Attribute Details
#call_matcher ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CallMatcher
Represents a call matcher that describes criteria for matching incoming SIP
calls to a conversation. When Dialogflow get a SIP call from a third-party
carrier, Dialogflow matches the call to an existing conversation by either: *
Extracting the conversation id from the Call-Info header, e.g. Call-Info: ;purpose=Goog-ContactCenter-
Conversation. * Or, if that doesn't work, matching incoming SIP headers against any CallMatcher for
the conversation. If an incoming SIP call without valid Call-Info header
matches to zero or multiple conversations with CallMatcher, we reject it. A
call matcher contains equality conditions for SIP headers that all have to be
fulfilled in order for a SIP call to match. The matched SIP headers consist of
well-known headers (To, From, Call-ID) and custom headers. A CallMatcher
is only valid if it specifies: * At least 1 custom header, * or at least 2
well-known headers.
Corresponds to the JSON property callMatcher
5951 5952 5953 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5951 def call_matcher @call_matcher end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5958 5959 5960 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5958 def update!(**args) @call_matcher = args[:call_matcher] if args.key?(:call_matcher) end |