google-apis-dialogflow_v2 0.76.0 → 0.78.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: 8af2f634c304e351f9c00db8eff0c7150f1c94432049aefa810b1cc3f31a7634
4
- data.tar.gz: 2b7efbacf325f587903e02c7038bbc2ce4f44537ab2cfaa00f06fdef26e015f6
3
+ metadata.gz: 1c75ee4fbedf1b5d2150b96579ccc9f6f16cd9cc6f293e9698698270d4c0b36b
4
+ data.tar.gz: cb9e491023dbc54e15a0c5a8496c16074bfef84b10ea5e9ad4e774a1531a65cf
5
5
  SHA512:
6
- metadata.gz: 1df3ae6454f03a6c19c7afe93b2e929cc9d12abf148bb08360b6e4a735f82707af76488893da1227ba1a0c36a2f8a9749d99557a5444933d7a372de1e08ed4a3
7
- data.tar.gz: 0d4843bff93784e10af432ad5bee4daf9c8e1bf3a90e8754103ac02fa24d448f53297110afc55dd8c34c1ebdc8071ea1ee3e57f57e42e1f2cece49c20fba7495
6
+ metadata.gz: 14291638961f08e832cf8edb80100c57560ee5ceba241f15503784c9e07557b2d6e66f98e7a8ee45a0664adcbf4d0bbb481fe399f261a2228c8494e3c9da9553
7
+ data.tar.gz: '0808525b975b6c8512912e2e35995b9308f65c5b64d9d001026ee261660bd5dea22a7b9713046f70f3c26765569bc254bd87a6cebf6510d78991d2390ea7ee84'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-dialogflow_v2
2
2
 
3
+ ### v0.78.0 (2024-01-23)
4
+
5
+ * Regenerated from discovery document revision 20240113
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.77.0 (2024-01-07)
9
+
10
+ * Regenerated from discovery document revision 20240102
11
+
3
12
  ### v0.76.0 (2023-12-24)
4
13
 
5
14
  * Regenerated from discovery document revision 20231215
@@ -338,7 +338,8 @@ module Google
338
338
  # Represents the query input. It can contain one of: 1. A conversational query
339
339
  # in the form of text. 2. An intent query that specifies which intent to trigger.
340
340
  # 3. Natural language speech audio to be processed. 4. An event to be triggered.
341
- # 5. DTMF digits to invoke an intent and fill in parameter value.
341
+ # 5. DTMF digits to invoke an intent and fill in parameter value. 6. The
342
+ # results of a tool executed by the client.
342
343
  # Corresponds to the JSON property `input`
343
344
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3QueryInput]
344
345
  attr_accessor :input
@@ -1591,6 +1592,13 @@ module Google
1591
1592
  # @return [String]
1592
1593
  attr_accessor :model_variant
1593
1594
 
1595
+ # If `true`, the request will opt out for STT conformer model migration. This
1596
+ # field will be deprecated once force migration takes place in June 2024.
1597
+ # Corresponds to the JSON property `optOutConformerModelMigration`
1598
+ # @return [Boolean]
1599
+ attr_accessor :opt_out_conformer_model_migration
1600
+ alias_method :opt_out_conformer_model_migration?, :opt_out_conformer_model_migration
1601
+
1594
1602
  # Optional. A list of strings containing words and phrases that the speech
1595
1603
  # recognizer should recognize with higher likelihood. See [the Cloud Speech
1596
1604
  # documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-
@@ -1628,6 +1636,7 @@ module Google
1628
1636
  @enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
1629
1637
  @model = args[:model] if args.key?(:model)
1630
1638
  @model_variant = args[:model_variant] if args.key?(:model_variant)
1639
+ @opt_out_conformer_model_migration = args[:opt_out_conformer_model_migration] if args.key?(:opt_out_conformer_model_migration)
1631
1640
  @phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
1632
1641
  @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
1633
1642
  @single_utterance = args[:single_utterance] if args.key?(:single_utterance)
@@ -1933,6 +1942,11 @@ module Google
1933
1942
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AdvancedSettings]
1934
1943
  attr_accessor :advanced_settings
1935
1944
 
1945
+ # The description of the page. The maximum length is 500 characters.
1946
+ # Corresponds to the JSON property `description`
1947
+ # @return [String]
1948
+ attr_accessor :description
1949
+
1936
1950
  # Required. The human-readable name of the page, unique within the flow.
1937
1951
  # Corresponds to the JSON property `displayName`
1938
1952
  # @return [String]
@@ -2014,6 +2028,7 @@ module Google
2014
2028
  # Update properties of this object
2015
2029
  def update!(**args)
2016
2030
  @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
2031
+ @description = args[:description] if args.key?(:description)
2017
2032
  @display_name = args[:display_name] if args.key?(:display_name)
2018
2033
  @entry_fulfillment = args[:entry_fulfillment] if args.key?(:entry_fulfillment)
2019
2034
  @event_handlers = args[:event_handlers] if args.key?(:event_handlers)
@@ -2136,7 +2151,8 @@ module Google
2136
2151
  # Represents the query input. It can contain one of: 1. A conversational query
2137
2152
  # in the form of text. 2. An intent query that specifies which intent to trigger.
2138
2153
  # 3. Natural language speech audio to be processed. 4. An event to be triggered.
2139
- # 5. DTMF digits to invoke an intent and fill in parameter value.
2154
+ # 5. DTMF digits to invoke an intent and fill in parameter value. 6. The
2155
+ # results of a tool executed by the client.
2140
2156
  class GoogleCloudDialogflowCxV3QueryInput
2141
2157
  include Google::Apis::Core::Hashable
2142
2158
 
@@ -2932,8 +2948,7 @@ module Google
2932
2948
  class GoogleCloudDialogflowCxV3TextInput
2933
2949
  include Google::Apis::Core::Hashable
2934
2950
 
2935
- # Required. The UTF-8 encoded natural language text to be processed. Text length
2936
- # must not exceed 256 characters.
2951
+ # Required. The UTF-8 encoded natural language text to be processed.
2937
2952
  # Corresponds to the JSON property `text`
2938
2953
  # @return [String]
2939
2954
  attr_accessor :text
@@ -3907,7 +3922,8 @@ module Google
3907
3922
  # Represents the query input. It can contain one of: 1. A conversational query
3908
3923
  # in the form of text. 2. An intent query that specifies which intent to trigger.
3909
3924
  # 3. Natural language speech audio to be processed. 4. An event to be triggered.
3910
- # 5. DTMF digits to invoke an intent and fill in parameter value.
3925
+ # 5. DTMF digits to invoke an intent and fill in parameter value. 6. The
3926
+ # results of a tool executed by the client.
3911
3927
  # Corresponds to the JSON property `input`
3912
3928
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1QueryInput]
3913
3929
  attr_accessor :input
@@ -5160,6 +5176,13 @@ module Google
5160
5176
  # @return [String]
5161
5177
  attr_accessor :model_variant
5162
5178
 
5179
+ # If `true`, the request will opt out for STT conformer model migration. This
5180
+ # field will be deprecated once force migration takes place in June 2024.
5181
+ # Corresponds to the JSON property `optOutConformerModelMigration`
5182
+ # @return [Boolean]
5183
+ attr_accessor :opt_out_conformer_model_migration
5184
+ alias_method :opt_out_conformer_model_migration?, :opt_out_conformer_model_migration
5185
+
5163
5186
  # Optional. A list of strings containing words and phrases that the speech
5164
5187
  # recognizer should recognize with higher likelihood. See [the Cloud Speech
5165
5188
  # documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-
@@ -5197,6 +5220,7 @@ module Google
5197
5220
  @enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
5198
5221
  @model = args[:model] if args.key?(:model)
5199
5222
  @model_variant = args[:model_variant] if args.key?(:model_variant)
5223
+ @opt_out_conformer_model_migration = args[:opt_out_conformer_model_migration] if args.key?(:opt_out_conformer_model_migration)
5200
5224
  @phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
5201
5225
  @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
5202
5226
  @single_utterance = args[:single_utterance] if args.key?(:single_utterance)
@@ -5502,6 +5526,11 @@ module Google
5502
5526
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1AdvancedSettings]
5503
5527
  attr_accessor :advanced_settings
5504
5528
 
5529
+ # The description of the page. The maximum length is 500 characters.
5530
+ # Corresponds to the JSON property `description`
5531
+ # @return [String]
5532
+ attr_accessor :description
5533
+
5505
5534
  # Required. The human-readable name of the page, unique within the flow.
5506
5535
  # Corresponds to the JSON property `displayName`
5507
5536
  # @return [String]
@@ -5583,6 +5612,7 @@ module Google
5583
5612
  # Update properties of this object
5584
5613
  def update!(**args)
5585
5614
  @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
5615
+ @description = args[:description] if args.key?(:description)
5586
5616
  @display_name = args[:display_name] if args.key?(:display_name)
5587
5617
  @entry_fulfillment = args[:entry_fulfillment] if args.key?(:entry_fulfillment)
5588
5618
  @event_handlers = args[:event_handlers] if args.key?(:event_handlers)
@@ -5705,7 +5735,8 @@ module Google
5705
5735
  # Represents the query input. It can contain one of: 1. A conversational query
5706
5736
  # in the form of text. 2. An intent query that specifies which intent to trigger.
5707
5737
  # 3. Natural language speech audio to be processed. 4. An event to be triggered.
5708
- # 5. DTMF digits to invoke an intent and fill in parameter value.
5738
+ # 5. DTMF digits to invoke an intent and fill in parameter value. 6. The
5739
+ # results of a tool executed by the client.
5709
5740
  class GoogleCloudDialogflowCxV3beta1QueryInput
5710
5741
  include Google::Apis::Core::Hashable
5711
5742
 
@@ -6495,8 +6526,7 @@ module Google
6495
6526
  class GoogleCloudDialogflowCxV3beta1TextInput
6496
6527
  include Google::Apis::Core::Hashable
6497
6528
 
6498
- # Required. The UTF-8 encoded natural language text to be processed. Text length
6499
- # must not exceed 256 characters.
6529
+ # Required. The UTF-8 encoded natural language text to be processed.
6500
6530
  # Corresponds to the JSON property `text`
6501
6531
  # @return [String]
6502
6532
  attr_accessor :text
@@ -10896,6 +10926,13 @@ module Google
10896
10926
  # @return [String]
10897
10927
  attr_accessor :model_variant
10898
10928
 
10929
+ # If `true`, the request will opt out for STT conformer model migration. This
10930
+ # field will be deprecated once force migration takes place in June 2024.
10931
+ # Corresponds to the JSON property `optOutConformerModelMigration`
10932
+ # @return [Boolean]
10933
+ attr_accessor :opt_out_conformer_model_migration
10934
+ alias_method :opt_out_conformer_model_migration?, :opt_out_conformer_model_migration
10935
+
10899
10936
  # A list of strings containing words and phrases that the speech recognizer
10900
10937
  # should recognize with higher likelihood. See [the Cloud Speech documentation](
10901
10938
  # https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more
@@ -10946,6 +10983,7 @@ module Google
10946
10983
  @language_code = args[:language_code] if args.key?(:language_code)
10947
10984
  @model = args[:model] if args.key?(:model)
10948
10985
  @model_variant = args[:model_variant] if args.key?(:model_variant)
10986
+ @opt_out_conformer_model_migration = args[:opt_out_conformer_model_migration] if args.key?(:opt_out_conformer_model_migration)
10949
10987
  @phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
10950
10988
  @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
10951
10989
  @single_utterance = args[:single_utterance] if args.key?(:single_utterance)
@@ -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.76.0"
19
+ GEM_VERSION = "0.78.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231215"
25
+ REVISION = "20240113"
26
26
  end
27
27
  end
28
28
  end
@@ -3522,6 +3522,7 @@ module Google
3522
3522
  property :enable_word_info, as: 'enableWordInfo'
3523
3523
  property :model, as: 'model'
3524
3524
  property :model_variant, as: 'modelVariant'
3525
+ property :opt_out_conformer_model_migration, as: 'optOutConformerModelMigration'
3525
3526
  collection :phrase_hints, as: 'phraseHints'
3526
3527
  property :sample_rate_hertz, as: 'sampleRateHertz'
3527
3528
  property :single_utterance, as: 'singleUtterance'
@@ -3597,6 +3598,7 @@ module Google
3597
3598
  class Representation < Google::Apis::Core::JsonRepresentation
3598
3599
  property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AdvancedSettings, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AdvancedSettings::Representation
3599
3600
 
3601
+ property :description, as: 'description'
3600
3602
  property :display_name, as: 'displayName'
3601
3603
  property :entry_fulfillment, as: 'entryFulfillment', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Fulfillment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Fulfillment::Representation
3602
3604
 
@@ -4498,6 +4500,7 @@ module Google
4498
4500
  property :enable_word_info, as: 'enableWordInfo'
4499
4501
  property :model, as: 'model'
4500
4502
  property :model_variant, as: 'modelVariant'
4503
+ property :opt_out_conformer_model_migration, as: 'optOutConformerModelMigration'
4501
4504
  collection :phrase_hints, as: 'phraseHints'
4502
4505
  property :sample_rate_hertz, as: 'sampleRateHertz'
4503
4506
  property :single_utterance, as: 'singleUtterance'
@@ -4573,6 +4576,7 @@ module Google
4573
4576
  class Representation < Google::Apis::Core::JsonRepresentation
4574
4577
  property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1AdvancedSettings, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1AdvancedSettings::Representation
4575
4578
 
4579
+ property :description, as: 'description'
4576
4580
  property :display_name, as: 'displayName'
4577
4581
  property :entry_fulfillment, as: 'entryFulfillment', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation
4578
4582
 
@@ -6030,6 +6034,7 @@ module Google
6030
6034
  property :language_code, as: 'languageCode'
6031
6035
  property :model, as: 'model'
6032
6036
  property :model_variant, as: 'modelVariant'
6037
+ property :opt_out_conformer_model_migration, as: 'optOutConformerModelMigration'
6033
6038
  collection :phrase_hints, as: 'phraseHints'
6034
6039
  property :sample_rate_hertz, as: 'sampleRateHertz'
6035
6040
  property :single_utterance, as: 'singleUtterance'
@@ -33,6 +33,8 @@ module Google
33
33
  #
34
34
  # @see https://cloud.google.com/dialogflow/
35
35
  class DialogflowService < Google::Apis::Core::BaseService
36
+ DEFAULT_ENDPOINT_TEMPLATE = "https://dialogflow.$UNIVERSE_DOMAIN$/"
37
+
36
38
  # @return [String]
37
39
  # API key. Your API key identifies your project and provides you with API access,
38
40
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -44,7 +46,7 @@ module Google
44
46
  attr_accessor :quota_user
45
47
 
46
48
  def initialize
47
- super('https://dialogflow.googleapis.com/', '',
49
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
48
50
  client_name: 'google-apis-dialogflow_v2',
49
51
  client_version: Google::Apis::DialogflowV2::GEM_VERSION)
50
52
  @batch_path = 'batch'
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.76.0
4
+ version: 0.78.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-12-24 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.76.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.78.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: []
@@ -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.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Dialogflow API V2