google-apis-dialogflow_v2beta1 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6e67aae03dd00438ed40c1edcc481cc7a00ca1eb033e6c5a2545c1b060dc49b
4
- data.tar.gz: fc59bd24e4c7bfc54d138d904e24fa03b920e4a7ac30c5d33a4583723de2095f
3
+ metadata.gz: 9dede877f74b00254766c02316307771f46aa98bca6912189a80ab625fbfe1ba
4
+ data.tar.gz: 024c615e9eeec6ac09b389213d4abd99414ad9d8daa1da530455c2bf495f7e8d
5
5
  SHA512:
6
- metadata.gz: a2e77818b3b30e9a509a3151bf9c004bc3834ceae43b921710491b97126043662b206b0475713f876299a9fc771f0e3f9ca00a312ab1bd883983902bf73f4fb1
7
- data.tar.gz: 8e8c41e9c9d44dd86b31c7bc487144722907beaaa701f9abc5364f35bfb10cde6472c42286df03168c93c4dead58dc1026819a887c402bc38df91cde10769962
6
+ metadata.gz: 1cb9059534b09f37d3ac28c5bcddeed56156f5b689ef89349248df8f63e28e24fd5e6abccfceb9c3ee15afe75253d5763f0942d989ccb940d59b20bd80905c97
7
+ data.tar.gz: 5b83bbf1982a0529b4fdd83ee81a29418220bec112527141c46a069b8a880247e9a5046066a1e8cde50e7ec42be819e76628aca71878f86c1359c1400a9821d8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
2
2
 
3
+ ### v0.8.0 (2021-03-19)
4
+
5
+ * Regenerated from discovery document revision 20210318
6
+
3
7
  ### v0.7.0 (2021-03-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20210307
@@ -7316,16 +7316,6 @@ module Google
7316
7316
  class GoogleCloudDialogflowV2beta1AnalyzeContentRequest
7317
7317
  include Google::Apis::Core::Hashable
7318
7318
 
7319
- # Represents the natural language speech audio to be processed.
7320
- # Corresponds to the JSON property `audio`
7321
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudio]
7322
- attr_accessor :audio
7323
-
7324
- # Represents the natural language speech audio to be processed.
7325
- # Corresponds to the JSON property `audioInput`
7326
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AudioInput]
7327
- attr_accessor :audio_input
7328
-
7329
7319
  # Events allow for matching intents by event name instead of the natural
7330
7320
  # language input. For instance, input `` can trigger a personalized welcome
7331
7321
  # response. The parameter `name` may be used by the agent in the response: `"
@@ -7366,11 +7356,6 @@ module Google
7366
7356
  # @return [String]
7367
7357
  attr_accessor :request_id
7368
7358
 
7369
- # Represents the natural language text to be processed.
7370
- # Corresponds to the JSON property `text`
7371
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputText]
7372
- attr_accessor :text
7373
-
7374
7359
  # Represents the natural language text to be processed.
7375
7360
  # Corresponds to the JSON property `textInput`
7376
7361
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput]
@@ -7382,14 +7367,11 @@ module Google
7382
7367
 
7383
7368
  # Update properties of this object
7384
7369
  def update!(**args)
7385
- @audio = args[:audio] if args.key?(:audio)
7386
- @audio_input = args[:audio_input] if args.key?(:audio_input)
7387
7370
  @event_input = args[:event_input] if args.key?(:event_input)
7388
7371
  @message_send_time = args[:message_send_time] if args.key?(:message_send_time)
7389
7372
  @query_params = args[:query_params] if args.key?(:query_params)
7390
7373
  @reply_audio_config = args[:reply_audio_config] if args.key?(:reply_audio_config)
7391
7374
  @request_id = args[:request_id] if args.key?(:request_id)
7392
- @text = args[:text] if args.key?(:text)
7393
7375
  @text_input = args[:text_input] if args.key?(:text_input)
7394
7376
  end
7395
7377
  end
@@ -7635,34 +7617,6 @@ module Google
7635
7617
  end
7636
7618
  end
7637
7619
 
7638
- # Represents the natural language speech audio to be processed.
7639
- class GoogleCloudDialogflowV2beta1AudioInput
7640
- include Google::Apis::Core::Hashable
7641
-
7642
- # Required. The natural language speech audio to be processed. A single request
7643
- # can contain up to 1 minute of speech audio data. The transcribed text cannot
7644
- # contain more than 256 bytes.
7645
- # Corresponds to the JSON property `audio`
7646
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
7647
- # @return [String]
7648
- attr_accessor :audio
7649
-
7650
- # Instructs the speech recognizer on how to process the audio content.
7651
- # Corresponds to the JSON property `config`
7652
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig]
7653
- attr_accessor :config
7654
-
7655
- def initialize(**args)
7656
- update!(**args)
7657
- end
7658
-
7659
- # Update properties of this object
7660
- def update!(**args)
7661
- @audio = args[:audio] if args.key?(:audio)
7662
- @config = args[:config] if args.key?(:config)
7663
- end
7664
- end
7665
-
7666
7620
  # Defines the Automated Agent to connect to a conversation.
7667
7621
  class GoogleCloudDialogflowV2beta1AutomatedAgentConfig
7668
7622
  include Google::Apis::Core::Hashable
@@ -8036,90 +7990,6 @@ module Google
8036
7990
  end
8037
7991
  end
8038
7992
 
8039
- # Represents a call matcher that describes criteria for matching incoming SIP
8040
- # calls to a conversation. When Dialogflow get a SIP call from a third-party
8041
- # carrier, Dialogflow matches the call to an existing conversation by either: *
8042
- # Extracting the conversation id from the [Call-Info header](https://tools.ietf.
8043
- # org/html/rfc3261#section-20.9), e.g. `Call-Info: ;purpose=Goog-ContactCenter-
8044
- # Conversation`. * Or, if that doesn't work, matching incoming [SIP headers](
8045
- # https://tools.ietf.org/html/rfc3261#section-7.3) against any CallMatcher for
8046
- # the conversation. If an incoming SIP call without valid `Call-Info` header
8047
- # matches to zero or multiple conversations with `CallMatcher`, we reject it. A
8048
- # call matcher contains equality conditions for SIP headers that all have to be
8049
- # fulfilled in order for a SIP call to match. The matched SIP headers consist of
8050
- # well-known headers (`To`, `From`, `Call-ID`) and custom headers. A CallMatcher
8051
- # is only valid if it specifies: * At least 1 custom header, * or at least 2
8052
- # well-known headers.
8053
- class GoogleCloudDialogflowV2beta1CallMatcher
8054
- include Google::Apis::Core::Hashable
8055
-
8056
- # Value of the [`Call-ID` header](https://tools.ietf.org/html/rfc3261#section-8.
8057
- # 1.1.4) to match. If empty or unspecified, we don't match to the [`Call-ID`
8058
- # header](https://tools.ietf.org/html/rfc3261#section-8.1.1.4).
8059
- # Corresponds to the JSON property `callIdHeader`
8060
- # @return [String]
8061
- attr_accessor :call_id_header
8062
-
8063
- # Custom SIP headers. See the [description of headers in the RFC](https://tools.
8064
- # ietf.org/html/rfc3261#section-7.3).
8065
- # Corresponds to the JSON property `customHeaders`
8066
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CallMatcherCustomHeaders]
8067
- attr_accessor :custom_headers
8068
-
8069
- # Value of the [`From` header](https://tools.ietf.org/html/rfc3261#section-8.1.1.
8070
- # 3) to match. If empty or unspecified, we don't match to the [`From` header](
8071
- # https://tools.ietf.org/html/rfc3261#section-8.1.1.3).
8072
- # Corresponds to the JSON property `fromHeader`
8073
- # @return [String]
8074
- attr_accessor :from_header
8075
-
8076
- # Output only. The unique identifier of this call matcher. Format: `projects//
8077
- # locations//conversations//callMatchers/`.
8078
- # Corresponds to the JSON property `name`
8079
- # @return [String]
8080
- attr_accessor :name
8081
-
8082
- # Value of the [`To` header](https://tools.ietf.org/html/rfc3261#section-8.1.1.2)
8083
- # to match. If empty or unspecified, we don't match to the [`To` header](https:/
8084
- # /tools.ietf.org/html/rfc3261#section-8.1.1.2).
8085
- # Corresponds to the JSON property `toHeader`
8086
- # @return [String]
8087
- attr_accessor :to_header
8088
-
8089
- def initialize(**args)
8090
- update!(**args)
8091
- end
8092
-
8093
- # Update properties of this object
8094
- def update!(**args)
8095
- @call_id_header = args[:call_id_header] if args.key?(:call_id_header)
8096
- @custom_headers = args[:custom_headers] if args.key?(:custom_headers)
8097
- @from_header = args[:from_header] if args.key?(:from_header)
8098
- @name = args[:name] if args.key?(:name)
8099
- @to_header = args[:to_header] if args.key?(:to_header)
8100
- end
8101
- end
8102
-
8103
- # Custom SIP headers. See the [description of headers in the RFC](https://tools.
8104
- # ietf.org/html/rfc3261#section-7.3).
8105
- class GoogleCloudDialogflowV2beta1CallMatcherCustomHeaders
8106
- include Google::Apis::Core::Hashable
8107
-
8108
- # Cisco's proprietary `Cisco-Guid` header.
8109
- # Corresponds to the JSON property `ciscoGuid`
8110
- # @return [String]
8111
- attr_accessor :cisco_guid
8112
-
8113
- def initialize(**args)
8114
- update!(**args)
8115
- end
8116
-
8117
- # Update properties of this object
8118
- def update!(**args)
8119
- @cisco_guid = args[:cisco_guid] if args.key?(:cisco_guid)
8120
- end
8121
- end
8122
-
8123
7993
  # The request message for Participants.CompileSuggestion.
8124
7994
  class GoogleCloudDialogflowV2beta1CompileSuggestionRequest
8125
7995
  include Google::Apis::Core::Hashable
@@ -8415,12 +8285,6 @@ module Google
8415
8285
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig]
8416
8286
  attr_accessor :human_agent_assistant_config
8417
8287
 
8418
- # Defines the hand off to a live agent, typically on which external agent
8419
- # service provider to connect to a conversation.
8420
- # Corresponds to the JSON property `humanAgentHandoffConfig`
8421
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig]
8422
- attr_accessor :human_agent_handoff_config
8423
-
8424
8288
  # Language code for the conversation profile. If not specified, the language is
8425
8289
  # en-US. Language at ConversationProfile should be set for all non en-us
8426
8290
  # languages.
@@ -8469,7 +8333,6 @@ module Google
8469
8333
  @create_time = args[:create_time] if args.key?(:create_time)
8470
8334
  @display_name = args[:display_name] if args.key?(:display_name)
8471
8335
  @human_agent_assistant_config = args[:human_agent_assistant_config] if args.key?(:human_agent_assistant_config)
8472
- @human_agent_handoff_config = args[:human_agent_handoff_config] if args.key?(:human_agent_handoff_config)
8473
8336
  @language_code = args[:language_code] if args.key?(:language_code)
8474
8337
  @logging_config = args[:logging_config] if args.key?(:logging_config)
8475
8338
  @name = args[:name] if args.key?(:name)
@@ -8480,38 +8343,6 @@ module Google
8480
8343
  end
8481
8344
  end
8482
8345
 
8483
- # The request message for Conversations.CreateCallMatcher.
8484
- class GoogleCloudDialogflowV2beta1CreateCallMatcherRequest
8485
- include Google::Apis::Core::Hashable
8486
-
8487
- # Represents a call matcher that describes criteria for matching incoming SIP
8488
- # calls to a conversation. When Dialogflow get a SIP call from a third-party
8489
- # carrier, Dialogflow matches the call to an existing conversation by either: *
8490
- # Extracting the conversation id from the [Call-Info header](https://tools.ietf.
8491
- # org/html/rfc3261#section-20.9), e.g. `Call-Info: ;purpose=Goog-ContactCenter-
8492
- # Conversation`. * Or, if that doesn't work, matching incoming [SIP headers](
8493
- # https://tools.ietf.org/html/rfc3261#section-7.3) against any CallMatcher for
8494
- # the conversation. If an incoming SIP call without valid `Call-Info` header
8495
- # matches to zero or multiple conversations with `CallMatcher`, we reject it. A
8496
- # call matcher contains equality conditions for SIP headers that all have to be
8497
- # fulfilled in order for a SIP call to match. The matched SIP headers consist of
8498
- # well-known headers (`To`, `From`, `Call-ID`) and custom headers. A CallMatcher
8499
- # is only valid if it specifies: * At least 1 custom header, * or at least 2
8500
- # well-known headers.
8501
- # Corresponds to the JSON property `callMatcher`
8502
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CallMatcher]
8503
- attr_accessor :call_matcher
8504
-
8505
- def initialize(**args)
8506
- update!(**args)
8507
- end
8508
-
8509
- # Update properties of this object
8510
- def update!(**args)
8511
- @call_matcher = args[:call_matcher] if args.key?(:call_matcher)
8512
- end
8513
- end
8514
-
8515
8346
  # The request message to create one Message. Currently it is only used in
8516
8347
  # BatchCreateMessagesRequest.
8517
8348
  class GoogleCloudDialogflowV2beta1CreateMessageRequest
@@ -9303,11 +9134,6 @@ module Google
9303
9134
  class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig
9304
9135
  include Google::Apis::Core::Hashable
9305
9136
 
9306
- # Detail human agent assistant config.
9307
- # Corresponds to the JSON property `endUserSuggestionConfig`
9308
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig]
9309
- attr_accessor :end_user_suggestion_config
9310
-
9311
9137
  # Detail human agent assistant config.
9312
9138
  # Corresponds to the JSON property `humanAgentSuggestionConfig`
9313
9139
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig]
@@ -9329,7 +9155,6 @@ module Google
9329
9155
 
9330
9156
  # Update properties of this object
9331
9157
  def update!(**args)
9332
- @end_user_suggestion_config = args[:end_user_suggestion_config] if args.key?(:end_user_suggestion_config)
9333
9158
  @human_agent_suggestion_config = args[:human_agent_suggestion_config] if args.key?(:human_agent_suggestion_config)
9334
9159
  @message_analysis_config = args[:message_analysis_config] if args.key?(:message_analysis_config)
9335
9160
  @notification_config = args[:notification_config] if args.key?(:notification_config)
@@ -9361,14 +9186,6 @@ module Google
9361
9186
  class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig
9362
9187
  include Google::Apis::Core::Hashable
9363
9188
 
9364
- # Enable entity extraction in conversation messages on [agent assist stage](
9365
- # https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
9366
- # If unspecified, defaults to false.
9367
- # Corresponds to the JSON property `enableEntityExtraction`
9368
- # @return [Boolean]
9369
- attr_accessor :enable_entity_extraction
9370
- alias_method :enable_entity_extraction?, :enable_entity_extraction
9371
-
9372
9189
  # Enable sentiment analysis in conversation messages on [agent assist stage](
9373
9190
  # https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
9374
9191
  # If unspecified, defaults to false. Sentiment analysis inspects user input and
@@ -9393,7 +9210,6 @@ module Google
9393
9210
 
9394
9211
  # Update properties of this object
9395
9212
  def update!(**args)
9396
- @enable_entity_extraction = args[:enable_entity_extraction] if args.key?(:enable_entity_extraction)
9397
9213
  @enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis)
9398
9214
  end
9399
9215
  end
@@ -9703,92 +9519,6 @@ module Google
9703
9519
  end
9704
9520
  end
9705
9521
 
9706
- # Defines the hand off to a live agent, typically on which external agent
9707
- # service provider to connect to a conversation.
9708
- class GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig
9709
- include Google::Apis::Core::Hashable
9710
-
9711
- # Configuration specific to LivePerson (https://www.liveperson.com).
9712
- # Corresponds to the JSON property `livePersonConfig`
9713
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig]
9714
- attr_accessor :live_person_config
9715
-
9716
- # Configuration specific to Salesforce Live Agent.
9717
- # Corresponds to the JSON property `salesforceLiveAgentConfig`
9718
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig]
9719
- attr_accessor :salesforce_live_agent_config
9720
-
9721
- def initialize(**args)
9722
- update!(**args)
9723
- end
9724
-
9725
- # Update properties of this object
9726
- def update!(**args)
9727
- @live_person_config = args[:live_person_config] if args.key?(:live_person_config)
9728
- @salesforce_live_agent_config = args[:salesforce_live_agent_config] if args.key?(:salesforce_live_agent_config)
9729
- end
9730
- end
9731
-
9732
- # Configuration specific to LivePerson (https://www.liveperson.com).
9733
- class GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig
9734
- include Google::Apis::Core::Hashable
9735
-
9736
- # Required. Account number of the LivePerson account to connect. This is the
9737
- # account number you input at the login page.
9738
- # Corresponds to the JSON property `accountNumber`
9739
- # @return [String]
9740
- attr_accessor :account_number
9741
-
9742
- def initialize(**args)
9743
- update!(**args)
9744
- end
9745
-
9746
- # Update properties of this object
9747
- def update!(**args)
9748
- @account_number = args[:account_number] if args.key?(:account_number)
9749
- end
9750
- end
9751
-
9752
- # Configuration specific to Salesforce Live Agent.
9753
- class GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig
9754
- include Google::Apis::Core::Hashable
9755
-
9756
- # Required. Live Agent chat button ID.
9757
- # Corresponds to the JSON property `buttonId`
9758
- # @return [String]
9759
- attr_accessor :button_id
9760
-
9761
- # Required. Live Agent deployment ID.
9762
- # Corresponds to the JSON property `deploymentId`
9763
- # @return [String]
9764
- attr_accessor :deployment_id
9765
-
9766
- # Required. Domain of the Live Agent endpoint for this agent. You can find the
9767
- # endpoint URL in the `Live Agent settings` page. For example if URL has the
9768
- # form https://d.la4-c2-phx.salesforceliveagent.com/..., you should fill in d.
9769
- # la4-c2-phx.salesforceliveagent.com.
9770
- # Corresponds to the JSON property `endpointDomain`
9771
- # @return [String]
9772
- attr_accessor :endpoint_domain
9773
-
9774
- # Required. The organization ID of the Salesforce account.
9775
- # Corresponds to the JSON property `organizationId`
9776
- # @return [String]
9777
- attr_accessor :organization_id
9778
-
9779
- def initialize(**args)
9780
- update!(**args)
9781
- end
9782
-
9783
- # Update properties of this object
9784
- def update!(**args)
9785
- @button_id = args[:button_id] if args.key?(:button_id)
9786
- @deployment_id = args[:deployment_id] if args.key?(:deployment_id)
9787
- @endpoint_domain = args[:endpoint_domain] if args.key?(:endpoint_domain)
9788
- @organization_id = args[:organization_id] if args.key?(:organization_id)
9789
- end
9790
- end
9791
-
9792
9522
  # The request message for Agents.ImportAgent.
9793
9523
  class GoogleCloudDialogflowV2beta1ImportAgentRequest
9794
9524
  include Google::Apis::Core::Hashable
@@ -9902,34 +9632,6 @@ module Google
9902
9632
  end
9903
9633
  end
9904
9634
 
9905
- # Represents the natural language speech audio to be processed.
9906
- class GoogleCloudDialogflowV2beta1InputAudio
9907
- include Google::Apis::Core::Hashable
9908
-
9909
- # Required. The natural language speech audio to be processed. A single request
9910
- # can contain up to 1 minute of speech audio data. The transcribed text cannot
9911
- # contain more than 256 bytes.
9912
- # Corresponds to the JSON property `audio`
9913
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
9914
- # @return [String]
9915
- attr_accessor :audio
9916
-
9917
- # Instructs the speech recognizer on how to process the audio content.
9918
- # Corresponds to the JSON property `config`
9919
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig]
9920
- attr_accessor :config
9921
-
9922
- def initialize(**args)
9923
- update!(**args)
9924
- end
9925
-
9926
- # Update properties of this object
9927
- def update!(**args)
9928
- @audio = args[:audio] if args.key?(:audio)
9929
- @config = args[:config] if args.key?(:config)
9930
- end
9931
- end
9932
-
9933
9635
  # Instructs the speech recognizer on how to process the audio content.
9934
9636
  class GoogleCloudDialogflowV2beta1InputAudioConfig
9935
9637
  include Google::Apis::Core::Hashable
@@ -10038,34 +9740,6 @@ module Google
10038
9740
  end
10039
9741
  end
10040
9742
 
10041
- # Represents the natural language text to be processed.
10042
- class GoogleCloudDialogflowV2beta1InputText
10043
- include Google::Apis::Core::Hashable
10044
-
10045
- # Required. The language of this conversational query. See [Language Support](
10046
- # https://cloud.google.com/dialogflow/docs/reference/language) for a list of the
10047
- # currently supported language codes.
10048
- # Corresponds to the JSON property `languageCode`
10049
- # @return [String]
10050
- attr_accessor :language_code
10051
-
10052
- # Required. The UTF-8 encoded natural language text to be processed. Text length
10053
- # must not exceed 256 bytes.
10054
- # Corresponds to the JSON property `text`
10055
- # @return [String]
10056
- attr_accessor :text
10057
-
10058
- def initialize(**args)
10059
- update!(**args)
10060
- end
10061
-
10062
- # Update properties of this object
10063
- def update!(**args)
10064
- @language_code = args[:language_code] if args.key?(:language_code)
10065
- @text = args[:text] if args.key?(:text)
10066
- end
10067
- end
10068
-
10069
9743
  # An intent categorizes an end-user's intention for one conversation turn. For
10070
9744
  # each agent, you define many intents, where your combined intents can handle a
10071
9745
  # complete conversation. When an end-user writes or says something, referred to
@@ -11971,33 +11645,6 @@ module Google
11971
11645
  end
11972
11646
  end
11973
11647
 
11974
- # The response message for Conversations.ListCallMatchers.
11975
- class GoogleCloudDialogflowV2beta1ListCallMatchersResponse
11976
- include Google::Apis::Core::Hashable
11977
-
11978
- # The list of call matchers. There is a maximum number of items returned based
11979
- # on the page_size field in the request.
11980
- # Corresponds to the JSON property `callMatchers`
11981
- # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CallMatcher>]
11982
- attr_accessor :call_matchers
11983
-
11984
- # Token to retrieve the next page of results or empty if there are no more
11985
- # results in the list.
11986
- # Corresponds to the JSON property `nextPageToken`
11987
- # @return [String]
11988
- attr_accessor :next_page_token
11989
-
11990
- def initialize(**args)
11991
- update!(**args)
11992
- end
11993
-
11994
- # Update properties of this object
11995
- def update!(**args)
11996
- @call_matchers = args[:call_matchers] if args.key?(:call_matchers)
11997
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
11998
- end
11999
- end
12000
-
12001
11648
  # The response message for Contexts.ListContexts.
12002
11649
  class GoogleCloudDialogflowV2beta1ListContextsResponse
12003
11650
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2beta1
18
18
  # Version of the google-apis-dialogflow_v2beta1 gem
19
- GEM_VERSION = "0.7.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210307"
25
+ REVISION = "20210318"
26
26
  end
27
27
  end
28
28
  end
@@ -1246,12 +1246,6 @@ module Google
1246
1246
  include Google::Apis::Core::JsonObjectSupport
1247
1247
  end
1248
1248
 
1249
- class GoogleCloudDialogflowV2beta1AudioInput
1250
- class Representation < Google::Apis::Core::JsonRepresentation; end
1251
-
1252
- include Google::Apis::Core::JsonObjectSupport
1253
- end
1254
-
1255
1249
  class GoogleCloudDialogflowV2beta1AutomatedAgentConfig
1256
1250
  class Representation < Google::Apis::Core::JsonRepresentation; end
1257
1251
 
@@ -1330,18 +1324,6 @@ module Google
1330
1324
  include Google::Apis::Core::JsonObjectSupport
1331
1325
  end
1332
1326
 
1333
- class GoogleCloudDialogflowV2beta1CallMatcher
1334
- class Representation < Google::Apis::Core::JsonRepresentation; end
1335
-
1336
- include Google::Apis::Core::JsonObjectSupport
1337
- end
1338
-
1339
- class GoogleCloudDialogflowV2beta1CallMatcherCustomHeaders
1340
- class Representation < Google::Apis::Core::JsonRepresentation; end
1341
-
1342
- include Google::Apis::Core::JsonObjectSupport
1343
- end
1344
-
1345
1327
  class GoogleCloudDialogflowV2beta1CompileSuggestionRequest
1346
1328
  class Representation < Google::Apis::Core::JsonRepresentation; end
1347
1329
 
@@ -1390,12 +1372,6 @@ module Google
1390
1372
  include Google::Apis::Core::JsonObjectSupport
1391
1373
  end
1392
1374
 
1393
- class GoogleCloudDialogflowV2beta1CreateCallMatcherRequest
1394
- class Representation < Google::Apis::Core::JsonRepresentation; end
1395
-
1396
- include Google::Apis::Core::JsonObjectSupport
1397
- end
1398
-
1399
1375
  class GoogleCloudDialogflowV2beta1CreateMessageRequest
1400
1376
  class Representation < Google::Apis::Core::JsonRepresentation; end
1401
1377
 
@@ -1582,24 +1558,6 @@ module Google
1582
1558
  include Google::Apis::Core::JsonObjectSupport
1583
1559
  end
1584
1560
 
1585
- class GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig
1586
- class Representation < Google::Apis::Core::JsonRepresentation; end
1587
-
1588
- include Google::Apis::Core::JsonObjectSupport
1589
- end
1590
-
1591
- class GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig
1592
- class Representation < Google::Apis::Core::JsonRepresentation; end
1593
-
1594
- include Google::Apis::Core::JsonObjectSupport
1595
- end
1596
-
1597
- class GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig
1598
- class Representation < Google::Apis::Core::JsonRepresentation; end
1599
-
1600
- include Google::Apis::Core::JsonObjectSupport
1601
- end
1602
-
1603
1561
  class GoogleCloudDialogflowV2beta1ImportAgentRequest
1604
1562
  class Representation < Google::Apis::Core::JsonRepresentation; end
1605
1563
 
@@ -1624,24 +1582,12 @@ module Google
1624
1582
  include Google::Apis::Core::JsonObjectSupport
1625
1583
  end
1626
1584
 
1627
- class GoogleCloudDialogflowV2beta1InputAudio
1628
- class Representation < Google::Apis::Core::JsonRepresentation; end
1629
-
1630
- include Google::Apis::Core::JsonObjectSupport
1631
- end
1632
-
1633
1585
  class GoogleCloudDialogflowV2beta1InputAudioConfig
1634
1586
  class Representation < Google::Apis::Core::JsonRepresentation; end
1635
1587
 
1636
1588
  include Google::Apis::Core::JsonObjectSupport
1637
1589
  end
1638
1590
 
1639
- class GoogleCloudDialogflowV2beta1InputText
1640
- class Representation < Google::Apis::Core::JsonRepresentation; end
1641
-
1642
- include Google::Apis::Core::JsonObjectSupport
1643
- end
1644
-
1645
1591
  class GoogleCloudDialogflowV2beta1Intent
1646
1592
  class Representation < Google::Apis::Core::JsonRepresentation; end
1647
1593
 
@@ -1960,12 +1906,6 @@ module Google
1960
1906
  include Google::Apis::Core::JsonObjectSupport
1961
1907
  end
1962
1908
 
1963
- class GoogleCloudDialogflowV2beta1ListCallMatchersResponse
1964
- class Representation < Google::Apis::Core::JsonRepresentation; end
1965
-
1966
- include Google::Apis::Core::JsonObjectSupport
1967
- end
1968
-
1969
1909
  class GoogleCloudDialogflowV2beta1ListContextsResponse
1970
1910
  class Representation < Google::Apis::Core::JsonRepresentation; end
1971
1911
 
@@ -4389,10 +4329,6 @@ module Google
4389
4329
  class GoogleCloudDialogflowV2beta1AnalyzeContentRequest
4390
4330
  # @private
4391
4331
  class Representation < Google::Apis::Core::JsonRepresentation
4392
- property :audio, as: 'audio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudio::Representation
4393
-
4394
- property :audio_input, as: 'audioInput', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AudioInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AudioInput::Representation
4395
-
4396
4332
  property :event_input, as: 'eventInput', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput::Representation
4397
4333
 
4398
4334
  property :message_send_time, as: 'messageSendTime'
@@ -4401,8 +4337,6 @@ module Google
4401
4337
  property :reply_audio_config, as: 'replyAudioConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig::Representation
4402
4338
 
4403
4339
  property :request_id, as: 'requestId'
4404
- property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputText::Representation
4405
-
4406
4340
  property :text_input, as: 'textInput', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput::Representation
4407
4341
 
4408
4342
  end
@@ -4471,15 +4405,6 @@ module Google
4471
4405
  end
4472
4406
  end
4473
4407
 
4474
- class GoogleCloudDialogflowV2beta1AudioInput
4475
- # @private
4476
- class Representation < Google::Apis::Core::JsonRepresentation
4477
- property :audio, :base64 => true, as: 'audio'
4478
- property :config, as: 'config', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig::Representation
4479
-
4480
- end
4481
- end
4482
-
4483
4408
  class GoogleCloudDialogflowV2beta1AutomatedAgentConfig
4484
4409
  # @private
4485
4410
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4597,25 +4522,6 @@ module Google
4597
4522
  end
4598
4523
  end
4599
4524
 
4600
- class GoogleCloudDialogflowV2beta1CallMatcher
4601
- # @private
4602
- class Representation < Google::Apis::Core::JsonRepresentation
4603
- property :call_id_header, as: 'callIdHeader'
4604
- property :custom_headers, as: 'customHeaders', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CallMatcherCustomHeaders, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CallMatcherCustomHeaders::Representation
4605
-
4606
- property :from_header, as: 'fromHeader'
4607
- property :name, as: 'name'
4608
- property :to_header, as: 'toHeader'
4609
- end
4610
- end
4611
-
4612
- class GoogleCloudDialogflowV2beta1CallMatcherCustomHeaders
4613
- # @private
4614
- class Representation < Google::Apis::Core::JsonRepresentation
4615
- property :cisco_guid, as: 'ciscoGuid'
4616
- end
4617
- end
4618
-
4619
4525
  class GoogleCloudDialogflowV2beta1CompileSuggestionRequest
4620
4526
  # @private
4621
4527
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4691,8 +4597,6 @@ module Google
4691
4597
  property :display_name, as: 'displayName'
4692
4598
  property :human_agent_assistant_config, as: 'humanAgentAssistantConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig::Representation
4693
4599
 
4694
- property :human_agent_handoff_config, as: 'humanAgentHandoffConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig::Representation
4695
-
4696
4600
  property :language_code, as: 'languageCode'
4697
4601
  property :logging_config, as: 'loggingConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1LoggingConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1LoggingConfig::Representation
4698
4602
 
@@ -4707,14 +4611,6 @@ module Google
4707
4611
  end
4708
4612
  end
4709
4613
 
4710
- class GoogleCloudDialogflowV2beta1CreateCallMatcherRequest
4711
- # @private
4712
- class Representation < Google::Apis::Core::JsonRepresentation
4713
- property :call_matcher, as: 'callMatcher', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CallMatcher, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CallMatcher::Representation
4714
-
4715
- end
4716
- end
4717
-
4718
4614
  class GoogleCloudDialogflowV2beta1CreateMessageRequest
4719
4615
  # @private
4720
4616
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4911,8 +4807,6 @@ module Google
4911
4807
  class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig
4912
4808
  # @private
4913
4809
  class Representation < Google::Apis::Core::JsonRepresentation
4914
- property :end_user_suggestion_config, as: 'endUserSuggestionConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig::Representation
4915
-
4916
4810
  property :human_agent_suggestion_config, as: 'humanAgentSuggestionConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig::Representation
4917
4811
 
4918
4812
  property :message_analysis_config, as: 'messageAnalysisConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig::Representation
@@ -4932,7 +4826,6 @@ module Google
4932
4826
  class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig
4933
4827
  # @private
4934
4828
  class Representation < Google::Apis::Core::JsonRepresentation
4935
- property :enable_entity_extraction, as: 'enableEntityExtraction'
4936
4829
  property :enable_sentiment_analysis, as: 'enableSentimentAnalysis'
4937
4830
  end
4938
4831
  end
@@ -5025,33 +4918,6 @@ module Google
5025
4918
  end
5026
4919
  end
5027
4920
 
5028
- class GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig
5029
- # @private
5030
- class Representation < Google::Apis::Core::JsonRepresentation
5031
- property :live_person_config, as: 'livePersonConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig::Representation
5032
-
5033
- property :salesforce_live_agent_config, as: 'salesforceLiveAgentConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig::Representation
5034
-
5035
- end
5036
- end
5037
-
5038
- class GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig
5039
- # @private
5040
- class Representation < Google::Apis::Core::JsonRepresentation
5041
- property :account_number, as: 'accountNumber'
5042
- end
5043
- end
5044
-
5045
- class GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig
5046
- # @private
5047
- class Representation < Google::Apis::Core::JsonRepresentation
5048
- property :button_id, as: 'buttonId'
5049
- property :deployment_id, as: 'deploymentId'
5050
- property :endpoint_domain, as: 'endpointDomain'
5051
- property :organization_id, as: 'organizationId'
5052
- end
5053
- end
5054
-
5055
4921
  class GoogleCloudDialogflowV2beta1ImportAgentRequest
5056
4922
  # @private
5057
4923
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5088,15 +4954,6 @@ module Google
5088
4954
  end
5089
4955
  end
5090
4956
 
5091
- class GoogleCloudDialogflowV2beta1InputAudio
5092
- # @private
5093
- class Representation < Google::Apis::Core::JsonRepresentation
5094
- property :audio, :base64 => true, as: 'audio'
5095
- property :config, as: 'config', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig::Representation
5096
-
5097
- end
5098
- end
5099
-
5100
4957
  class GoogleCloudDialogflowV2beta1InputAudioConfig
5101
4958
  # @private
5102
4959
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5114,14 +4971,6 @@ module Google
5114
4971
  end
5115
4972
  end
5116
4973
 
5117
- class GoogleCloudDialogflowV2beta1InputText
5118
- # @private
5119
- class Representation < Google::Apis::Core::JsonRepresentation
5120
- property :language_code, as: 'languageCode'
5121
- property :text, as: 'text'
5122
- end
5123
- end
5124
-
5125
4974
  class GoogleCloudDialogflowV2beta1Intent
5126
4975
  # @private
5127
4976
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5671,15 +5520,6 @@ module Google
5671
5520
  end
5672
5521
  end
5673
5522
 
5674
- class GoogleCloudDialogflowV2beta1ListCallMatchersResponse
5675
- # @private
5676
- class Representation < Google::Apis::Core::JsonRepresentation
5677
- collection :call_matchers, as: 'callMatchers', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CallMatcher, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CallMatcher::Representation
5678
-
5679
- property :next_page_token, as: 'nextPageToken'
5680
- end
5681
- end
5682
-
5683
5523
  class GoogleCloudDialogflowV2beta1ListContextsResponse
5684
5524
  # @private
5685
5525
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3051,110 +3051,6 @@ module Google
3051
3051
  execute_or_queue_command(command, &block)
3052
3052
  end
3053
3053
 
3054
- # Creates a call matcher that links incoming SIP calls to the specified
3055
- # conversation if they fulfill specified criteria.
3056
- # @param [String] parent
3057
- # Required. Resource identifier of the conversation adding the call matcher.
3058
- # Format: `projects//locations//conversations/`.
3059
- # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CallMatcher] google_cloud_dialogflow_v2beta1_call_matcher_object
3060
- # @param [String] fields
3061
- # Selector specifying which fields to include in a partial response.
3062
- # @param [String] quota_user
3063
- # Available to use for quota purposes for server-side applications. Can be any
3064
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3065
- # @param [Google::Apis::RequestOptions] options
3066
- # Request-specific options
3067
- #
3068
- # @yield [result, err] Result & error if block supplied
3069
- # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CallMatcher] parsed result object
3070
- # @yieldparam err [StandardError] error object if request failed
3071
- #
3072
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CallMatcher]
3073
- #
3074
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3075
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3076
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3077
- def create_project_conversation_call_matcher(parent, google_cloud_dialogflow_v2beta1_call_matcher_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3078
- command = make_simple_command(:post, 'v2beta1/{+parent}/callMatchers', options)
3079
- command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CallMatcher::Representation
3080
- command.request_object = google_cloud_dialogflow_v2beta1_call_matcher_object
3081
- command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CallMatcher::Representation
3082
- command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CallMatcher
3083
- command.params['parent'] = parent unless parent.nil?
3084
- command.query['fields'] = fields unless fields.nil?
3085
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3086
- execute_or_queue_command(command, &block)
3087
- end
3088
-
3089
- # Requests deletion of a call matcher.
3090
- # @param [String] name
3091
- # Required. The unique identifier of the CallMatcher to delete. Format: `
3092
- # projects//locations//conversations//callMatchers/`.
3093
- # @param [String] fields
3094
- # Selector specifying which fields to include in a partial response.
3095
- # @param [String] quota_user
3096
- # Available to use for quota purposes for server-side applications. Can be any
3097
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3098
- # @param [Google::Apis::RequestOptions] options
3099
- # Request-specific options
3100
- #
3101
- # @yield [result, err] Result & error if block supplied
3102
- # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
3103
- # @yieldparam err [StandardError] error object if request failed
3104
- #
3105
- # @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
3106
- #
3107
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3108
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3109
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3110
- def delete_project_conversation_call_matcher(name, fields: nil, quota_user: nil, options: nil, &block)
3111
- command = make_simple_command(:delete, 'v2beta1/{+name}', options)
3112
- command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
3113
- command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
3114
- command.params['name'] = name unless name.nil?
3115
- command.query['fields'] = fields unless fields.nil?
3116
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3117
- execute_or_queue_command(command, &block)
3118
- end
3119
-
3120
- # Returns the list of all call matchers in the specified conversation.
3121
- # @param [String] parent
3122
- # Required. The conversation to list all call matchers from. Format: `projects//
3123
- # locations//conversations/`.
3124
- # @param [Fixnum] page_size
3125
- # Optional. The maximum number of items to return in a single page. By default
3126
- # 100 and at most 1000.
3127
- # @param [String] page_token
3128
- # Optional. The next_page_token value returned from a previous list request.
3129
- # @param [String] fields
3130
- # Selector specifying which fields to include in a partial response.
3131
- # @param [String] quota_user
3132
- # Available to use for quota purposes for server-side applications. Can be any
3133
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3134
- # @param [Google::Apis::RequestOptions] options
3135
- # Request-specific options
3136
- #
3137
- # @yield [result, err] Result & error if block supplied
3138
- # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListCallMatchersResponse] parsed result object
3139
- # @yieldparam err [StandardError] error object if request failed
3140
- #
3141
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListCallMatchersResponse]
3142
- #
3143
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3144
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3145
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3146
- def list_project_conversation_call_matchers(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3147
- command = make_simple_command(:get, 'v2beta1/{+parent}/callMatchers', options)
3148
- command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListCallMatchersResponse::Representation
3149
- command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListCallMatchersResponse
3150
- command.params['parent'] = parent unless parent.nil?
3151
- command.query['pageSize'] = page_size unless page_size.nil?
3152
- command.query['pageToken'] = page_token unless page_token.nil?
3153
- command.query['fields'] = fields unless fields.nil?
3154
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3155
- execute_or_queue_command(command, &block)
3156
- end
3157
-
3158
3054
  # Batch ingests messages to conversation. Customers can use this RPC to ingest
3159
3055
  # historical messages to conversation.
3160
3056
  # @param [String] parent
@@ -6604,110 +6500,6 @@ module Google
6604
6500
  execute_or_queue_command(command, &block)
6605
6501
  end
6606
6502
 
6607
- # Creates a call matcher that links incoming SIP calls to the specified
6608
- # conversation if they fulfill specified criteria.
6609
- # @param [String] parent
6610
- # Required. Resource identifier of the conversation adding the call matcher.
6611
- # Format: `projects//locations//conversations/`.
6612
- # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CreateCallMatcherRequest] google_cloud_dialogflow_v2beta1_create_call_matcher_request_object
6613
- # @param [String] fields
6614
- # Selector specifying which fields to include in a partial response.
6615
- # @param [String] quota_user
6616
- # Available to use for quota purposes for server-side applications. Can be any
6617
- # arbitrary string assigned to a user, but should not exceed 40 characters.
6618
- # @param [Google::Apis::RequestOptions] options
6619
- # Request-specific options
6620
- #
6621
- # @yield [result, err] Result & error if block supplied
6622
- # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CallMatcher] parsed result object
6623
- # @yieldparam err [StandardError] error object if request failed
6624
- #
6625
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CallMatcher]
6626
- #
6627
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6628
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6629
- # @raise [Google::Apis::AuthorizationError] Authorization is required
6630
- def create_project_location_conversation_call_matcher(parent, google_cloud_dialogflow_v2beta1_create_call_matcher_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
6631
- command = make_simple_command(:post, 'v2beta1/{+parent}/callMatchers', options)
6632
- command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CreateCallMatcherRequest::Representation
6633
- command.request_object = google_cloud_dialogflow_v2beta1_create_call_matcher_request_object
6634
- command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CallMatcher::Representation
6635
- command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CallMatcher
6636
- command.params['parent'] = parent unless parent.nil?
6637
- command.query['fields'] = fields unless fields.nil?
6638
- command.query['quotaUser'] = quota_user unless quota_user.nil?
6639
- execute_or_queue_command(command, &block)
6640
- end
6641
-
6642
- # Requests deletion of a call matcher.
6643
- # @param [String] name
6644
- # Required. The unique identifier of the CallMatcher to delete. Format: `
6645
- # projects//locations//conversations//callMatchers/`.
6646
- # @param [String] fields
6647
- # Selector specifying which fields to include in a partial response.
6648
- # @param [String] quota_user
6649
- # Available to use for quota purposes for server-side applications. Can be any
6650
- # arbitrary string assigned to a user, but should not exceed 40 characters.
6651
- # @param [Google::Apis::RequestOptions] options
6652
- # Request-specific options
6653
- #
6654
- # @yield [result, err] Result & error if block supplied
6655
- # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
6656
- # @yieldparam err [StandardError] error object if request failed
6657
- #
6658
- # @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
6659
- #
6660
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6661
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6662
- # @raise [Google::Apis::AuthorizationError] Authorization is required
6663
- def delete_project_location_conversation_call_matcher(name, fields: nil, quota_user: nil, options: nil, &block)
6664
- command = make_simple_command(:delete, 'v2beta1/{+name}', options)
6665
- command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
6666
- command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
6667
- command.params['name'] = name unless name.nil?
6668
- command.query['fields'] = fields unless fields.nil?
6669
- command.query['quotaUser'] = quota_user unless quota_user.nil?
6670
- execute_or_queue_command(command, &block)
6671
- end
6672
-
6673
- # Returns the list of all call matchers in the specified conversation.
6674
- # @param [String] parent
6675
- # Required. The conversation to list all call matchers from. Format: `projects//
6676
- # locations//conversations/`.
6677
- # @param [Fixnum] page_size
6678
- # Optional. The maximum number of items to return in a single page. By default
6679
- # 100 and at most 1000.
6680
- # @param [String] page_token
6681
- # Optional. The next_page_token value returned from a previous list request.
6682
- # @param [String] fields
6683
- # Selector specifying which fields to include in a partial response.
6684
- # @param [String] quota_user
6685
- # Available to use for quota purposes for server-side applications. Can be any
6686
- # arbitrary string assigned to a user, but should not exceed 40 characters.
6687
- # @param [Google::Apis::RequestOptions] options
6688
- # Request-specific options
6689
- #
6690
- # @yield [result, err] Result & error if block supplied
6691
- # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListCallMatchersResponse] parsed result object
6692
- # @yieldparam err [StandardError] error object if request failed
6693
- #
6694
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListCallMatchersResponse]
6695
- #
6696
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6697
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6698
- # @raise [Google::Apis::AuthorizationError] Authorization is required
6699
- def list_project_location_conversation_call_matchers(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6700
- command = make_simple_command(:get, 'v2beta1/{+parent}/callMatchers', options)
6701
- command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListCallMatchersResponse::Representation
6702
- command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListCallMatchersResponse
6703
- command.params['parent'] = parent unless parent.nil?
6704
- command.query['pageSize'] = page_size unless page_size.nil?
6705
- command.query['pageToken'] = page_token unless page_token.nil?
6706
- command.query['fields'] = fields unless fields.nil?
6707
- command.query['quotaUser'] = quota_user unless quota_user.nil?
6708
- execute_or_queue_command(command, &block)
6709
- end
6710
-
6711
6503
  # Batch ingests messages to conversation. Customers can use this RPC to ingest
6712
6504
  # historical messages to conversation.
6713
6505
  # @param [String] parent
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-15 00:00:00.000000000 Z
11
+ date: 2021-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2beta1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.7.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.8.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2beta1
57
57
  post_install_message:
58
58
  rdoc_options: []