google-apis-dialogflow_v3beta1 0.23.0 → 0.27.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aad940f38e958fefe81424effd40d9e7cef90c4541aad7760a1a7e370770ca14
4
- data.tar.gz: ea56d581d21151a673707aa9f6a81d993b7a298d0d7688292d49695a1687de98
3
+ metadata.gz: 8fdb3e54c538ba86f376aacf1fab65c98c24c6745eadd48a246da2d959ae8fbf
4
+ data.tar.gz: 2f43fafcf71309931f14ce5e15acdbd67499b4a4fdcee0bb0ced31fd6ac21e48
5
5
  SHA512:
6
- metadata.gz: eff664a7def1786d3fecec95bd097365d3464225ed060c30fae10637667fa17b7b4b724a3d9b79e407d26b905b2fc4b67d53ddab533e7fd3de3ae11b9c148119
7
- data.tar.gz: a134cd42e92a26441d759110787383b04761b92512e80d945ac43c0bfa2ebcdd350a2bf040acec7c15f0eccdcd4305bf94c3d6790960b1580c77bb9049e0d2b1
6
+ metadata.gz: dc879576d467ce6f3e738f99df9f8632b0ef97b73a753671f74af89b7bbcfdf86be3b06674205513a9e5d483ae8be74df160c61c088d2b1c07fa942f460dd781
7
+ data.tar.gz: 5a6acc7ffb89ee8833e73141f80387573b3686d821445d0ddd3a3f1b6eb76b2f60237ed044c2a1119aae006d3bd89c7c8db4a1150691657b898b8c4df9246b46
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
2
2
 
3
+ ### v0.27.0 (2022-01-07)
4
+
5
+ * Regenerated from discovery document revision 20211231
6
+ * Unspecified changes
7
+
8
+ ### v0.26.0 (2021-12-04)
9
+
10
+ * Regenerated from discovery document revision 20211201
11
+
12
+ ### v0.25.0 (2021-10-28)
13
+
14
+ * Regenerated from discovery document revision 20211022
15
+
16
+ ### v0.24.0 (2021-10-21)
17
+
18
+ * Regenerated from discovery document revision 20211015
19
+
3
20
  ### v0.23.0 (2021-10-08)
4
21
 
5
22
  * Regenerated from discovery document revision 20211007
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/dialogflow_v3beta1"
51
51
  client = Google::Apis::DialogflowV3beta1::DialogflowService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Dialogflow service in particular.)
67
67
 
@@ -1526,6 +1526,12 @@ module Google
1526
1526
  # @return [String]
1527
1527
  attr_accessor :current_page
1528
1528
 
1529
+ # Always present for WebhookRequest. Ignored for WebhookResponse. The display
1530
+ # name of the current page.
1531
+ # Corresponds to the JSON property `displayName`
1532
+ # @return [String]
1533
+ attr_accessor :display_name
1534
+
1529
1535
  # Represents form information.
1530
1536
  # Corresponds to the JSON property `formInfo`
1531
1537
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfoFormInfo]
@@ -1538,6 +1544,7 @@ module Google
1538
1544
  # Update properties of this object
1539
1545
  def update!(**args)
1540
1546
  @current_page = args[:current_page] if args.key?(:current_page)
1547
+ @display_name = args[:display_name] if args.key?(:display_name)
1541
1548
  @form_info = args[:form_info] if args.key?(:form_info)
1542
1549
  end
1543
1550
  end
@@ -1760,6 +1767,12 @@ module Google
1760
1767
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio]
1761
1768
  attr_accessor :play_audio
1762
1769
 
1770
+ # Represents the signal that telles the client to transfer the phone call
1771
+ # connected to the agent to a third-party endpoint.
1772
+ # Corresponds to the JSON property `telephonyTransferCall`
1773
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall]
1774
+ attr_accessor :telephony_transfer_call
1775
+
1763
1776
  # The text response message.
1764
1777
  # Corresponds to the JSON property `text`
1765
1778
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageText]
@@ -1778,6 +1791,7 @@ module Google
1778
1791
  @output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
1779
1792
  @payload = args[:payload] if args.key?(:payload)
1780
1793
  @play_audio = args[:play_audio] if args.key?(:play_audio)
1794
+ @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
1781
1795
  @text = args[:text] if args.key?(:text)
1782
1796
  end
1783
1797
  end
@@ -1970,6 +1984,27 @@ module Google
1970
1984
  end
1971
1985
  end
1972
1986
 
1987
+ # Represents the signal that telles the client to transfer the phone call
1988
+ # connected to the agent to a third-party endpoint.
1989
+ class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
1990
+ include Google::Apis::Core::Hashable
1991
+
1992
+ # Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/
1993
+ # wiki/E.164).
1994
+ # Corresponds to the JSON property `phoneNumber`
1995
+ # @return [String]
1996
+ attr_accessor :phone_number
1997
+
1998
+ def initialize(**args)
1999
+ update!(**args)
2000
+ end
2001
+
2002
+ # Update properties of this object
2003
+ def update!(**args)
2004
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
2005
+ end
2006
+ end
2007
+
1973
2008
  # The text response message.
1974
2009
  class GoogleCloudDialogflowCxV3ResponseMessageText
1975
2010
  include Google::Apis::Core::Hashable
@@ -3074,6 +3109,123 @@ module Google
3074
3109
  end
3075
3110
  end
3076
3111
 
3112
+ # Changelogs represents a change made to a given agent.
3113
+ class GoogleCloudDialogflowCxV3beta1Changelog
3114
+ include Google::Apis::Core::Hashable
3115
+
3116
+ # The action of the change.
3117
+ # Corresponds to the JSON property `action`
3118
+ # @return [String]
3119
+ attr_accessor :action
3120
+
3121
+ # The timestamp of the change.
3122
+ # Corresponds to the JSON property `createTime`
3123
+ # @return [String]
3124
+ attr_accessor :create_time
3125
+
3126
+ # The affected resource display name of the change.
3127
+ # Corresponds to the JSON property `displayName`
3128
+ # @return [String]
3129
+ attr_accessor :display_name
3130
+
3131
+ # The unique identifier of the changelog. Format: `projects//locations//agents//
3132
+ # changelogs/`.
3133
+ # Corresponds to the JSON property `name`
3134
+ # @return [String]
3135
+ attr_accessor :name
3136
+
3137
+ # The affected resource name of the change.
3138
+ # Corresponds to the JSON property `resource`
3139
+ # @return [String]
3140
+ attr_accessor :resource
3141
+
3142
+ # The affected resource type.
3143
+ # Corresponds to the JSON property `type`
3144
+ # @return [String]
3145
+ attr_accessor :type
3146
+
3147
+ # Email address of the authenticated user.
3148
+ # Corresponds to the JSON property `userEmail`
3149
+ # @return [String]
3150
+ attr_accessor :user_email
3151
+
3152
+ def initialize(**args)
3153
+ update!(**args)
3154
+ end
3155
+
3156
+ # Update properties of this object
3157
+ def update!(**args)
3158
+ @action = args[:action] if args.key?(:action)
3159
+ @create_time = args[:create_time] if args.key?(:create_time)
3160
+ @display_name = args[:display_name] if args.key?(:display_name)
3161
+ @name = args[:name] if args.key?(:name)
3162
+ @resource = args[:resource] if args.key?(:resource)
3163
+ @type = args[:type] if args.key?(:type)
3164
+ @user_email = args[:user_email] if args.key?(:user_email)
3165
+ end
3166
+ end
3167
+
3168
+ # The request message for Versions.CompareVersions.
3169
+ class GoogleCloudDialogflowCxV3beta1CompareVersionsRequest
3170
+ include Google::Apis::Core::Hashable
3171
+
3172
+ # The language to compare the flow versions for. If not specified, the agent's
3173
+ # default language is used. [Many languages](https://cloud.google.com/dialogflow/
3174
+ # docs/reference/language) are supported. Note: languages must be enabled in the
3175
+ # agent before they can be used.
3176
+ # Corresponds to the JSON property `languageCode`
3177
+ # @return [String]
3178
+ attr_accessor :language_code
3179
+
3180
+ # Required. Name of the target flow version to compare with the base version.
3181
+ # Use version ID `0` to indicate the draft version of the specified flow. Format:
3182
+ # `projects//locations//agents//flows//versions/`.
3183
+ # Corresponds to the JSON property `targetVersion`
3184
+ # @return [String]
3185
+ attr_accessor :target_version
3186
+
3187
+ def initialize(**args)
3188
+ update!(**args)
3189
+ end
3190
+
3191
+ # Update properties of this object
3192
+ def update!(**args)
3193
+ @language_code = args[:language_code] if args.key?(:language_code)
3194
+ @target_version = args[:target_version] if args.key?(:target_version)
3195
+ end
3196
+ end
3197
+
3198
+ # The response message for Versions.CompareVersions.
3199
+ class GoogleCloudDialogflowCxV3beta1CompareVersionsResponse
3200
+ include Google::Apis::Core::Hashable
3201
+
3202
+ # JSON representation of the base version content.
3203
+ # Corresponds to the JSON property `baseVersionContentJson`
3204
+ # @return [String]
3205
+ attr_accessor :base_version_content_json
3206
+
3207
+ # The timestamp when the two version compares.
3208
+ # Corresponds to the JSON property `compareTime`
3209
+ # @return [String]
3210
+ attr_accessor :compare_time
3211
+
3212
+ # JSON representation of the target version content.
3213
+ # Corresponds to the JSON property `targetVersionContentJson`
3214
+ # @return [String]
3215
+ attr_accessor :target_version_content_json
3216
+
3217
+ def initialize(**args)
3218
+ update!(**args)
3219
+ end
3220
+
3221
+ # Update properties of this object
3222
+ def update!(**args)
3223
+ @base_version_content_json = args[:base_version_content_json] if args.key?(:base_version_content_json)
3224
+ @compare_time = args[:compare_time] if args.key?(:compare_time)
3225
+ @target_version_content_json = args[:target_version_content_json] if args.key?(:target_version_content_json)
3226
+ end
3227
+ end
3228
+
3077
3229
  # Represents a result from running a test case in an agent environment.
3078
3230
  class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
3079
3231
  include Google::Apis::Core::Hashable
@@ -3792,7 +3944,7 @@ module Google
3792
3944
  include Google::Apis::Core::Hashable
3793
3945
 
3794
3946
  # Whether to run test cases in TestCasesConfig.test_cases periodically. Default
3795
- # false. If set to ture, run once a day.
3947
+ # false. If set to true, run once a day.
3796
3948
  # Corresponds to the JSON property `enableContinuousRun`
3797
3949
  # @return [Boolean]
3798
3950
  attr_accessor :enable_continuous_run
@@ -5447,6 +5599,34 @@ module Google
5447
5599
  end
5448
5600
  end
5449
5601
 
5602
+ # The response message for Changelogs.ListChangelogs.
5603
+ class GoogleCloudDialogflowCxV3beta1ListChangelogsResponse
5604
+ include Google::Apis::Core::Hashable
5605
+
5606
+ # The list of changelogs. There will be a maximum number of items returned based
5607
+ # on the page_size field in the request. The changelogs will be ordered by
5608
+ # timestamp.
5609
+ # Corresponds to the JSON property `changelogs`
5610
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Changelog>]
5611
+ attr_accessor :changelogs
5612
+
5613
+ # Token to retrieve the next page of results, or empty if there are no more
5614
+ # results in the list.
5615
+ # Corresponds to the JSON property `nextPageToken`
5616
+ # @return [String]
5617
+ attr_accessor :next_page_token
5618
+
5619
+ def initialize(**args)
5620
+ update!(**args)
5621
+ end
5622
+
5623
+ # Update properties of this object
5624
+ def update!(**args)
5625
+ @changelogs = args[:changelogs] if args.key?(:changelogs)
5626
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
5627
+ end
5628
+ end
5629
+
5450
5630
  # The response message for Environments.ListTestCaseResults.
5451
5631
  class GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse
5452
5632
  include Google::Apis::Core::Hashable
@@ -6240,6 +6420,12 @@ module Google
6240
6420
  # @return [String]
6241
6421
  attr_accessor :current_page
6242
6422
 
6423
+ # Always present for WebhookRequest. Ignored for WebhookResponse. The display
6424
+ # name of the current page.
6425
+ # Corresponds to the JSON property `displayName`
6426
+ # @return [String]
6427
+ attr_accessor :display_name
6428
+
6243
6429
  # Represents form information.
6244
6430
  # Corresponds to the JSON property `formInfo`
6245
6431
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo]
@@ -6252,6 +6438,7 @@ module Google
6252
6438
  # Update properties of this object
6253
6439
  def update!(**args)
6254
6440
  @current_page = args[:current_page] if args.key?(:current_page)
6441
+ @display_name = args[:display_name] if args.key?(:display_name)
6255
6442
  @form_info = args[:form_info] if args.key?(:form_info)
6256
6443
  end
6257
6444
  end
@@ -6761,6 +6948,12 @@ module Google
6761
6948
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio]
6762
6949
  attr_accessor :play_audio
6763
6950
 
6951
+ # Represents the signal that telles the client to transfer the phone call
6952
+ # connected to the agent to a third-party endpoint.
6953
+ # Corresponds to the JSON property `telephonyTransferCall`
6954
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall]
6955
+ attr_accessor :telephony_transfer_call
6956
+
6764
6957
  # The text response message.
6765
6958
  # Corresponds to the JSON property `text`
6766
6959
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText]
@@ -6779,6 +6972,7 @@ module Google
6779
6972
  @output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
6780
6973
  @payload = args[:payload] if args.key?(:payload)
6781
6974
  @play_audio = args[:play_audio] if args.key?(:play_audio)
6975
+ @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
6782
6976
  @text = args[:text] if args.key?(:text)
6783
6977
  end
6784
6978
  end
@@ -6971,6 +7165,27 @@ module Google
6971
7165
  end
6972
7166
  end
6973
7167
 
7168
+ # Represents the signal that telles the client to transfer the phone call
7169
+ # connected to the agent to a third-party endpoint.
7170
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
7171
+ include Google::Apis::Core::Hashable
7172
+
7173
+ # Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/
7174
+ # wiki/E.164).
7175
+ # Corresponds to the JSON property `phoneNumber`
7176
+ # @return [String]
7177
+ attr_accessor :phone_number
7178
+
7179
+ def initialize(**args)
7180
+ update!(**args)
7181
+ end
7182
+
7183
+ # Update properties of this object
7184
+ def update!(**args)
7185
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
7186
+ end
7187
+ end
7188
+
6974
7189
  # The text response message.
6975
7190
  class GoogleCloudDialogflowCxV3beta1ResponseMessageText
6976
7191
  include Google::Apis::Core::Hashable
@@ -7246,7 +7461,10 @@ module Google
7246
7461
  include Google::Apis::Core::Hashable
7247
7462
 
7248
7463
  # [DLP](https://cloud.google.com/dlp/docs) deidentify template name. Use this
7249
- # template to define de-identification configuration for the content. If empty,
7464
+ # template to define de-identification configuration for the content. The `DLP
7465
+ # De-identify Templates Reader` role is needed on the Dialogflow service
7466
+ # identity service account (has the form `service-PROJECT_NUMBER@gcp-sa-
7467
+ # dialogflow.iam.gserviceaccount.com`) for your agent's project. If empty,
7250
7468
  # Dialogflow replaces sensitive info with `[redacted]` text. The template name
7251
7469
  # will have one of the following formats: `projects//locations//
7252
7470
  # deidentifyTemplates/` OR `organizations//locations//deidentifyTemplates/` Note:
@@ -7269,11 +7487,13 @@ module Google
7269
7487
  attr_accessor :insights_export_settings
7270
7488
 
7271
7489
  # [DLP](https://cloud.google.com/dlp/docs) inspect template name. Use this
7272
- # template to define inspect base settings. If empty, we use the default DLP
7273
- # inspect config. The template name will have one of the following formats: `
7274
- # projects//locations//inspectTemplates/` OR `organizations//locations//
7275
- # inspectTemplates/` Note: `inspect_template` must be located in the same region
7276
- # as the `SecuritySettings`.
7490
+ # template to define inspect base settings. The `DLP Inspect Templates Reader`
7491
+ # role is needed on the Dialogflow service identity service account (has the
7492
+ # form `service-PROJECT_NUMBER@gcp-sa-dialogflow.iam.gserviceaccount.com`) for
7493
+ # your agent's project. If empty, we use the default DLP inspect config. The
7494
+ # template name will have one of the following formats: `projects//locations//
7495
+ # inspectTemplates/` OR `organizations//locations//inspectTemplates/` Note: `
7496
+ # inspect_template` must be located in the same region as the `SecuritySettings`.
7277
7497
  # Corresponds to the JSON property `inspectTemplate`
7278
7498
  # @return [String]
7279
7499
  attr_accessor :inspect_template
@@ -7304,10 +7524,11 @@ module Google
7304
7524
 
7305
7525
  # Retains data in interaction logging for the specified number of days. This
7306
7526
  # does not apply to Cloud logging, which is owned by the user - not Dialogflow.
7307
- # User must Set a value lower than Dialogflow's default 30d TTL. Setting a value
7308
- # higher than that has no effect. A missing value or setting to 0 also means we
7309
- # use Dialogflow's default TTL. Note: Interaction logging is a limited access
7310
- # feature. Talk to your Google representative to check availability for you.
7527
+ # User must set a value lower than Dialogflow's default 365d TTL. Setting a
7528
+ # value higher than that has no effect. A missing value or setting to 0 also
7529
+ # means we use Dialogflow's default TTL. Note: Interaction logging is a limited
7530
+ # access feature. Talk to your Google representative to check availability for
7531
+ # you.
7311
7532
  # Corresponds to the JSON property `retentionWindowDays`
7312
7533
  # @return [Fixnum]
7313
7534
  attr_accessor :retention_window_days
@@ -8481,6 +8702,18 @@ module Google
8481
8702
  class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
8482
8703
  include Google::Apis::Core::Hashable
8483
8704
 
8705
+ # Optional. Specifies a list of allowed custom CA certificates (in DER format)
8706
+ # for HTTPS verification. This overrides the default SSL trust store. If this is
8707
+ # empty or unspecified, Dialogflow will use Google's default trust store to
8708
+ # verify certificates. N.B. Make sure the HTTPS server certificates are signed
8709
+ # with "subject alt name". For instance a certificate can be self-signed using
8710
+ # the following command, openssl x509 -req -days 200 -in example.com.csr \ -
8711
+ # signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\
8712
+ # nsubjectAltName='DNS:www.example.com'")
8713
+ # Corresponds to the JSON property `allowedCaCerts`
8714
+ # @return [Array<String>]
8715
+ attr_accessor :allowed_ca_certs
8716
+
8484
8717
  # The password for HTTP Basic authentication.
8485
8718
  # Corresponds to the JSON property `password`
8486
8719
  # @return [String]
@@ -8508,6 +8741,7 @@ module Google
8508
8741
 
8509
8742
  # Update properties of this object
8510
8743
  def update!(**args)
8744
+ @allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
8511
8745
  @password = args[:password] if args.key?(:password)
8512
8746
  @request_headers = args[:request_headers] if args.key?(:request_headers)
8513
8747
  @uri = args[:uri] if args.key?(:uri)
@@ -10596,7 +10830,7 @@ module Google
10596
10830
  # @return [String]
10597
10831
  attr_accessor :content
10598
10832
 
10599
- # Output only. The time when the message was created.
10833
+ # Output only. The time when the message was created in Contact Center AI.
10600
10834
  # Corresponds to the JSON property `createTime`
10601
10835
  # @return [String]
10602
10836
  attr_accessor :create_time
@@ -10612,7 +10846,7 @@ module Google
10612
10846
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2MessageAnnotation]
10613
10847
  attr_accessor :message_annotation
10614
10848
 
10615
- # The unique identifier of the message. Format: `projects//locations//
10849
+ # Optional. The unique identifier of the message. Format: `projects//locations//
10616
10850
  # conversations//messages/`.
10617
10851
  # Corresponds to the JSON property `name`
10618
10852
  # @return [String]
@@ -10628,6 +10862,23 @@ module Google
10628
10862
  # @return [String]
10629
10863
  attr_accessor :participant_role
10630
10864
 
10865
+ # Optional. The time when the message was sent.
10866
+ # Corresponds to the JSON property `sendTime`
10867
+ # @return [String]
10868
+ attr_accessor :send_time
10869
+
10870
+ # The result of sentiment analysis. Sentiment analysis inspects user input and
10871
+ # identifies the prevailing subjective opinion, especially to determine a user's
10872
+ # attitude as positive, negative, or neutral. For Participants.DetectIntent, it
10873
+ # needs to be configured in DetectIntentRequest.query_params. For Participants.
10874
+ # StreamingDetectIntent, it needs to be configured in
10875
+ # StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
10876
+ # and Participants.StreamingAnalyzeContent, it needs to be configured in
10877
+ # ConversationProfile.human_agent_assistant_config
10878
+ # Corresponds to the JSON property `sentimentAnalysis`
10879
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SentimentAnalysisResult]
10880
+ attr_accessor :sentiment_analysis
10881
+
10631
10882
  def initialize(**args)
10632
10883
  update!(**args)
10633
10884
  end
@@ -10641,6 +10892,8 @@ module Google
10641
10892
  @name = args[:name] if args.key?(:name)
10642
10893
  @participant = args[:participant] if args.key?(:participant)
10643
10894
  @participant_role = args[:participant_role] if args.key?(:participant_role)
10895
+ @send_time = args[:send_time] if args.key?(:send_time)
10896
+ @sentiment_analysis = args[:sentiment_analysis] if args.key?(:sentiment_analysis)
10644
10897
  end
10645
10898
  end
10646
10899
 
@@ -10971,6 +11224,40 @@ module Google
10971
11224
  end
10972
11225
  end
10973
11226
 
11227
+ # Represents a smart reply answer.
11228
+ class GoogleCloudDialogflowV2SmartReplyAnswer
11229
+ include Google::Apis::Core::Hashable
11230
+
11231
+ # The name of answer record, in the format of "projects//locations//
11232
+ # answerRecords/"
11233
+ # Corresponds to the JSON property `answerRecord`
11234
+ # @return [String]
11235
+ attr_accessor :answer_record
11236
+
11237
+ # Smart reply confidence. The system's confidence score that this reply is a
11238
+ # good match for this conversation, as a value from 0.0 (completely uncertain)
11239
+ # to 1.0 (completely certain).
11240
+ # Corresponds to the JSON property `confidence`
11241
+ # @return [Float]
11242
+ attr_accessor :confidence
11243
+
11244
+ # The content of the reply.
11245
+ # Corresponds to the JSON property `reply`
11246
+ # @return [String]
11247
+ attr_accessor :reply
11248
+
11249
+ def initialize(**args)
11250
+ update!(**args)
11251
+ end
11252
+
11253
+ # Update properties of this object
11254
+ def update!(**args)
11255
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
11256
+ @confidence = args[:confidence] if args.key?(:confidence)
11257
+ @reply = args[:reply] if args.key?(:reply)
11258
+ end
11259
+ end
11260
+
10974
11261
  # The response message for Participants.SuggestArticles.
10975
11262
  class GoogleCloudDialogflowV2SuggestArticlesResponse
10976
11263
  include Google::Apis::Core::Hashable
@@ -11039,6 +11326,42 @@ module Google
11039
11326
  end
11040
11327
  end
11041
11328
 
11329
+ # The response message for Participants.SuggestSmartReplies.
11330
+ class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
11331
+ include Google::Apis::Core::Hashable
11332
+
11333
+ # Number of messages prior to and including latest_message to compile the
11334
+ # suggestion. It may be smaller than the SuggestSmartRepliesRequest.context_size
11335
+ # field in the request if there aren't that many messages in the conversation.
11336
+ # Corresponds to the JSON property `contextSize`
11337
+ # @return [Fixnum]
11338
+ attr_accessor :context_size
11339
+
11340
+ # The name of the latest conversation message used to compile suggestion for.
11341
+ # Format: `projects//locations//conversations//messages/`.
11342
+ # Corresponds to the JSON property `latestMessage`
11343
+ # @return [String]
11344
+ attr_accessor :latest_message
11345
+
11346
+ # Output only. Multiple reply options provided by smart reply service. The order
11347
+ # is based on the rank of the model prediction. The maximum number of the
11348
+ # returned replies is set in SmartReplyConfig.
11349
+ # Corresponds to the JSON property `smartReplyAnswers`
11350
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SmartReplyAnswer>]
11351
+ attr_accessor :smart_reply_answers
11352
+
11353
+ def initialize(**args)
11354
+ update!(**args)
11355
+ end
11356
+
11357
+ # Update properties of this object
11358
+ def update!(**args)
11359
+ @context_size = args[:context_size] if args.key?(:context_size)
11360
+ @latest_message = args[:latest_message] if args.key?(:latest_message)
11361
+ @smart_reply_answers = args[:smart_reply_answers] if args.key?(:smart_reply_answers)
11362
+ end
11363
+ end
11364
+
11042
11365
  # One response of different type of suggestion response which is used in the
11043
11366
  # response of Participants.AnalyzeContent and Participants.AnalyzeContent, as
11044
11367
  # well as HumanAgentAssistantEvent.
@@ -11065,6 +11388,11 @@ module Google
11065
11388
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse]
11066
11389
  attr_accessor :suggest_faq_answers_response
11067
11390
 
11391
+ # The response message for Participants.SuggestSmartReplies.
11392
+ # Corresponds to the JSON property `suggestSmartRepliesResponse`
11393
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestSmartRepliesResponse]
11394
+ attr_accessor :suggest_smart_replies_response
11395
+
11068
11396
  def initialize(**args)
11069
11397
  update!(**args)
11070
11398
  end
@@ -11074,6 +11402,7 @@ module Google
11074
11402
  @error = args[:error] if args.key?(:error)
11075
11403
  @suggest_articles_response = args[:suggest_articles_response] if args.key?(:suggest_articles_response)
11076
11404
  @suggest_faq_answers_response = args[:suggest_faq_answers_response] if args.key?(:suggest_faq_answers_response)
11405
+ @suggest_smart_replies_response = args[:suggest_smart_replies_response] if args.key?(:suggest_smart_replies_response)
11077
11406
  end
11078
11407
  end
11079
11408
 
@@ -13508,6 +13837,11 @@ module Google
13508
13837
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
13509
13838
  include Google::Apis::Core::Hashable
13510
13839
 
13840
+ # The name of the knowledge base interacted with during the operation.
13841
+ # Corresponds to the JSON property `knowledgeBase`
13842
+ # @return [String]
13843
+ attr_accessor :knowledge_base
13844
+
13511
13845
  # Required. Output only. The current state of this operation.
13512
13846
  # Corresponds to the JSON property `state`
13513
13847
  # @return [String]
@@ -13519,6 +13853,7 @@ module Google
13519
13853
 
13520
13854
  # Update properties of this object
13521
13855
  def update!(**args)
13856
+ @knowledge_base = args[:knowledge_base] if args.key?(:knowledge_base)
13522
13857
  @state = args[:state] if args.key?(:state)
13523
13858
  end
13524
13859
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3beta1
18
18
  # Version of the google-apis-dialogflow_v3beta1 gem
19
- GEM_VERSION = "0.23.0"
19
+ GEM_VERSION = "0.27.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211007"
25
+ REVISION = "20211231"
26
26
  end
27
27
  end
28
28
  end
@@ -358,6 +358,12 @@ module Google
358
358
  include Google::Apis::Core::JsonObjectSupport
359
359
  end
360
360
 
361
+ class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
361
367
  class GoogleCloudDialogflowCxV3ResponseMessageText
362
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
369
 
@@ -550,6 +556,24 @@ module Google
550
556
  include Google::Apis::Core::JsonObjectSupport
551
557
  end
552
558
 
559
+ class GoogleCloudDialogflowCxV3beta1Changelog
560
+ class Representation < Google::Apis::Core::JsonRepresentation; end
561
+
562
+ include Google::Apis::Core::JsonObjectSupport
563
+ end
564
+
565
+ class GoogleCloudDialogflowCxV3beta1CompareVersionsRequest
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
571
+ class GoogleCloudDialogflowCxV3beta1CompareVersionsResponse
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
553
577
  class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
554
578
  class Representation < Google::Apis::Core::JsonRepresentation; end
555
579
 
@@ -940,6 +964,12 @@ module Google
940
964
  include Google::Apis::Core::JsonObjectSupport
941
965
  end
942
966
 
967
+ class GoogleCloudDialogflowCxV3beta1ListChangelogsResponse
968
+ class Representation < Google::Apis::Core::JsonRepresentation; end
969
+
970
+ include Google::Apis::Core::JsonObjectSupport
971
+ end
972
+
943
973
  class GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse
944
974
  class Representation < Google::Apis::Core::JsonRepresentation; end
945
975
 
@@ -1174,6 +1204,12 @@ module Google
1174
1204
  include Google::Apis::Core::JsonObjectSupport
1175
1205
  end
1176
1206
 
1207
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
1208
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1209
+
1210
+ include Google::Apis::Core::JsonObjectSupport
1211
+ end
1212
+
1177
1213
  class GoogleCloudDialogflowCxV3beta1ResponseMessageText
1178
1214
  class Representation < Google::Apis::Core::JsonRepresentation; end
1179
1215
 
@@ -1822,6 +1858,12 @@ module Google
1822
1858
  include Google::Apis::Core::JsonObjectSupport
1823
1859
  end
1824
1860
 
1861
+ class GoogleCloudDialogflowV2SmartReplyAnswer
1862
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1863
+
1864
+ include Google::Apis::Core::JsonObjectSupport
1865
+ end
1866
+
1825
1867
  class GoogleCloudDialogflowV2SuggestArticlesResponse
1826
1868
  class Representation < Google::Apis::Core::JsonRepresentation; end
1827
1869
 
@@ -1834,6 +1876,12 @@ module Google
1834
1876
  include Google::Apis::Core::JsonObjectSupport
1835
1877
  end
1836
1878
 
1879
+ class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
1880
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1881
+
1882
+ include Google::Apis::Core::JsonObjectSupport
1883
+ end
1884
+
1837
1885
  class GoogleCloudDialogflowV2SuggestionResult
1838
1886
  class Representation < Google::Apis::Core::JsonRepresentation; end
1839
1887
 
@@ -2811,6 +2859,7 @@ module Google
2811
2859
  # @private
2812
2860
  class Representation < Google::Apis::Core::JsonRepresentation
2813
2861
  property :current_page, as: 'currentPage'
2862
+ property :display_name, as: 'displayName'
2814
2863
  property :form_info, as: 'formInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfoFormInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfoFormInfo::Representation
2815
2864
 
2816
2865
  end
@@ -2876,6 +2925,8 @@ module Google
2876
2925
  hash :payload, as: 'payload'
2877
2926
  property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio::Representation
2878
2927
 
2928
+ property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall::Representation
2929
+
2879
2930
  property :text, as: 'text', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageText::Representation
2880
2931
 
2881
2932
  end
@@ -2935,6 +2986,13 @@ module Google
2935
2986
  end
2936
2987
  end
2937
2988
 
2989
+ class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
2990
+ # @private
2991
+ class Representation < Google::Apis::Core::JsonRepresentation
2992
+ property :phone_number, as: 'phoneNumber'
2993
+ end
2994
+ end
2995
+
2938
2996
  class GoogleCloudDialogflowCxV3ResponseMessageText
2939
2997
  # @private
2940
2998
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3256,6 +3314,36 @@ module Google
3256
3314
  end
3257
3315
  end
3258
3316
 
3317
+ class GoogleCloudDialogflowCxV3beta1Changelog
3318
+ # @private
3319
+ class Representation < Google::Apis::Core::JsonRepresentation
3320
+ property :action, as: 'action'
3321
+ property :create_time, as: 'createTime'
3322
+ property :display_name, as: 'displayName'
3323
+ property :name, as: 'name'
3324
+ property :resource, as: 'resource'
3325
+ property :type, as: 'type'
3326
+ property :user_email, as: 'userEmail'
3327
+ end
3328
+ end
3329
+
3330
+ class GoogleCloudDialogflowCxV3beta1CompareVersionsRequest
3331
+ # @private
3332
+ class Representation < Google::Apis::Core::JsonRepresentation
3333
+ property :language_code, as: 'languageCode'
3334
+ property :target_version, as: 'targetVersion'
3335
+ end
3336
+ end
3337
+
3338
+ class GoogleCloudDialogflowCxV3beta1CompareVersionsResponse
3339
+ # @private
3340
+ class Representation < Google::Apis::Core::JsonRepresentation
3341
+ property :base_version_content_json, as: 'baseVersionContentJson'
3342
+ property :compare_time, as: 'compareTime'
3343
+ property :target_version_content_json, as: 'targetVersionContentJson'
3344
+ end
3345
+ end
3346
+
3259
3347
  class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
3260
3348
  # @private
3261
3349
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3902,6 +3990,15 @@ module Google
3902
3990
  end
3903
3991
  end
3904
3992
 
3993
+ class GoogleCloudDialogflowCxV3beta1ListChangelogsResponse
3994
+ # @private
3995
+ class Representation < Google::Apis::Core::JsonRepresentation
3996
+ collection :changelogs, as: 'changelogs', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Changelog, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Changelog::Representation
3997
+
3998
+ property :next_page_token, as: 'nextPageToken'
3999
+ end
4000
+ end
4001
+
3905
4002
  class GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse
3906
4003
  # @private
3907
4004
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4130,6 +4227,7 @@ module Google
4130
4227
  # @private
4131
4228
  class Representation < Google::Apis::Core::JsonRepresentation
4132
4229
  property :current_page, as: 'currentPage'
4230
+ property :display_name, as: 'displayName'
4133
4231
  property :form_info, as: 'formInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo::Representation
4134
4232
 
4135
4233
  end
@@ -4250,6 +4348,8 @@ module Google
4250
4348
  hash :payload, as: 'payload'
4251
4349
  property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio::Representation
4252
4350
 
4351
+ property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall::Representation
4352
+
4253
4353
  property :text, as: 'text', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
4254
4354
 
4255
4355
  end
@@ -4309,6 +4409,13 @@ module Google
4309
4409
  end
4310
4410
  end
4311
4411
 
4412
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
4413
+ # @private
4414
+ class Representation < Google::Apis::Core::JsonRepresentation
4415
+ property :phone_number, as: 'phoneNumber'
4416
+ end
4417
+ end
4418
+
4312
4419
  class GoogleCloudDialogflowCxV3beta1ResponseMessageText
4313
4420
  # @private
4314
4421
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4740,6 +4847,7 @@ module Google
4740
4847
  class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
4741
4848
  # @private
4742
4849
  class Representation < Google::Apis::Core::JsonRepresentation
4850
+ collection :allowed_ca_certs, as: 'allowedCaCerts'
4743
4851
  property :password, as: 'password'
4744
4852
  hash :request_headers, as: 'requestHeaders'
4745
4853
  property :uri, as: 'uri'
@@ -5336,6 +5444,9 @@ module Google
5336
5444
  property :name, as: 'name'
5337
5445
  property :participant, as: 'participant'
5338
5446
  property :participant_role, as: 'participantRole'
5447
+ property :send_time, as: 'sendTime'
5448
+ property :sentiment_analysis, as: 'sentimentAnalysis', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SentimentAnalysisResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SentimentAnalysisResult::Representation
5449
+
5339
5450
  end
5340
5451
  end
5341
5452
 
@@ -5409,6 +5520,15 @@ module Google
5409
5520
  end
5410
5521
  end
5411
5522
 
5523
+ class GoogleCloudDialogflowV2SmartReplyAnswer
5524
+ # @private
5525
+ class Representation < Google::Apis::Core::JsonRepresentation
5526
+ property :answer_record, as: 'answerRecord'
5527
+ property :confidence, as: 'confidence'
5528
+ property :reply, as: 'reply'
5529
+ end
5530
+ end
5531
+
5412
5532
  class GoogleCloudDialogflowV2SuggestArticlesResponse
5413
5533
  # @private
5414
5534
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5429,6 +5549,16 @@ module Google
5429
5549
  end
5430
5550
  end
5431
5551
 
5552
+ class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
5553
+ # @private
5554
+ class Representation < Google::Apis::Core::JsonRepresentation
5555
+ property :context_size, as: 'contextSize'
5556
+ property :latest_message, as: 'latestMessage'
5557
+ collection :smart_reply_answers, as: 'smartReplyAnswers', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SmartReplyAnswer, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SmartReplyAnswer::Representation
5558
+
5559
+ end
5560
+ end
5561
+
5432
5562
  class GoogleCloudDialogflowV2SuggestionResult
5433
5563
  # @private
5434
5564
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5438,6 +5568,8 @@ module Google
5438
5568
 
5439
5569
  property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse::Representation
5440
5570
 
5571
+ property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestSmartRepliesResponse::Representation
5572
+
5441
5573
  end
5442
5574
  end
5443
5575
 
@@ -6114,6 +6246,7 @@ module Google
6114
6246
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
6115
6247
  # @private
6116
6248
  class Representation < Google::Apis::Core::JsonRepresentation
6249
+ property :knowledge_base, as: 'knowledgeBase'
6117
6250
  property :state, as: 'state'
6118
6251
  end
6119
6252
  end
@@ -450,6 +450,87 @@ module Google
450
450
  execute_or_queue_command(command, &block)
451
451
  end
452
452
 
453
+ # Retrieves the specified Changelog.
454
+ # @param [String] name
455
+ # Required. The name of the changelog to get. Format: `projects//locations//
456
+ # agents//changelogs/`.
457
+ # @param [String] fields
458
+ # Selector specifying which fields to include in a partial response.
459
+ # @param [String] quota_user
460
+ # Available to use for quota purposes for server-side applications. Can be any
461
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
462
+ # @param [Google::Apis::RequestOptions] options
463
+ # Request-specific options
464
+ #
465
+ # @yield [result, err] Result & error if block supplied
466
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Changelog] parsed result object
467
+ # @yieldparam err [StandardError] error object if request failed
468
+ #
469
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Changelog]
470
+ #
471
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
472
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
473
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
474
+ def get_project_location_agent_changelog(name, fields: nil, quota_user: nil, options: nil, &block)
475
+ command = make_simple_command(:get, 'v3beta1/{+name}', options)
476
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Changelog::Representation
477
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Changelog
478
+ command.params['name'] = name unless name.nil?
479
+ command.query['fields'] = fields unless fields.nil?
480
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
481
+ execute_or_queue_command(command, &block)
482
+ end
483
+
484
+ # Returns the list of Changelogs.
485
+ # @param [String] parent
486
+ # Required. The agent containing the changelogs. Format: `projects//locations//
487
+ # agents/`.
488
+ # @param [String] filter
489
+ # The filter string. Supports filter by user_email, resource, type and
490
+ # create_time. Some examples: 1. By user email: user_email = "someone@google.com"
491
+ # 2. By resource name: resource = "projects/123/locations/global/agents/456/
492
+ # flows/789" 3. By resource display name: display_name = "my agent" 4. By action:
493
+ # action = "Create" 5. By type: type = "flows" 6. By create time. Currently
494
+ # predicates on `create_time` and `create_time_epoch_seconds` are supported:
495
+ # create_time_epoch_seconds > 1551790877 AND create_time <= 2017-01-15T01:30:15.
496
+ # 01Z 7. Combination of above filters: resource = "projects/123/locations/global/
497
+ # agents/456/flows/789" AND user_email = "someone@google.com" AND create_time <=
498
+ # 2017-01-15T01:30:15.01Z
499
+ # @param [Fixnum] page_size
500
+ # The maximum number of items to return in a single page. By default 100 and at
501
+ # most 1000.
502
+ # @param [String] page_token
503
+ # The next_page_token value returned from a previous list request.
504
+ # @param [String] fields
505
+ # Selector specifying which fields to include in a partial response.
506
+ # @param [String] quota_user
507
+ # Available to use for quota purposes for server-side applications. Can be any
508
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
509
+ # @param [Google::Apis::RequestOptions] options
510
+ # Request-specific options
511
+ #
512
+ # @yield [result, err] Result & error if block supplied
513
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListChangelogsResponse] parsed result object
514
+ # @yieldparam err [StandardError] error object if request failed
515
+ #
516
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListChangelogsResponse]
517
+ #
518
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
519
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
520
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
521
+ def list_project_location_agent_changelogs(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
522
+ command = make_simple_command(:get, 'v3beta1/{+parent}/changelogs', options)
523
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListChangelogsResponse::Representation
524
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListChangelogsResponse
525
+ command.params['parent'] = parent unless parent.nil?
526
+ command.query['filter'] = filter unless filter.nil?
527
+ command.query['pageSize'] = page_size unless page_size.nil?
528
+ command.query['pageToken'] = page_token unless page_token.nil?
529
+ command.query['fields'] = fields unless fields.nil?
530
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
531
+ execute_or_queue_command(command, &block)
532
+ end
533
+
453
534
  # Creates an entity type in the specified agent.
454
535
  # @param [String] parent
455
536
  # Required. The agent to create a entity type for. Format: `projects//locations//
@@ -2486,6 +2567,41 @@ module Google
2486
2567
  execute_or_queue_command(command, &block)
2487
2568
  end
2488
2569
 
2570
+ # Compares the specified base version with target version.
2571
+ # @param [String] base_version
2572
+ # Required. Name of the base flow version to compare with the target version.
2573
+ # Use version ID `0` to indicate the draft version of the specified flow. Format:
2574
+ # `projects//locations//agents/ /flows//versions/`.
2575
+ # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CompareVersionsRequest] google_cloud_dialogflow_cx_v3beta1_compare_versions_request_object
2576
+ # @param [String] fields
2577
+ # Selector specifying which fields to include in a partial response.
2578
+ # @param [String] quota_user
2579
+ # Available to use for quota purposes for server-side applications. Can be any
2580
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2581
+ # @param [Google::Apis::RequestOptions] options
2582
+ # Request-specific options
2583
+ #
2584
+ # @yield [result, err] Result & error if block supplied
2585
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CompareVersionsResponse] parsed result object
2586
+ # @yieldparam err [StandardError] error object if request failed
2587
+ #
2588
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CompareVersionsResponse]
2589
+ #
2590
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2591
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2592
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2593
+ def compare_project_location_agent_flow_version_versions(base_version, google_cloud_dialogflow_cx_v3beta1_compare_versions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2594
+ command = make_simple_command(:post, 'v3beta1/{+baseVersion}:compareVersions', options)
2595
+ command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CompareVersionsRequest::Representation
2596
+ command.request_object = google_cloud_dialogflow_cx_v3beta1_compare_versions_request_object
2597
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CompareVersionsResponse::Representation
2598
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CompareVersionsResponse
2599
+ command.params['baseVersion'] = base_version unless base_version.nil?
2600
+ command.query['fields'] = fields unless fields.nil?
2601
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2602
+ execute_or_queue_command(command, &block)
2603
+ end
2604
+
2489
2605
  # Creates a Version in the specified Flow. This method is a [long-running
2490
2606
  # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
2491
2607
  # operation). The returned `Operation` type has the following method-specific
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v3beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.27.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-10-11 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.23.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3beta1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.27.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths:
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Dialogflow API V3beta1