google-apis-dialogflow_v3 0.69.0 → 0.70.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: 87ae2e92e78fb807fc6d8b7340e6d85f93870c59b9d88c0d765f97a75149d6a3
4
- data.tar.gz: 0d1ba2b029decedb77b347e99193962b18e54b232f5b87aedec627ecef2b30ef
3
+ metadata.gz: e3104145e1bcc801ad5484a6d250ebf652a6e1f3cc915425b67628de35d775d3
4
+ data.tar.gz: 13ec5b666e407637ad2f30ebee9685a5c41d21835e49011480c650fd9ada7633
5
5
  SHA512:
6
- metadata.gz: d226bff06b23bbb846b42192f2b6ca53af48660c1745ce4847ad2e195c7a6240aebcd7aa39e58baec1577d1d996994b42c6565ca55449d1b9a580b45db6818db
7
- data.tar.gz: 1b7d68646069e69a44d2f279e8e3787d3fc4d05e494fb82dfab45ca319978e1f93576d7373d38a2ae208ffa4b0256ff378e97e7d66ed237e216dfdfd5f10d427
6
+ metadata.gz: 1890df9f3ca2b527055a2d828dfa0bea51f5df5138b44ab9f94318bf971baa1ec89f88505b2b3a9c9511c6f75b250bfa4b377031e679444b539dbfc2d557ee31
7
+ data.tar.gz: dd022028c6dbb75016b6ed4d2c043ee29abaa6ac7f84e576ec56e11b249d78f744d7a881c9ad6aa287931108dc4c75c52c3dea26256b81925e435a8283b4cc5b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.70.0 (2023-10-29)
4
+
5
+ * Regenerated from discovery document revision 20231019
6
+
3
7
  ### v0.69.0 (2023-09-24)
4
8
 
5
9
  * Regenerated from discovery document revision 20230919
@@ -4773,6 +4773,16 @@ module Google
4773
4773
  attr_accessor :disable_webhook
4774
4774
  alias_method :disable_webhook?, :disable_webhook
4775
4775
 
4776
+ # Optional. Information about the end-user to improve the relevance and accuracy
4777
+ # of generative answers. This will be interpreted and used by a language model,
4778
+ # so, for good results, the data should be self-descriptive, and in a simple
4779
+ # structure. Example: ```json ` "subscription plan": "Business Premium Plus", "
4780
+ # devices owned": [ `"model": "Google Pixel 7"`, `"model": "Google Pixel Tablet"`
4781
+ # ] ` ```
4782
+ # Corresponds to the JSON property `endUserMetadata`
4783
+ # @return [Hash<String,Object>]
4784
+ attr_accessor :end_user_metadata
4785
+
4776
4786
  # A list of flow versions to override for the request. Format: `projects//
4777
4787
  # locations//agents//flows//versions/`. If version 1 of flow X is included in
4778
4788
  # this list, the traffic of flow X will go through version 1 regardless of the
@@ -4858,6 +4868,7 @@ module Google
4858
4868
  @channel = args[:channel] if args.key?(:channel)
4859
4869
  @current_page = args[:current_page] if args.key?(:current_page)
4860
4870
  @disable_webhook = args[:disable_webhook] if args.key?(:disable_webhook)
4871
+ @end_user_metadata = args[:end_user_metadata] if args.key?(:end_user_metadata)
4861
4872
  @flow_versions = args[:flow_versions] if args.key?(:flow_versions)
4862
4873
  @geo_location = args[:geo_location] if args.key?(:geo_location)
4863
4874
  @parameters = args[:parameters] if args.key?(:parameters)
@@ -11627,6 +11638,37 @@ module Google
11627
11638
  end
11628
11639
  end
11629
11640
 
11641
+ # A customer-managed encryption key specification that can be applied to all
11642
+ # created resources (e.g. Conversation).
11643
+ class GoogleCloudDialogflowV2EncryptionSpec
11644
+ include Google::Apis::Core::Hashable
11645
+
11646
+ # Required. The name of customer-managed encryption key that is used to secure a
11647
+ # resource and its sub-resources. If empty, the resource is secured by the
11648
+ # default Google encryption key. Only the key in the same location as this
11649
+ # resource is allowed to be used for encryption. Format: `projects/`project`/
11650
+ # locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
11651
+ # Corresponds to the JSON property `kmsKey`
11652
+ # @return [String]
11653
+ attr_accessor :kms_key
11654
+
11655
+ # Immutable. The resource name of the encryption key specification resource.
11656
+ # Format: projects/`project`/locations/`location`/encryptionSpec
11657
+ # Corresponds to the JSON property `name`
11658
+ # @return [String]
11659
+ attr_accessor :name
11660
+
11661
+ def initialize(**args)
11662
+ update!(**args)
11663
+ end
11664
+
11665
+ # Update properties of this object
11666
+ def update!(**args)
11667
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
11668
+ @name = args[:name] if args.key?(:name)
11669
+ end
11670
+ end
11671
+
11630
11672
  # Each intent parameter has a type, called the entity type, which dictates
11631
11673
  # exactly how data from an end-user expression is extracted. Dialogflow provides
11632
11674
  # predefined system entities that can match many common types of data. For
@@ -12001,6 +12043,45 @@ module Google
12001
12043
  end
12002
12044
  end
12003
12045
 
12046
+ # Metadata for initializing a location-level encryption specification.
12047
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
12048
+ include Google::Apis::Core::Hashable
12049
+
12050
+ # The request to initialize a location-level encryption specification.
12051
+ # Corresponds to the JSON property `request`
12052
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest]
12053
+ attr_accessor :request
12054
+
12055
+ def initialize(**args)
12056
+ update!(**args)
12057
+ end
12058
+
12059
+ # Update properties of this object
12060
+ def update!(**args)
12061
+ @request = args[:request] if args.key?(:request)
12062
+ end
12063
+ end
12064
+
12065
+ # The request to initialize a location-level encryption specification.
12066
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
12067
+ include Google::Apis::Core::Hashable
12068
+
12069
+ # A customer-managed encryption key specification that can be applied to all
12070
+ # created resources (e.g. Conversation).
12071
+ # Corresponds to the JSON property `encryptionSpec`
12072
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2EncryptionSpec]
12073
+ attr_accessor :encryption_spec
12074
+
12075
+ def initialize(**args)
12076
+ update!(**args)
12077
+ end
12078
+
12079
+ # Update properties of this object
12080
+ def update!(**args)
12081
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
12082
+ end
12083
+ end
12084
+
12004
12085
  # InputDataset used to create model or do evaluation. NextID:5
12005
12086
  class GoogleCloudDialogflowV2InputDataset
12006
12087
  include Google::Apis::Core::Hashable
@@ -14403,6 +14484,37 @@ module Google
14403
14484
  end
14404
14485
  end
14405
14486
 
14487
+ # A customer-managed encryption key specification that can be applied to all
14488
+ # created resources (e.g. Conversation).
14489
+ class GoogleCloudDialogflowV2beta1EncryptionSpec
14490
+ include Google::Apis::Core::Hashable
14491
+
14492
+ # Required. The name of customer-managed encryption key that is used to secure a
14493
+ # resource and its sub-resources. If empty, the resource is secured by the
14494
+ # default Google encryption key. Only the key in the same location as this
14495
+ # resource is allowed to be used for encryption. Format: `projects/`project`/
14496
+ # locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
14497
+ # Corresponds to the JSON property `kmsKey`
14498
+ # @return [String]
14499
+ attr_accessor :kms_key
14500
+
14501
+ # Immutable. The resource name of the encryption key specification resource.
14502
+ # Format: projects/`project`/locations/`location`/encryptionSpec
14503
+ # Corresponds to the JSON property `name`
14504
+ # @return [String]
14505
+ attr_accessor :name
14506
+
14507
+ def initialize(**args)
14508
+ update!(**args)
14509
+ end
14510
+
14511
+ # Update properties of this object
14512
+ def update!(**args)
14513
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
14514
+ @name = args[:name] if args.key?(:name)
14515
+ end
14516
+ end
14517
+
14406
14518
  # Each intent parameter has a type, called the entity type, which dictates
14407
14519
  # exactly how data from an end-user expression is extracted. Dialogflow provides
14408
14520
  # predefined system entities that can match many common types of data. For
@@ -14721,6 +14833,45 @@ module Google
14721
14833
  end
14722
14834
  end
14723
14835
 
14836
+ # Metadata for initializing a location-level encryption specification.
14837
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
14838
+ include Google::Apis::Core::Hashable
14839
+
14840
+ # The request to initialize a location-level encryption specification.
14841
+ # Corresponds to the JSON property `request`
14842
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest]
14843
+ attr_accessor :request
14844
+
14845
+ def initialize(**args)
14846
+ update!(**args)
14847
+ end
14848
+
14849
+ # Update properties of this object
14850
+ def update!(**args)
14851
+ @request = args[:request] if args.key?(:request)
14852
+ end
14853
+ end
14854
+
14855
+ # The request to initialize a location-level encryption specification.
14856
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
14857
+ include Google::Apis::Core::Hashable
14858
+
14859
+ # A customer-managed encryption key specification that can be applied to all
14860
+ # created resources (e.g. Conversation).
14861
+ # Corresponds to the JSON property `encryptionSpec`
14862
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1EncryptionSpec]
14863
+ attr_accessor :encryption_spec
14864
+
14865
+ def initialize(**args)
14866
+ update!(**args)
14867
+ end
14868
+
14869
+ # Update properties of this object
14870
+ def update!(**args)
14871
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
14872
+ end
14873
+ end
14874
+
14724
14875
  # An intent categorizes an end-user's intention for one conversation turn. For
14725
14876
  # each agent, you define many intents, where your combined intents can handle a
14726
14877
  # complete conversation. When an end-user writes or says something, referred to
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3
18
18
  # Version of the google-apis-dialogflow_v3 gem
19
- GEM_VERSION = "0.69.0"
19
+ GEM_VERSION = "0.70.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230919"
25
+ REVISION = "20231019"
26
26
  end
27
27
  end
28
28
  end
@@ -1930,6 +1930,12 @@ module Google
1930
1930
  include Google::Apis::Core::JsonObjectSupport
1931
1931
  end
1932
1932
 
1933
+ class GoogleCloudDialogflowV2EncryptionSpec
1934
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1935
+
1936
+ include Google::Apis::Core::JsonObjectSupport
1937
+ end
1938
+
1933
1939
  class GoogleCloudDialogflowV2EntityType
1934
1940
  class Representation < Google::Apis::Core::JsonRepresentation; end
1935
1941
 
@@ -1996,6 +2002,18 @@ module Google
1996
2002
  include Google::Apis::Core::JsonObjectSupport
1997
2003
  end
1998
2004
 
2005
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
2006
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2007
+
2008
+ include Google::Apis::Core::JsonObjectSupport
2009
+ end
2010
+
2011
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
2012
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2013
+
2014
+ include Google::Apis::Core::JsonObjectSupport
2015
+ end
2016
+
1999
2017
  class GoogleCloudDialogflowV2InputDataset
2000
2018
  class Representation < Google::Apis::Core::JsonRepresentation; end
2001
2019
 
@@ -2356,6 +2374,12 @@ module Google
2356
2374
  include Google::Apis::Core::JsonObjectSupport
2357
2375
  end
2358
2376
 
2377
+ class GoogleCloudDialogflowV2beta1EncryptionSpec
2378
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2379
+
2380
+ include Google::Apis::Core::JsonObjectSupport
2381
+ end
2382
+
2359
2383
  class GoogleCloudDialogflowV2beta1EntityType
2360
2384
  class Representation < Google::Apis::Core::JsonRepresentation; end
2361
2385
 
@@ -2410,6 +2434,18 @@ module Google
2410
2434
  include Google::Apis::Core::JsonObjectSupport
2411
2435
  end
2412
2436
 
2437
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
2438
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2439
+
2440
+ include Google::Apis::Core::JsonObjectSupport
2441
+ end
2442
+
2443
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
2444
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2445
+
2446
+ include Google::Apis::Core::JsonObjectSupport
2447
+ end
2448
+
2413
2449
  class GoogleCloudDialogflowV2beta1Intent
2414
2450
  class Representation < Google::Apis::Core::JsonRepresentation; end
2415
2451
 
@@ -4212,6 +4248,7 @@ module Google
4212
4248
  property :channel, as: 'channel'
4213
4249
  property :current_page, as: 'currentPage'
4214
4250
  property :disable_webhook, as: 'disableWebhook'
4251
+ hash :end_user_metadata, as: 'endUserMetadata'
4215
4252
  collection :flow_versions, as: 'flowVersions'
4216
4253
  property :geo_location, as: 'geoLocation', class: Google::Apis::DialogflowV3::GoogleTypeLatLng, decorator: Google::Apis::DialogflowV3::GoogleTypeLatLng::Representation
4217
4254
 
@@ -6071,6 +6108,14 @@ module Google
6071
6108
  end
6072
6109
  end
6073
6110
 
6111
+ class GoogleCloudDialogflowV2EncryptionSpec
6112
+ # @private
6113
+ class Representation < Google::Apis::Core::JsonRepresentation
6114
+ property :kms_key, as: 'kmsKey'
6115
+ property :name, as: 'name'
6116
+ end
6117
+ end
6118
+
6074
6119
  class GoogleCloudDialogflowV2EntityType
6075
6120
  # @private
6076
6121
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6172,6 +6217,22 @@ module Google
6172
6217
  end
6173
6218
  end
6174
6219
 
6220
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
6221
+ # @private
6222
+ class Representation < Google::Apis::Core::JsonRepresentation
6223
+ property :request, as: 'request', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest::Representation
6224
+
6225
+ end
6226
+ end
6227
+
6228
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
6229
+ # @private
6230
+ class Representation < Google::Apis::Core::JsonRepresentation
6231
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2EncryptionSpec, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2EncryptionSpec::Representation
6232
+
6233
+ end
6234
+ end
6235
+
6175
6236
  class GoogleCloudDialogflowV2InputDataset
6176
6237
  # @private
6177
6238
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6822,6 +6883,14 @@ module Google
6822
6883
  end
6823
6884
  end
6824
6885
 
6886
+ class GoogleCloudDialogflowV2beta1EncryptionSpec
6887
+ # @private
6888
+ class Representation < Google::Apis::Core::JsonRepresentation
6889
+ property :kms_key, as: 'kmsKey'
6890
+ property :name, as: 'name'
6891
+ end
6892
+ end
6893
+
6825
6894
  class GoogleCloudDialogflowV2beta1EntityType
6826
6895
  # @private
6827
6896
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6905,6 +6974,22 @@ module Google
6905
6974
  end
6906
6975
  end
6907
6976
 
6977
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
6978
+ # @private
6979
+ class Representation < Google::Apis::Core::JsonRepresentation
6980
+ property :request, as: 'request', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest::Representation
6981
+
6982
+ end
6983
+ end
6984
+
6985
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
6986
+ # @private
6987
+ class Representation < Google::Apis::Core::JsonRepresentation
6988
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1EncryptionSpec, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1EncryptionSpec::Representation
6989
+
6990
+ end
6991
+ end
6992
+
6908
6993
  class GoogleCloudDialogflowV2beta1Intent
6909
6994
  # @private
6910
6995
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.69.0
4
+ version: 0.70.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: 2023-09-24 00:00:00.000000000 Z
11
+ date: 2023-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.69.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.70.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3
63
63
  post_install_message:
64
64
  rdoc_options: []