google-apis-dialogflow_v2beta1 0.75.0 → 0.77.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: b7e830e5d26dbc3af34ecf83e194984c5e33b9489cf3e2cc1d9ad0e518a31ad9
4
- data.tar.gz: 8c6146dbe3ec88297482f145d93d30d0057a1e3b294f88a476c7348f423fa69e
3
+ metadata.gz: 6cd1e6190dcfa4ac7a8cf1808dba58d6cc1d0e5ec4e6dd003bc12d1c3de9523d
4
+ data.tar.gz: 1f020e95283a2219ff4b22df8f552502ec869ce1fa6dc964f8db0c9e3074aaae
5
5
  SHA512:
6
- metadata.gz: 95518582599843a385a0c034f0e5f8626a166b4690144e776b35d99ec514b406fb8306ef79a52b260c74a86a865fda6e39715d2172c542836cdfe8968a7ab862
7
- data.tar.gz: 78a2be16dbf295ea9803a900021981af8c64da65f10d05f020bae2a4d93f43a31705072e455216b5aff4e823d59ee7984e300e881fdc3c8f213df445b1b1044e
6
+ metadata.gz: 810b05c7e94366fb418a8bc6fd32f0ab5e197cab14d2d267a6405a1bfd38e0d70c9aeb2f5d94a82462508d7524447960db2a825482c00ba9b65e0d68cfa85b67
7
+ data.tar.gz: 818649b9125c22b29733e62dbc0a03fe208a9cff777f83d53aecd53b6f61544aa720e3ce2b651dc868897d241ed9ae6213870bcbc5c5af9588c8df19b5eb32e5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
2
2
 
3
+ ### v0.77.0 (2024-01-23)
4
+
5
+ * Regenerated from discovery document revision 20240113
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.76.0 (2024-01-07)
9
+
10
+ * Regenerated from discovery document revision 20240102
11
+
3
12
  ### v0.75.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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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
@@ -10941,13 +10971,13 @@ module Google
10941
10971
  # which the API starts speech detection and may inform the client that an
10942
10972
  # utterance has been detected. Note that no-speech event is not expected in this
10943
10973
  # phase. The client provides this configuration in terms of the durations of
10944
- # those two phases. The durations are measured in terms of the audio length
10945
- # fromt the the start of the input audio. The flow goes like below: ``` --> Time
10946
- # without speech detection | utterance only | utterance or no-speech event | | +-
10947
- # ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
10948
- # + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
10949
- # +---------------+ ``` No-speech event is a response with END_OF_UTTERANCE
10950
- # without any transcript following up.
10974
+ # those two phases. The durations are measured in terms of the audio length from
10975
+ # the start of the input audio. The flow goes like below: ``` --> Time without
10976
+ # speech detection | utterance only | utterance or no-speech event | | +---------
10977
+ # ----+ | +------------+ | +---------------+ ----------+ no barge-in +-|-+ barge-
10978
+ # in +-|-+ normal period +----------- +-------------+ | +------------+ | +-------
10979
+ # --------+ ``` No-speech event is a response with END_OF_UTTERANCE without any
10980
+ # transcript following up.
10951
10981
  class GoogleCloudDialogflowV2beta1BargeInConfig
10952
10982
  include Google::Apis::Core::Hashable
10953
10983
 
@@ -13554,13 +13584,13 @@ module Google
13554
13584
  # which the API starts speech detection and may inform the client that an
13555
13585
  # utterance has been detected. Note that no-speech event is not expected in this
13556
13586
  # phase. The client provides this configuration in terms of the durations of
13557
- # those two phases. The durations are measured in terms of the audio length
13558
- # fromt the the start of the input audio. The flow goes like below: ``` --> Time
13559
- # without speech detection | utterance only | utterance or no-speech event | | +-
13560
- # ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
13561
- # + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
13562
- # +---------------+ ``` No-speech event is a response with END_OF_UTTERANCE
13563
- # without any transcript following up.
13587
+ # those two phases. The durations are measured in terms of the audio length from
13588
+ # the start of the input audio. The flow goes like below: ``` --> Time without
13589
+ # speech detection | utterance only | utterance or no-speech event | | +---------
13590
+ # ----+ | +------------+ | +---------------+ ----------+ no barge-in +-|-+ barge-
13591
+ # in +-|-+ normal period +----------- +-------------+ | +------------+ | +-------
13592
+ # --------+ ``` No-speech event is a response with END_OF_UTTERANCE without any
13593
+ # transcript following up.
13564
13594
  # Corresponds to the JSON property `bargeInConfig`
13565
13595
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BargeInConfig]
13566
13596
  attr_accessor :barge_in_config
@@ -13609,6 +13639,13 @@ module Google
13609
13639
  # @return [String]
13610
13640
  attr_accessor :model_variant
13611
13641
 
13642
+ # If `true`, the request will opt out for STT conformer model migration. This
13643
+ # field will be deprecated once force migration takes place in June 2024.
13644
+ # Corresponds to the JSON property `optOutConformerModelMigration`
13645
+ # @return [Boolean]
13646
+ attr_accessor :opt_out_conformer_model_migration
13647
+ alias_method :opt_out_conformer_model_migration?, :opt_out_conformer_model_migration
13648
+
13612
13649
  # A list of strings containing words and phrases that the speech recognizer
13613
13650
  # should recognize with higher likelihood. See [the Cloud Speech documentation](
13614
13651
  # https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more
@@ -13660,6 +13697,7 @@ module Google
13660
13697
  @language_code = args[:language_code] if args.key?(:language_code)
13661
13698
  @model = args[:model] if args.key?(:model)
13662
13699
  @model_variant = args[:model_variant] if args.key?(:model_variant)
13700
+ @opt_out_conformer_model_migration = args[:opt_out_conformer_model_migration] if args.key?(:opt_out_conformer_model_migration)
13663
13701
  @phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
13664
13702
  @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
13665
13703
  @single_utterance = args[:single_utterance] if args.key?(:single_utterance)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2beta1
18
18
  # Version of the google-apis-dialogflow_v2beta1 gem
19
- GEM_VERSION = "0.75.0"
19
+ GEM_VERSION = "0.77.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
@@ -3540,6 +3540,7 @@ module Google
3540
3540
  property :enable_word_info, as: 'enableWordInfo'
3541
3541
  property :model, as: 'model'
3542
3542
  property :model_variant, as: 'modelVariant'
3543
+ property :opt_out_conformer_model_migration, as: 'optOutConformerModelMigration'
3543
3544
  collection :phrase_hints, as: 'phraseHints'
3544
3545
  property :sample_rate_hertz, as: 'sampleRateHertz'
3545
3546
  property :single_utterance, as: 'singleUtterance'
@@ -3615,6 +3616,7 @@ module Google
3615
3616
  class Representation < Google::Apis::Core::JsonRepresentation
3616
3617
  property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettings, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettings::Representation
3617
3618
 
3619
+ property :description, as: 'description'
3618
3620
  property :display_name, as: 'displayName'
3619
3621
  property :entry_fulfillment, as: 'entryFulfillment', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Fulfillment, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Fulfillment::Representation
3620
3622
 
@@ -4516,6 +4518,7 @@ module Google
4516
4518
  property :enable_word_info, as: 'enableWordInfo'
4517
4519
  property :model, as: 'model'
4518
4520
  property :model_variant, as: 'modelVariant'
4521
+ property :opt_out_conformer_model_migration, as: 'optOutConformerModelMigration'
4519
4522
  collection :phrase_hints, as: 'phraseHints'
4520
4523
  property :sample_rate_hertz, as: 'sampleRateHertz'
4521
4524
  property :single_utterance, as: 'singleUtterance'
@@ -4591,6 +4594,7 @@ module Google
4591
4594
  class Representation < Google::Apis::Core::JsonRepresentation
4592
4595
  property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings::Representation
4593
4596
 
4597
+ property :description, as: 'description'
4594
4598
  property :display_name, as: 'displayName'
4595
4599
  property :entry_fulfillment, as: 'entryFulfillment', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation
4596
4600
 
@@ -6757,6 +6761,7 @@ module Google
6757
6761
  property :language_code, as: 'languageCode'
6758
6762
  property :model, as: 'model'
6759
6763
  property :model_variant, as: 'modelVariant'
6764
+ property :opt_out_conformer_model_migration, as: 'optOutConformerModelMigration'
6760
6765
  collection :phrase_hints, as: 'phraseHints'
6761
6766
  property :sample_rate_hertz, as: 'sampleRateHertz'
6762
6767
  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_v2beta1',
49
51
  client_version: Google::Apis::DialogflowV2beta1::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_v2beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.75.0
4
+ version: 0.77.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_v2beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.75.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.77.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
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 V2beta1