google-apis-dialogflow_v3beta1 0.22.0 → 0.26.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: 4b6b062169f97f39ec2735a3e8f05f7838cc5cb341de27250e54dff52b1d0479
4
- data.tar.gz: 6c8adfa686478018a83ce42eb64e80d5f4869f2c7f4b9a7e2d480e26900d7553
3
+ metadata.gz: 7880fe1973a07f5f855aa00ae23556253fa8446a122611bdb1c54b556ee96d85
4
+ data.tar.gz: 35d7086d44d1bdcbd7411a834d24418e082e3cea13bf054f1fdefebe4f1971b3
5
5
  SHA512:
6
- metadata.gz: a2492db0c415b7238691c28aad70dfcac677e6bfa6868ae6dba0aa5ff57bd38746d926eba91621d403b6eedb7ce8247c49311b9d8a4646b3f19fdadfc7ca930d
7
- data.tar.gz: 984976ca81552ba5440d2ba6b94c51fa104e3908dad041fc825748dab2b32bb09fdc29d4345baa71fe7a305b9a183ae1195df64babbad9d88d556af1c08327e1
6
+ metadata.gz: 1217d5bb2a85df0c1510d19aea8cb8189a5497ac6c169419ca5371e3de341f6719f3f2fab3d1a4182172a7626ff435e16995e56f5a3c2dd30dbe56a2ee3ffb98
7
+ data.tar.gz: 6088742f09ff006de5349c7470d030cb9af2c7593603f4a197dc8f7ec3b89f3e603e1f42a2e116446a16061bda8870c25a94b1cb49263a7487a256bf44cdc3dc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
2
2
 
3
+ ### v0.26.0 (2021-12-04)
4
+
5
+ * Regenerated from discovery document revision 20211201
6
+
7
+ ### v0.25.0 (2021-10-28)
8
+
9
+ * Regenerated from discovery document revision 20211022
10
+
11
+ ### v0.24.0 (2021-10-21)
12
+
13
+ * Regenerated from discovery document revision 20211015
14
+
15
+ ### v0.23.0 (2021-10-08)
16
+
17
+ * Regenerated from discovery document revision 20211007
18
+
3
19
  ### v0.22.0 (2021-09-24)
4
20
 
5
21
  * Regenerated from discovery document revision 20210918
data/OVERVIEW.md CHANGED
@@ -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
 
@@ -1760,6 +1760,12 @@ module Google
1760
1760
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio]
1761
1761
  attr_accessor :play_audio
1762
1762
 
1763
+ # Represents the signal that telles the client to transfer the phone call
1764
+ # connected to the agent to a third-party endpoint.
1765
+ # Corresponds to the JSON property `telephonyTransferCall`
1766
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall]
1767
+ attr_accessor :telephony_transfer_call
1768
+
1763
1769
  # The text response message.
1764
1770
  # Corresponds to the JSON property `text`
1765
1771
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageText]
@@ -1778,6 +1784,7 @@ module Google
1778
1784
  @output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
1779
1785
  @payload = args[:payload] if args.key?(:payload)
1780
1786
  @play_audio = args[:play_audio] if args.key?(:play_audio)
1787
+ @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
1781
1788
  @text = args[:text] if args.key?(:text)
1782
1789
  end
1783
1790
  end
@@ -1970,6 +1977,27 @@ module Google
1970
1977
  end
1971
1978
  end
1972
1979
 
1980
+ # Represents the signal that telles the client to transfer the phone call
1981
+ # connected to the agent to a third-party endpoint.
1982
+ class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
1983
+ include Google::Apis::Core::Hashable
1984
+
1985
+ # Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/
1986
+ # wiki/E.164).
1987
+ # Corresponds to the JSON property `phoneNumber`
1988
+ # @return [String]
1989
+ attr_accessor :phone_number
1990
+
1991
+ def initialize(**args)
1992
+ update!(**args)
1993
+ end
1994
+
1995
+ # Update properties of this object
1996
+ def update!(**args)
1997
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
1998
+ end
1999
+ end
2000
+
1973
2001
  # The text response message.
1974
2002
  class GoogleCloudDialogflowCxV3ResponseMessageText
1975
2003
  include Google::Apis::Core::Hashable
@@ -3074,6 +3102,123 @@ module Google
3074
3102
  end
3075
3103
  end
3076
3104
 
3105
+ # Changelogs represents a change made to a given agent.
3106
+ class GoogleCloudDialogflowCxV3beta1Changelog
3107
+ include Google::Apis::Core::Hashable
3108
+
3109
+ # The action of the change.
3110
+ # Corresponds to the JSON property `action`
3111
+ # @return [String]
3112
+ attr_accessor :action
3113
+
3114
+ # The timestamp of the change.
3115
+ # Corresponds to the JSON property `createTime`
3116
+ # @return [String]
3117
+ attr_accessor :create_time
3118
+
3119
+ # The affected resource display name of the change.
3120
+ # Corresponds to the JSON property `displayName`
3121
+ # @return [String]
3122
+ attr_accessor :display_name
3123
+
3124
+ # The unique identifier of the changelog. Format: `projects//locations//agents//
3125
+ # changelogs/`.
3126
+ # Corresponds to the JSON property `name`
3127
+ # @return [String]
3128
+ attr_accessor :name
3129
+
3130
+ # The affected resource name of the change.
3131
+ # Corresponds to the JSON property `resource`
3132
+ # @return [String]
3133
+ attr_accessor :resource
3134
+
3135
+ # The affected resource type.
3136
+ # Corresponds to the JSON property `type`
3137
+ # @return [String]
3138
+ attr_accessor :type
3139
+
3140
+ # Email address of the authenticated user.
3141
+ # Corresponds to the JSON property `userEmail`
3142
+ # @return [String]
3143
+ attr_accessor :user_email
3144
+
3145
+ def initialize(**args)
3146
+ update!(**args)
3147
+ end
3148
+
3149
+ # Update properties of this object
3150
+ def update!(**args)
3151
+ @action = args[:action] if args.key?(:action)
3152
+ @create_time = args[:create_time] if args.key?(:create_time)
3153
+ @display_name = args[:display_name] if args.key?(:display_name)
3154
+ @name = args[:name] if args.key?(:name)
3155
+ @resource = args[:resource] if args.key?(:resource)
3156
+ @type = args[:type] if args.key?(:type)
3157
+ @user_email = args[:user_email] if args.key?(:user_email)
3158
+ end
3159
+ end
3160
+
3161
+ # The request message for Versions.CompareVersions.
3162
+ class GoogleCloudDialogflowCxV3beta1CompareVersionsRequest
3163
+ include Google::Apis::Core::Hashable
3164
+
3165
+ # The language to compare the flow versions for. If not specified, the agent's
3166
+ # default language is used. [Many languages](https://cloud.google.com/dialogflow/
3167
+ # docs/reference/language) are supported. Note: languages must be enabled in the
3168
+ # agent before they can be used.
3169
+ # Corresponds to the JSON property `languageCode`
3170
+ # @return [String]
3171
+ attr_accessor :language_code
3172
+
3173
+ # Required. Name of the target flow version to compare with the base version.
3174
+ # Use version ID `0` to indicate the draft version of the specified flow. Format:
3175
+ # `projects//locations//agents//flows//versions/`.
3176
+ # Corresponds to the JSON property `targetVersion`
3177
+ # @return [String]
3178
+ attr_accessor :target_version
3179
+
3180
+ def initialize(**args)
3181
+ update!(**args)
3182
+ end
3183
+
3184
+ # Update properties of this object
3185
+ def update!(**args)
3186
+ @language_code = args[:language_code] if args.key?(:language_code)
3187
+ @target_version = args[:target_version] if args.key?(:target_version)
3188
+ end
3189
+ end
3190
+
3191
+ # The response message for Versions.CompareVersions.
3192
+ class GoogleCloudDialogflowCxV3beta1CompareVersionsResponse
3193
+ include Google::Apis::Core::Hashable
3194
+
3195
+ # JSON representation of the base version content.
3196
+ # Corresponds to the JSON property `baseVersionContentJson`
3197
+ # @return [String]
3198
+ attr_accessor :base_version_content_json
3199
+
3200
+ # The timestamp when the two version compares.
3201
+ # Corresponds to the JSON property `compareTime`
3202
+ # @return [String]
3203
+ attr_accessor :compare_time
3204
+
3205
+ # JSON representation of the target version content.
3206
+ # Corresponds to the JSON property `targetVersionContentJson`
3207
+ # @return [String]
3208
+ attr_accessor :target_version_content_json
3209
+
3210
+ def initialize(**args)
3211
+ update!(**args)
3212
+ end
3213
+
3214
+ # Update properties of this object
3215
+ def update!(**args)
3216
+ @base_version_content_json = args[:base_version_content_json] if args.key?(:base_version_content_json)
3217
+ @compare_time = args[:compare_time] if args.key?(:compare_time)
3218
+ @target_version_content_json = args[:target_version_content_json] if args.key?(:target_version_content_json)
3219
+ end
3220
+ end
3221
+
3077
3222
  # Represents a result from running a test case in an agent environment.
3078
3223
  class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
3079
3224
  include Google::Apis::Core::Hashable
@@ -3792,7 +3937,7 @@ module Google
3792
3937
  include Google::Apis::Core::Hashable
3793
3938
 
3794
3939
  # Whether to run test cases in TestCasesConfig.test_cases periodically. Default
3795
- # false. If set to ture, run once a day.
3940
+ # false. If set to true, run once a day.
3796
3941
  # Corresponds to the JSON property `enableContinuousRun`
3797
3942
  # @return [Boolean]
3798
3943
  attr_accessor :enable_continuous_run
@@ -5447,6 +5592,34 @@ module Google
5447
5592
  end
5448
5593
  end
5449
5594
 
5595
+ # The response message for Changelogs.ListChangelogs.
5596
+ class GoogleCloudDialogflowCxV3beta1ListChangelogsResponse
5597
+ include Google::Apis::Core::Hashable
5598
+
5599
+ # The list of changelogs. There will be a maximum number of items returned based
5600
+ # on the page_size field in the request. The changelogs will be ordered by
5601
+ # timestamp.
5602
+ # Corresponds to the JSON property `changelogs`
5603
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Changelog>]
5604
+ attr_accessor :changelogs
5605
+
5606
+ # Token to retrieve the next page of results, or empty if there are no more
5607
+ # results in the list.
5608
+ # Corresponds to the JSON property `nextPageToken`
5609
+ # @return [String]
5610
+ attr_accessor :next_page_token
5611
+
5612
+ def initialize(**args)
5613
+ update!(**args)
5614
+ end
5615
+
5616
+ # Update properties of this object
5617
+ def update!(**args)
5618
+ @changelogs = args[:changelogs] if args.key?(:changelogs)
5619
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
5620
+ end
5621
+ end
5622
+
5450
5623
  # The response message for Environments.ListTestCaseResults.
5451
5624
  class GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse
5452
5625
  include Google::Apis::Core::Hashable
@@ -6526,6 +6699,11 @@ module Google
6526
6699
  # @return [Hash<String,Object>]
6527
6700
  attr_accessor :diagnostic_info
6528
6701
 
6702
+ # Represents the input for dtmf event.
6703
+ # Corresponds to the JSON property `dtmf`
6704
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DtmfInput]
6705
+ attr_accessor :dtmf
6706
+
6529
6707
  # An intent represents a user's intent to interact with a conversational agent.
6530
6708
  # You can provide information for the Dialogflow API to use to match user input
6531
6709
  # to an intent by adding training phrases (i.e., examples of user input) to your
@@ -6626,6 +6804,7 @@ module Google
6626
6804
  def update!(**args)
6627
6805
  @current_page = args[:current_page] if args.key?(:current_page)
6628
6806
  @diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
6807
+ @dtmf = args[:dtmf] if args.key?(:dtmf)
6629
6808
  @intent = args[:intent] if args.key?(:intent)
6630
6809
  @intent_detection_confidence = args[:intent_detection_confidence] if args.key?(:intent_detection_confidence)
6631
6810
  @language_code = args[:language_code] if args.key?(:language_code)
@@ -6755,6 +6934,12 @@ module Google
6755
6934
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio]
6756
6935
  attr_accessor :play_audio
6757
6936
 
6937
+ # Represents the signal that telles the client to transfer the phone call
6938
+ # connected to the agent to a third-party endpoint.
6939
+ # Corresponds to the JSON property `telephonyTransferCall`
6940
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall]
6941
+ attr_accessor :telephony_transfer_call
6942
+
6758
6943
  # The text response message.
6759
6944
  # Corresponds to the JSON property `text`
6760
6945
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText]
@@ -6773,6 +6958,7 @@ module Google
6773
6958
  @output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
6774
6959
  @payload = args[:payload] if args.key?(:payload)
6775
6960
  @play_audio = args[:play_audio] if args.key?(:play_audio)
6961
+ @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
6776
6962
  @text = args[:text] if args.key?(:text)
6777
6963
  end
6778
6964
  end
@@ -6965,6 +7151,27 @@ module Google
6965
7151
  end
6966
7152
  end
6967
7153
 
7154
+ # Represents the signal that telles the client to transfer the phone call
7155
+ # connected to the agent to a third-party endpoint.
7156
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
7157
+ include Google::Apis::Core::Hashable
7158
+
7159
+ # Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/
7160
+ # wiki/E.164).
7161
+ # Corresponds to the JSON property `phoneNumber`
7162
+ # @return [String]
7163
+ attr_accessor :phone_number
7164
+
7165
+ def initialize(**args)
7166
+ update!(**args)
7167
+ end
7168
+
7169
+ # Update properties of this object
7170
+ def update!(**args)
7171
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
7172
+ end
7173
+ end
7174
+
6968
7175
  # The text response message.
6969
7176
  class GoogleCloudDialogflowCxV3beta1ResponseMessageText
6970
7177
  include Google::Apis::Core::Hashable
@@ -7240,7 +7447,10 @@ module Google
7240
7447
  include Google::Apis::Core::Hashable
7241
7448
 
7242
7449
  # [DLP](https://cloud.google.com/dlp/docs) deidentify template name. Use this
7243
- # template to define de-identification configuration for the content. If empty,
7450
+ # template to define de-identification configuration for the content. The `DLP
7451
+ # De-identify Templates Reader` role is needed on the Dialogflow service
7452
+ # identity service account (has the form `service-PROJECT_NUMBER@gcp-sa-
7453
+ # dialogflow.iam.gserviceaccount.com`) for your agent's project. If empty,
7244
7454
  # Dialogflow replaces sensitive info with `[redacted]` text. The template name
7245
7455
  # will have one of the following formats: `projects//locations//
7246
7456
  # deidentifyTemplates/` OR `organizations//locations//deidentifyTemplates/` Note:
@@ -7263,11 +7473,13 @@ module Google
7263
7473
  attr_accessor :insights_export_settings
7264
7474
 
7265
7475
  # [DLP](https://cloud.google.com/dlp/docs) inspect template name. Use this
7266
- # template to define inspect base settings. If empty, we use the default DLP
7267
- # inspect config. The template name will have one of the following formats: `
7268
- # projects//locations//inspectTemplates/` OR `organizations//locations//
7269
- # inspectTemplates/` Note: `inspect_template` must be located in the same region
7270
- # as the `SecuritySettings`.
7476
+ # template to define inspect base settings. The `DLP Inspect Templates Reader`
7477
+ # role is needed on the Dialogflow service identity service account (has the
7478
+ # form `service-PROJECT_NUMBER@gcp-sa-dialogflow.iam.gserviceaccount.com`) for
7479
+ # your agent's project. If empty, we use the default DLP inspect config. The
7480
+ # template name will have one of the following formats: `projects//locations//
7481
+ # inspectTemplates/` OR `organizations//locations//inspectTemplates/` Note: `
7482
+ # inspect_template` must be located in the same region as the `SecuritySettings`.
7271
7483
  # Corresponds to the JSON property `inspectTemplate`
7272
7484
  # @return [String]
7273
7485
  attr_accessor :inspect_template
@@ -7298,10 +7510,11 @@ module Google
7298
7510
 
7299
7511
  # Retains data in interaction logging for the specified number of days. This
7300
7512
  # does not apply to Cloud logging, which is owned by the user - not Dialogflow.
7301
- # User must Set a value lower than Dialogflow's default 30d TTL. Setting a value
7302
- # higher than that has no effect. A missing value or setting to 0 also means we
7303
- # use Dialogflow's default TTL. Note: Interaction logging is a limited access
7304
- # feature. Talk to your Google representative to check availability for you.
7513
+ # User must set a value lower than Dialogflow's default 365d TTL. Setting a
7514
+ # value higher than that has no effect. A missing value or setting to 0 also
7515
+ # means we use Dialogflow's default TTL. Note: Interaction logging is a limited
7516
+ # access feature. Talk to your Google representative to check availability for
7517
+ # you.
7305
7518
  # Corresponds to the JSON property `retentionWindowDays`
7306
7519
  # @return [Fixnum]
7307
7520
  attr_accessor :retention_window_days
@@ -8475,6 +8688,18 @@ module Google
8475
8688
  class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
8476
8689
  include Google::Apis::Core::Hashable
8477
8690
 
8691
+ # Optional. Specifies a list of allowed custom CA certificates (in DER format)
8692
+ # for HTTPS verification. This overrides the default SSL trust store. If this is
8693
+ # empty or unspecified, Dialogflow will use Google's default trust store to
8694
+ # verify certificates. N.B. Make sure the HTTPS server certificates are signed
8695
+ # with "subject alt name". For instance a certificate can be self-signed using
8696
+ # the following command, openssl x509 -req -days 200 -in example.com.csr \ -
8697
+ # signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\
8698
+ # nsubjectAltName='DNS:www.example.com'")
8699
+ # Corresponds to the JSON property `allowedCaCerts`
8700
+ # @return [Array<String>]
8701
+ attr_accessor :allowed_ca_certs
8702
+
8478
8703
  # The password for HTTP Basic authentication.
8479
8704
  # Corresponds to the JSON property `password`
8480
8705
  # @return [String]
@@ -8502,6 +8727,7 @@ module Google
8502
8727
 
8503
8728
  # Update properties of this object
8504
8729
  def update!(**args)
8730
+ @allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
8505
8731
  @password = args[:password] if args.key?(:password)
8506
8732
  @request_headers = args[:request_headers] if args.key?(:request_headers)
8507
8733
  @uri = args[:uri] if args.key?(:uri)
@@ -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.22.0"
19
+ GEM_VERSION = "0.26.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 = "20210918"
25
+ REVISION = "20211201"
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
 
@@ -2876,6 +2912,8 @@ module Google
2876
2912
  hash :payload, as: 'payload'
2877
2913
  property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio::Representation
2878
2914
 
2915
+ property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall::Representation
2916
+
2879
2917
  property :text, as: 'text', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageText::Representation
2880
2918
 
2881
2919
  end
@@ -2935,6 +2973,13 @@ module Google
2935
2973
  end
2936
2974
  end
2937
2975
 
2976
+ class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
2977
+ # @private
2978
+ class Representation < Google::Apis::Core::JsonRepresentation
2979
+ property :phone_number, as: 'phoneNumber'
2980
+ end
2981
+ end
2982
+
2938
2983
  class GoogleCloudDialogflowCxV3ResponseMessageText
2939
2984
  # @private
2940
2985
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3256,6 +3301,36 @@ module Google
3256
3301
  end
3257
3302
  end
3258
3303
 
3304
+ class GoogleCloudDialogflowCxV3beta1Changelog
3305
+ # @private
3306
+ class Representation < Google::Apis::Core::JsonRepresentation
3307
+ property :action, as: 'action'
3308
+ property :create_time, as: 'createTime'
3309
+ property :display_name, as: 'displayName'
3310
+ property :name, as: 'name'
3311
+ property :resource, as: 'resource'
3312
+ property :type, as: 'type'
3313
+ property :user_email, as: 'userEmail'
3314
+ end
3315
+ end
3316
+
3317
+ class GoogleCloudDialogflowCxV3beta1CompareVersionsRequest
3318
+ # @private
3319
+ class Representation < Google::Apis::Core::JsonRepresentation
3320
+ property :language_code, as: 'languageCode'
3321
+ property :target_version, as: 'targetVersion'
3322
+ end
3323
+ end
3324
+
3325
+ class GoogleCloudDialogflowCxV3beta1CompareVersionsResponse
3326
+ # @private
3327
+ class Representation < Google::Apis::Core::JsonRepresentation
3328
+ property :base_version_content_json, as: 'baseVersionContentJson'
3329
+ property :compare_time, as: 'compareTime'
3330
+ property :target_version_content_json, as: 'targetVersionContentJson'
3331
+ end
3332
+ end
3333
+
3259
3334
  class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
3260
3335
  # @private
3261
3336
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3902,6 +3977,15 @@ module Google
3902
3977
  end
3903
3978
  end
3904
3979
 
3980
+ class GoogleCloudDialogflowCxV3beta1ListChangelogsResponse
3981
+ # @private
3982
+ class Representation < Google::Apis::Core::JsonRepresentation
3983
+ collection :changelogs, as: 'changelogs', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Changelog, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Changelog::Representation
3984
+
3985
+ property :next_page_token, as: 'nextPageToken'
3986
+ end
3987
+ end
3988
+
3905
3989
  class GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse
3906
3990
  # @private
3907
3991
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4195,6 +4279,8 @@ module Google
4195
4279
  property :current_page, as: 'currentPage', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page::Representation
4196
4280
 
4197
4281
  hash :diagnostic_info, as: 'diagnosticInfo'
4282
+ property :dtmf, as: 'dtmf', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DtmfInput, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DtmfInput::Representation
4283
+
4198
4284
  property :intent, as: 'intent', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent::Representation
4199
4285
 
4200
4286
  property :intent_detection_confidence, as: 'intentDetectionConfidence'
@@ -4248,6 +4334,8 @@ module Google
4248
4334
  hash :payload, as: 'payload'
4249
4335
  property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio::Representation
4250
4336
 
4337
+ property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall::Representation
4338
+
4251
4339
  property :text, as: 'text', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
4252
4340
 
4253
4341
  end
@@ -4307,6 +4395,13 @@ module Google
4307
4395
  end
4308
4396
  end
4309
4397
 
4398
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
4399
+ # @private
4400
+ class Representation < Google::Apis::Core::JsonRepresentation
4401
+ property :phone_number, as: 'phoneNumber'
4402
+ end
4403
+ end
4404
+
4310
4405
  class GoogleCloudDialogflowCxV3beta1ResponseMessageText
4311
4406
  # @private
4312
4407
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4738,6 +4833,7 @@ module Google
4738
4833
  class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
4739
4834
  # @private
4740
4835
  class Representation < Google::Apis::Core::JsonRepresentation
4836
+ collection :allowed_ca_certs, as: 'allowedCaCerts'
4741
4837
  property :password, as: 'password'
4742
4838
  hash :request_headers, as: 'requestHeaders'
4743
4839
  property :uri, as: 'uri'
@@ -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.22.0
4
+ version: 0.26.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-09-27 00:00:00.000000000 Z
11
+ date: 2021-12-06 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.22.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.26.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: