google-apis-dialogflow_v2 0.72.0 → 0.73.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: a8dba1540e54c59774910e8f9c3ee28bd42de2bb6ed814228e736a17dcbd0afa
4
- data.tar.gz: 9dc797324e777face90a73d76351a017828a0589d1516c714b3c1c4231d3effb
3
+ metadata.gz: 25dac0cd499030a83018e7dc868d062cb0ecb92007f250062e56a6c2538bcb33
4
+ data.tar.gz: 17997efd8666b5659e5c3403b8c0c682f24c0268ad54b1911cfefee120cf04f7
5
5
  SHA512:
6
- metadata.gz: a91da83321bbfba77b1415d7ddf04682061138c8c3545318622c7d310ddf4f1cb63580f898b6e4362c4126f90b427e303ec8d5a9fc802e9521fd9a56a54a33dc
7
- data.tar.gz: 61d89509ce8f28f46aa1c9ee48ce2783e1ebf8d2962933604f3aa7ccccdb7ac6e7832a7b394706bfcf5f93b312a29b6f3b515402517a23229f7a165d9ba340ae
6
+ metadata.gz: edaf881725ac4b8d0c7131aa55ee828210de0b13bca3e59daa15daf211be4c4b278ab660a408f2eb31c33cc894bda998da6d289ad4172431472be5a7f4a0b305
7
+ data.tar.gz: a56812052b6286664ace78ec8d3b0b81d8454f457b60d609c1d74e7d6aba27d7718d564b22c7594eeeb0f6366d337d7e9af9aeb2ec1281b20198623f2af95fcb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2
2
2
 
3
+ ### v0.73.0 (2023-12-03)
4
+
5
+ * Regenerated from discovery document revision 20231129
6
+
3
7
  ### v0.72.0 (2023-11-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20231109
@@ -9225,37 +9225,6 @@ module Google
9225
9225
  end
9226
9226
  end
9227
9227
 
9228
- # A customer-managed encryption key specification that can be applied to all
9229
- # created resources (e.g. Conversation).
9230
- class GoogleCloudDialogflowV2EncryptionSpec
9231
- include Google::Apis::Core::Hashable
9232
-
9233
- # Required. The name of customer-managed encryption key that is used to secure a
9234
- # resource and its sub-resources. If empty, the resource is secured by the
9235
- # default Google encryption key. Only the key in the same location as this
9236
- # resource is allowed to be used for encryption. Format: `projects/`project`/
9237
- # locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
9238
- # Corresponds to the JSON property `kmsKey`
9239
- # @return [String]
9240
- attr_accessor :kms_key
9241
-
9242
- # Immutable. The resource name of the encryption key specification resource.
9243
- # Format: projects/`project`/locations/`location`/encryptionSpec
9244
- # Corresponds to the JSON property `name`
9245
- # @return [String]
9246
- attr_accessor :name
9247
-
9248
- def initialize(**args)
9249
- update!(**args)
9250
- end
9251
-
9252
- # Update properties of this object
9253
- def update!(**args)
9254
- @kms_key = args[:kms_key] if args.key?(:kms_key)
9255
- @name = args[:name] if args.key?(:name)
9256
- end
9257
- end
9258
-
9259
9228
  # Each intent parameter has a type, called the entity type, which dictates
9260
9229
  # exactly how data from an end-user expression is extracted. Dialogflow provides
9261
9230
  # predefined system entities that can match many common types of data. For
@@ -10381,6 +10350,13 @@ module Google
10381
10350
  # @return [Fixnum]
10382
10351
  attr_accessor :max_results
10383
10352
 
10353
+ # Custom sections to return when requesting a summary of a conversation. This is
10354
+ # only supported when `baseline_model_version` == '2.0'. Supported features:
10355
+ # CONVERSATION_SUMMARIZATION, CONVERSATION_SUMMARIZATION_VOICE.
10356
+ # Corresponds to the JSON property `sections`
10357
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections]
10358
+ attr_accessor :sections
10359
+
10384
10360
  def initialize(**args)
10385
10361
  update!(**args)
10386
10362
  end
@@ -10393,6 +10369,7 @@ module Google
10393
10369
  @document_query_source = args[:document_query_source] if args.key?(:document_query_source)
10394
10370
  @knowledge_base_query_source = args[:knowledge_base_query_source] if args.key?(:knowledge_base_query_source)
10395
10371
  @max_results = args[:max_results] if args.key?(:max_results)
10372
+ @sections = args[:sections] if args.key?(:sections)
10396
10373
  end
10397
10374
  end
10398
10375
 
@@ -10519,6 +10496,30 @@ module Google
10519
10496
  end
10520
10497
  end
10521
10498
 
10499
+ # Custom sections to return when requesting a summary of a conversation. This is
10500
+ # only supported when `baseline_model_version` == '2.0'. Supported features:
10501
+ # CONVERSATION_SUMMARIZATION, CONVERSATION_SUMMARIZATION_VOICE.
10502
+ class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections
10503
+ include Google::Apis::Core::Hashable
10504
+
10505
+ # The selected sections chosen to return when requesting a summary of a
10506
+ # conversation. A duplicate selected section will be treated as a single
10507
+ # selected section. If section types are not provided, the default will be `
10508
+ # SITUATION, ACTION, RESULT`.
10509
+ # Corresponds to the JSON property `sectionTypes`
10510
+ # @return [Array<String>]
10511
+ attr_accessor :section_types
10512
+
10513
+ def initialize(**args)
10514
+ update!(**args)
10515
+ end
10516
+
10517
+ # Update properties of this object
10518
+ def update!(**args)
10519
+ @section_types = args[:section_types] if args.key?(:section_types)
10520
+ end
10521
+ end
10522
+
10522
10523
  # Settings of suggestion trigger.
10523
10524
  class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings
10524
10525
  include Google::Apis::Core::Hashable
@@ -10865,45 +10866,6 @@ module Google
10865
10866
  end
10866
10867
  end
10867
10868
 
10868
- # Metadata for initializing a location-level encryption specification.
10869
- class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
10870
- include Google::Apis::Core::Hashable
10871
-
10872
- # The request to initialize a location-level encryption specification.
10873
- # Corresponds to the JSON property `request`
10874
- # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest]
10875
- attr_accessor :request
10876
-
10877
- def initialize(**args)
10878
- update!(**args)
10879
- end
10880
-
10881
- # Update properties of this object
10882
- def update!(**args)
10883
- @request = args[:request] if args.key?(:request)
10884
- end
10885
- end
10886
-
10887
- # The request to initialize a location-level encryption specification.
10888
- class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
10889
- include Google::Apis::Core::Hashable
10890
-
10891
- # A customer-managed encryption key specification that can be applied to all
10892
- # created resources (e.g. Conversation).
10893
- # Corresponds to the JSON property `encryptionSpec`
10894
- # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EncryptionSpec]
10895
- attr_accessor :encryption_spec
10896
-
10897
- def initialize(**args)
10898
- update!(**args)
10899
- end
10900
-
10901
- # Update properties of this object
10902
- def update!(**args)
10903
- @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
10904
- end
10905
- end
10906
-
10907
10869
  # Instructs the speech recognizer how to process the audio content.
10908
10870
  class GoogleCloudDialogflowV2InputAudioConfig
10909
10871
  include Google::Apis::Core::Hashable
@@ -15252,37 +15214,6 @@ module Google
15252
15214
  end
15253
15215
  end
15254
15216
 
15255
- # A customer-managed encryption key specification that can be applied to all
15256
- # created resources (e.g. Conversation).
15257
- class GoogleCloudDialogflowV2beta1EncryptionSpec
15258
- include Google::Apis::Core::Hashable
15259
-
15260
- # Required. The name of customer-managed encryption key that is used to secure a
15261
- # resource and its sub-resources. If empty, the resource is secured by the
15262
- # default Google encryption key. Only the key in the same location as this
15263
- # resource is allowed to be used for encryption. Format: `projects/`project`/
15264
- # locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
15265
- # Corresponds to the JSON property `kmsKey`
15266
- # @return [String]
15267
- attr_accessor :kms_key
15268
-
15269
- # Immutable. The resource name of the encryption key specification resource.
15270
- # Format: projects/`project`/locations/`location`/encryptionSpec
15271
- # Corresponds to the JSON property `name`
15272
- # @return [String]
15273
- attr_accessor :name
15274
-
15275
- def initialize(**args)
15276
- update!(**args)
15277
- end
15278
-
15279
- # Update properties of this object
15280
- def update!(**args)
15281
- @kms_key = args[:kms_key] if args.key?(:kms_key)
15282
- @name = args[:name] if args.key?(:name)
15283
- end
15284
- end
15285
-
15286
15217
  # Each intent parameter has a type, called the entity type, which dictates
15287
15218
  # exactly how data from an end-user expression is extracted. Dialogflow provides
15288
15219
  # predefined system entities that can match many common types of data. For
@@ -15601,45 +15532,6 @@ module Google
15601
15532
  end
15602
15533
  end
15603
15534
 
15604
- # Metadata for initializing a location-level encryption specification.
15605
- class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
15606
- include Google::Apis::Core::Hashable
15607
-
15608
- # The request to initialize a location-level encryption specification.
15609
- # Corresponds to the JSON property `request`
15610
- # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest]
15611
- attr_accessor :request
15612
-
15613
- def initialize(**args)
15614
- update!(**args)
15615
- end
15616
-
15617
- # Update properties of this object
15618
- def update!(**args)
15619
- @request = args[:request] if args.key?(:request)
15620
- end
15621
- end
15622
-
15623
- # The request to initialize a location-level encryption specification.
15624
- class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
15625
- include Google::Apis::Core::Hashable
15626
-
15627
- # A customer-managed encryption key specification that can be applied to all
15628
- # created resources (e.g. Conversation).
15629
- # Corresponds to the JSON property `encryptionSpec`
15630
- # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EncryptionSpec]
15631
- attr_accessor :encryption_spec
15632
-
15633
- def initialize(**args)
15634
- update!(**args)
15635
- end
15636
-
15637
- # Update properties of this object
15638
- def update!(**args)
15639
- @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
15640
- end
15641
- end
15642
-
15643
15535
  # An intent categorizes an end-user's intention for one conversation turn. For
15644
15536
  # each agent, you define many intents, where your combined intents can handle a
15645
15537
  # 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 DialogflowV2
18
18
  # Version of the google-apis-dialogflow_v2 gem
19
- GEM_VERSION = "0.72.0"
19
+ GEM_VERSION = "0.73.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 = "20231109"
25
+ REVISION = "20231129"
26
26
  end
27
27
  end
28
28
  end
@@ -1510,12 +1510,6 @@ module Google
1510
1510
  include Google::Apis::Core::JsonObjectSupport
1511
1511
  end
1512
1512
 
1513
- class GoogleCloudDialogflowV2EncryptionSpec
1514
- class Representation < Google::Apis::Core::JsonRepresentation; end
1515
-
1516
- include Google::Apis::Core::JsonObjectSupport
1517
- end
1518
-
1519
1513
  class GoogleCloudDialogflowV2EntityType
1520
1514
  class Representation < Google::Apis::Core::JsonRepresentation; end
1521
1515
 
@@ -1732,6 +1726,12 @@ module Google
1732
1726
  include Google::Apis::Core::JsonObjectSupport
1733
1727
  end
1734
1728
 
1729
+ class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections
1730
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1731
+
1732
+ include Google::Apis::Core::JsonObjectSupport
1733
+ end
1734
+
1735
1735
  class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings
1736
1736
  class Representation < Google::Apis::Core::JsonRepresentation; end
1737
1737
 
@@ -1804,18 +1804,6 @@ module Google
1804
1804
  include Google::Apis::Core::JsonObjectSupport
1805
1805
  end
1806
1806
 
1807
- class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
1808
- class Representation < Google::Apis::Core::JsonRepresentation; end
1809
-
1810
- include Google::Apis::Core::JsonObjectSupport
1811
- end
1812
-
1813
- class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
1814
- class Representation < Google::Apis::Core::JsonRepresentation; end
1815
-
1816
- include Google::Apis::Core::JsonObjectSupport
1817
- end
1818
-
1819
1807
  class GoogleCloudDialogflowV2InputAudioConfig
1820
1808
  class Representation < Google::Apis::Core::JsonRepresentation; end
1821
1809
 
@@ -2524,12 +2512,6 @@ module Google
2524
2512
  include Google::Apis::Core::JsonObjectSupport
2525
2513
  end
2526
2514
 
2527
- class GoogleCloudDialogflowV2beta1EncryptionSpec
2528
- class Representation < Google::Apis::Core::JsonRepresentation; end
2529
-
2530
- include Google::Apis::Core::JsonObjectSupport
2531
- end
2532
-
2533
2515
  class GoogleCloudDialogflowV2beta1EntityType
2534
2516
  class Representation < Google::Apis::Core::JsonRepresentation; end
2535
2517
 
@@ -2584,18 +2566,6 @@ module Google
2584
2566
  include Google::Apis::Core::JsonObjectSupport
2585
2567
  end
2586
2568
 
2587
- class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
2588
- class Representation < Google::Apis::Core::JsonRepresentation; end
2589
-
2590
- include Google::Apis::Core::JsonObjectSupport
2591
- end
2592
-
2593
- class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
2594
- class Representation < Google::Apis::Core::JsonRepresentation; end
2595
-
2596
- include Google::Apis::Core::JsonObjectSupport
2597
- end
2598
-
2599
2569
  class GoogleCloudDialogflowV2beta1Intent
2600
2570
  class Representation < Google::Apis::Core::JsonRepresentation; end
2601
2571
 
@@ -5585,14 +5555,6 @@ module Google
5585
5555
  end
5586
5556
  end
5587
5557
 
5588
- class GoogleCloudDialogflowV2EncryptionSpec
5589
- # @private
5590
- class Representation < Google::Apis::Core::JsonRepresentation
5591
- property :kms_key, as: 'kmsKey'
5592
- property :name, as: 'name'
5593
- end
5594
- end
5595
-
5596
5558
  class GoogleCloudDialogflowV2EntityType
5597
5559
  # @private
5598
5560
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5899,6 +5861,8 @@ module Google
5899
5861
  property :knowledge_base_query_source, as: 'knowledgeBaseQuerySource', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource::Representation
5900
5862
 
5901
5863
  property :max_results, as: 'maxResults'
5864
+ property :sections, as: 'sections', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections::Representation
5865
+
5902
5866
  end
5903
5867
  end
5904
5868
 
@@ -5941,6 +5905,13 @@ module Google
5941
5905
  end
5942
5906
  end
5943
5907
 
5908
+ class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections
5909
+ # @private
5910
+ class Representation < Google::Apis::Core::JsonRepresentation
5911
+ collection :section_types, as: 'sectionTypes'
5912
+ end
5913
+ end
5914
+
5944
5915
  class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings
5945
5916
  # @private
5946
5917
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6048,22 +6019,6 @@ module Google
6048
6019
  end
6049
6020
  end
6050
6021
 
6051
- class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
6052
- # @private
6053
- class Representation < Google::Apis::Core::JsonRepresentation
6054
- property :request, as: 'request', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest::Representation
6055
-
6056
- end
6057
- end
6058
-
6059
- class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
6060
- # @private
6061
- class Representation < Google::Apis::Core::JsonRepresentation
6062
- property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EncryptionSpec, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EncryptionSpec::Representation
6063
-
6064
- end
6065
- end
6066
-
6067
6022
  class GoogleCloudDialogflowV2InputAudioConfig
6068
6023
  # @private
6069
6024
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7257,14 +7212,6 @@ module Google
7257
7212
  end
7258
7213
  end
7259
7214
 
7260
- class GoogleCloudDialogflowV2beta1EncryptionSpec
7261
- # @private
7262
- class Representation < Google::Apis::Core::JsonRepresentation
7263
- property :kms_key, as: 'kmsKey'
7264
- property :name, as: 'name'
7265
- end
7266
- end
7267
-
7268
7215
  class GoogleCloudDialogflowV2beta1EntityType
7269
7216
  # @private
7270
7217
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7348,22 +7295,6 @@ module Google
7348
7295
  end
7349
7296
  end
7350
7297
 
7351
- class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
7352
- # @private
7353
- class Representation < Google::Apis::Core::JsonRepresentation
7354
- property :request, as: 'request', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest::Representation
7355
-
7356
- end
7357
- end
7358
-
7359
- class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
7360
- # @private
7361
- class Representation < Google::Apis::Core::JsonRepresentation
7362
- property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EncryptionSpec, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EncryptionSpec::Representation
7363
-
7364
- end
7365
- end
7366
-
7367
7298
  class GoogleCloudDialogflowV2beta1Intent
7368
7299
  # @private
7369
7300
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.72.0
4
+ version: 0.73.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-11-19 00:00:00.000000000 Z
11
+ date: 2023-12-03 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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.72.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.73.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
63
63
  post_install_message:
64
64
  rdoc_options: []