google-apis-dialogflow_v2beta1 0.36.0 → 0.37.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: 34fc3018b5767dc8618b9508d11370f5efdb641532bbacb6888e36be556c711c
4
- data.tar.gz: 37da5e10ee6e8f165a23e9d370e582a0e3e25ca85a6291a936b2b6e389e43a67
3
+ metadata.gz: 56aded923619cfb2cbd43b52e9dccdfd67264acc5ae8d77ee991af03be1cde1e
4
+ data.tar.gz: 8bfbd6f14c75e17fb534e286d2e48826b83e35def3e041488e2453aa00bbc84c
5
5
  SHA512:
6
- metadata.gz: 401b2b59ab686314199a65c7f13909bbf81324c13eaf5ec1efba71fc9824f3166bf6dbc7308bd07c9cd63eaa3c5e0e37ad281a94d1a179ae6d05e971a2418831
7
- data.tar.gz: 0d84d88eac8a6b74589bcb3be6a6c1ea398b6aca1ddfc8cb076d0f6dc807953ec4b6ae1ecf23cb1936a41442ef90f622cb275b79c128cfc01e2919f5e192b18a
6
+ metadata.gz: f2e7e5fc118dae841fda4e5e2552ce15847465e09642ce4f80b6e5e63333533cf2131f4aaff6b599a21d193940e52f33e0c735dfe8e3424577014a5a8bd7bf36
7
+ data.tar.gz: c9d855b582719b7c22ad38e26810ce3a8e5c5774b81347c8661d155a96f245e01c800f1ba81a7ea21f201e63e0f068747efcdf276660ef9224a183d6c3da6a03
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
2
2
 
3
+ ### v0.37.0 (2022-06-09)
4
+
5
+ * Regenerated from discovery document revision 20220607
6
+ * Regenerated using generator version 0.5.0
7
+
3
8
  ### v0.36.0 (2022-05-27)
4
9
 
5
10
  * Regenerated from discovery document revision 20220524
@@ -9078,6 +9078,22 @@ module Google
9078
9078
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters]
9079
9079
  attr_accessor :assist_query_params
9080
9080
 
9081
+ # Represents the natural language speech audio to be processed.
9082
+ # Corresponds to the JSON property `audioInput`
9083
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AudioInput]
9084
+ attr_accessor :audio_input
9085
+
9086
+ # The unique identifier of the CX page to override the `current_page` in the
9087
+ # session. Format: `projects//locations//agents//flows//pages/`. If `
9088
+ # cx_current_page` is specified, the previous state of the session will be
9089
+ # ignored by Dialogflow CX, including the previous page and the previous session
9090
+ # parameters. In most cases, `cx_current_page` and `cx_parameters` should be
9091
+ # configured together to direct a session to a specific state. Note: this field
9092
+ # should only be used if you are connecting to a Dialogflow CX agent.
9093
+ # Corresponds to the JSON property `cxCurrentPage`
9094
+ # @return [String]
9095
+ attr_accessor :cx_current_page
9096
+
9081
9097
  # Additional parameters to be put into Dialogflow CX session parameters. To
9082
9098
  # remove a parameter from the session, clients should explicitly set the
9083
9099
  # parameter value to null. Note: this field should only be used if you are
@@ -9138,6 +9154,8 @@ module Google
9138
9154
  # Update properties of this object
9139
9155
  def update!(**args)
9140
9156
  @assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
9157
+ @audio_input = args[:audio_input] if args.key?(:audio_input)
9158
+ @cx_current_page = args[:cx_current_page] if args.key?(:cx_current_page)
9141
9159
  @cx_parameters = args[:cx_parameters] if args.key?(:cx_parameters)
9142
9160
  @event_input = args[:event_input] if args.key?(:event_input)
9143
9161
  @message_send_time = args[:message_send_time] if args.key?(:message_send_time)
@@ -9421,6 +9439,34 @@ module Google
9421
9439
  end
9422
9440
  end
9423
9441
 
9442
+ # Represents the natural language speech audio to be processed.
9443
+ class GoogleCloudDialogflowV2beta1AudioInput
9444
+ include Google::Apis::Core::Hashable
9445
+
9446
+ # Required. The natural language speech audio to be processed. A single request
9447
+ # can contain up to 1 minute of speech audio data. The transcribed text cannot
9448
+ # contain more than 256 bytes.
9449
+ # Corresponds to the JSON property `audio`
9450
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
9451
+ # @return [String]
9452
+ attr_accessor :audio
9453
+
9454
+ # Instructs the speech recognizer on how to process the audio content.
9455
+ # Corresponds to the JSON property `config`
9456
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig]
9457
+ attr_accessor :config
9458
+
9459
+ def initialize(**args)
9460
+ update!(**args)
9461
+ end
9462
+
9463
+ # Update properties of this object
9464
+ def update!(**args)
9465
+ @audio = args[:audio] if args.key?(:audio)
9466
+ @config = args[:config] if args.key?(:config)
9467
+ end
9468
+ end
9469
+
9424
9470
  # Defines the Automated Agent to connect to a conversation.
9425
9471
  class GoogleCloudDialogflowV2beta1AutomatedAgentConfig
9426
9472
  include Google::Apis::Core::Hashable
@@ -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.36.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220524"
25
+ REVISION = "20220607"
26
26
  end
27
27
  end
28
28
  end
@@ -1552,6 +1552,12 @@ module Google
1552
1552
  include Google::Apis::Core::JsonObjectSupport
1553
1553
  end
1554
1554
 
1555
+ class GoogleCloudDialogflowV2beta1AudioInput
1556
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1557
+
1558
+ include Google::Apis::Core::JsonObjectSupport
1559
+ end
1560
+
1555
1561
  class GoogleCloudDialogflowV2beta1AutomatedAgentConfig
1556
1562
  class Representation < Google::Apis::Core::JsonRepresentation; end
1557
1563
 
@@ -5245,6 +5251,9 @@ module Google
5245
5251
  class Representation < Google::Apis::Core::JsonRepresentation
5246
5252
  property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters::Representation
5247
5253
 
5254
+ property :audio_input, as: 'audioInput', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AudioInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AudioInput::Representation
5255
+
5256
+ property :cx_current_page, as: 'cxCurrentPage'
5248
5257
  hash :cx_parameters, as: 'cxParameters'
5249
5258
  property :event_input, as: 'eventInput', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput::Representation
5250
5259
 
@@ -5329,6 +5338,15 @@ module Google
5329
5338
  end
5330
5339
  end
5331
5340
 
5341
+ class GoogleCloudDialogflowV2beta1AudioInput
5342
+ # @private
5343
+ class Representation < Google::Apis::Core::JsonRepresentation
5344
+ property :audio, :base64 => true, as: 'audio'
5345
+ property :config, as: 'config', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig::Representation
5346
+
5347
+ end
5348
+ end
5349
+
5332
5350
  class GoogleCloudDialogflowV2beta1AutomatedAgentConfig
5333
5351
  # @private
5334
5352
  class Representation < Google::Apis::Core::JsonRepresentation
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.36.0
4
+ version: 0.37.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: 2022-05-30 00:00:00.000000000 Z
11
+ date: 2022-06-13 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.4'
19
+ version: '0.5'
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.4'
29
+ version: '0.5'
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.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.37.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: []