google-apis-dialogflow_v3 0.27.0 → 0.30.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: 27f6288102f8835cc811b74725fa7af658b9fdfa2ca802bbd34eb7c19c133b4c
4
- data.tar.gz: 0a55dd5ffb954f536327e3659ea792b934c74d667c4d21b65657c5e8e9e0e6b4
3
+ metadata.gz: 946085329dd46a3d32d2d7140129f3cb78df7d233a4f7b1f288b74c287ad82a1
4
+ data.tar.gz: 8e7dc072826b23aa8124147d2d6a7c81ea8b937b6a9b4fa764ba1839692a5a83
5
5
  SHA512:
6
- metadata.gz: 285acd151810e2640601a64211da6373233dbbf10cb9b6ff8222fe10bdbbc80f79dbc33a039cb3b30ca573798da3477cb079894afe78590ff8a6ae4feb8e29f9
7
- data.tar.gz: 6b6088ba7e883d55abed7e71d5ffb63f0645719e4bc4fd245529dc72f3cd600072a7696760b2b18daa2089fa10c24ecd009bf21f654b4cb4f6d63ac07176b20f
6
+ metadata.gz: bc057ea40fe6672a600b8868637ccf48914b1b94de25109d3ab532869828b340ebbec851f92d1fe0b1d01c5209d2449ceaf8a10c5a2032225d3e0237eb54a512
7
+ data.tar.gz: df283012dfc8cbf29f9988ae3d7ff63a9059c9a93812028da6c374742c9df8d56a8cda6c6bd1fa50812ae2cc98f08250eae19a1e4fafe81be193f1ffd2f01020
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.30.0 (2022-03-31)
4
+
5
+ * Regenerated from discovery document revision 20220330
6
+
7
+ ### v0.29.0 (2022-03-16)
8
+
9
+ * Regenerated from discovery document revision 20220314
10
+
11
+ ### v0.28.0 (2022-03-11)
12
+
13
+ * Regenerated from discovery document revision 20220309
14
+
3
15
  ### v0.27.0 (2022-02-24)
4
16
 
5
17
  * Regenerated from discovery document revision 20220222
@@ -124,6 +124,13 @@ module Google
124
124
  attr_accessor :enable_stackdriver_logging
125
125
  alias_method :enable_stackdriver_logging?, :enable_stackdriver_logging
126
126
 
127
+ # Indiciates whether the agent is locked for changes. If the agent is locked,
128
+ # modifications to the agent will be rejected except for RestoreAgent.
129
+ # Corresponds to the JSON property `locked`
130
+ # @return [Boolean]
131
+ attr_accessor :locked
132
+ alias_method :locked?, :locked
133
+
127
134
  # The unique identifier of the agent. Required for the Agents.UpdateAgent method.
128
135
  # Agents.CreateAgent populates the name automatically. Format: `projects//
129
136
  # locations//agents/`.
@@ -174,6 +181,7 @@ module Google
174
181
  @display_name = args[:display_name] if args.key?(:display_name)
175
182
  @enable_spell_correction = args[:enable_spell_correction] if args.key?(:enable_spell_correction)
176
183
  @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
184
+ @locked = args[:locked] if args.key?(:locked)
177
185
  @name = args[:name] if args.key?(:name)
178
186
  @security_settings = args[:security_settings] if args.key?(:security_settings)
179
187
  @speech_to_text_settings = args[:speech_to_text_settings] if args.key?(:speech_to_text_settings)
@@ -1617,11 +1625,21 @@ module Google
1617
1625
 
1618
1626
  # Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
1619
1627
  # URI to export the agent to. The format of this URI must be `gs:///`. If left
1620
- # unspecified, the serialized agent is returned inline.
1628
+ # unspecified, the serialized agent is returned inline. Dialogflow performs a
1629
+ # write operation for the Cloud Storage object on the caller's behalf, so your
1630
+ # request authentication must have write permissions for the object. For more
1631
+ # information, see [Dialogflow access control](https://cloud.google.com/
1632
+ # dialogflow/cx/docs/concept/access-control#storage).
1621
1633
  # Corresponds to the JSON property `agentUri`
1622
1634
  # @return [String]
1623
1635
  attr_accessor :agent_uri
1624
1636
 
1637
+ # Optional. The data format of the exported agent. If not specified, `BLOB` is
1638
+ # assumed.
1639
+ # Corresponds to the JSON property `dataFormat`
1640
+ # @return [String]
1641
+ attr_accessor :data_format
1642
+
1625
1643
  # Optional. Environment name. If not set, draft environment is assumed. Format: `
1626
1644
  # projects//locations//agents//environments/`.
1627
1645
  # Corresponds to the JSON property `environment`
@@ -1635,6 +1653,7 @@ module Google
1635
1653
  # Update properties of this object
1636
1654
  def update!(**args)
1637
1655
  @agent_uri = args[:agent_uri] if args.key?(:agent_uri)
1656
+ @data_format = args[:data_format] if args.key?(:data_format)
1638
1657
  @environment = args[:environment] if args.key?(:environment)
1639
1658
  end
1640
1659
  end
@@ -1672,7 +1691,11 @@ module Google
1672
1691
 
1673
1692
  # Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
1674
1693
  # URI to export the flow to. The format of this URI must be `gs:///`. If left
1675
- # unspecified, the serialized flow is returned inline.
1694
+ # unspecified, the serialized flow is returned inline. Dialogflow performs a
1695
+ # write operation for the Cloud Storage object on the caller's behalf, so your
1696
+ # request authentication must have write permissions for the object. For more
1697
+ # information, see [Dialogflow access control](https://cloud.google.com/
1698
+ # dialogflow/cx/docs/concept/access-control#storage).
1676
1699
  # Corresponds to the JSON property `flowUri`
1677
1700
  # @return [String]
1678
1701
  attr_accessor :flow_uri
@@ -1755,7 +1778,11 @@ module Google
1755
1778
 
1756
1779
  # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
1757
1780
  # export the test cases to. The format of this URI must be `gs:///`. If
1758
- # unspecified, the serialized test cases is returned inline.
1781
+ # unspecified, the serialized test cases is returned inline. Dialogflow performs
1782
+ # a write operation for the Cloud Storage object on the caller's behalf, so your
1783
+ # request authentication must have write permissions for the object. For more
1784
+ # information, see [Dialogflow access control](https://cloud.google.com/
1785
+ # dialogflow/cx/docs/concept/access-control#storage).
1759
1786
  # Corresponds to the JSON property `gcsUri`
1760
1787
  # @return [String]
1761
1788
  attr_accessor :gcs_uri
@@ -2375,7 +2402,11 @@ module Google
2375
2402
  attr_accessor :flow_content
2376
2403
 
2377
2404
  # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
2378
- # import flow from. The format of this URI must be `gs:///`.
2405
+ # import flow from. The format of this URI must be `gs:///`. Dialogflow performs
2406
+ # a read operation for the Cloud Storage object on the caller's behalf, so your
2407
+ # request authentication must have read permissions for the object. For more
2408
+ # information, see [Dialogflow access control](https://cloud.google.com/
2409
+ # dialogflow/cx/docs/concept/access-control#storage).
2379
2410
  # Corresponds to the JSON property `flowUri`
2380
2411
  # @return [String]
2381
2412
  attr_accessor :flow_uri
@@ -2447,7 +2478,11 @@ module Google
2447
2478
  attr_accessor :content
2448
2479
 
2449
2480
  # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
2450
- # import test cases from. The format of this URI must be `gs:///`.
2481
+ # import test cases from. The format of this URI must be `gs:///`. Dialogflow
2482
+ # performs a read operation for the Cloud Storage object on the caller's behalf,
2483
+ # so your request authentication must have read permissions for the object. For
2484
+ # more information, see [Dialogflow access control](https://cloud.google.com/
2485
+ # dialogflow/cx/docs/concept/access-control#storage).
2451
2486
  # Corresponds to the JSON property `gcsUri`
2452
2487
  # @return [String]
2453
2488
  attr_accessor :gcs_uri
@@ -3378,12 +3413,12 @@ module Google
3378
3413
  # The collection of parameters extracted from the query. Depending on your
3379
3414
  # protocol or client library language, this is a map, associative array, symbol
3380
3415
  # table, dictionary, or JSON object composed of a collection of (MapKey,
3381
- # MapValue) pairs: - MapKey type: string - MapKey value: parameter name -
3382
- # MapValue type: - If parameter's entity type is a composite entity: map - Else:
3383
- # depending on parameter value type, could be one of string, number, boolean,
3384
- # null, list or map - MapValue value: - If parameter's entity type is a
3385
- # composite entity: map from composite entity property names to property values -
3386
- # Else: parameter value
3416
+ # MapValue) pairs: * MapKey type: string * MapKey value: parameter name *
3417
+ # MapValue type: If parameter's entity type is a composite entity then use map,
3418
+ # otherwise, depending on the parameter value type, it could be one of string,
3419
+ # number, boolean, null, list or map. * MapValue value: If parameter's entity
3420
+ # type is a composite entity then use map from composite entity property names
3421
+ # to property values, otherwise, use parameter value.
3387
3422
  # Corresponds to the JSON property `parameters`
3388
3423
  # @return [Hash<String,Object>]
3389
3424
  attr_accessor :parameters
@@ -3881,12 +3916,13 @@ module Google
3881
3916
  # You can reference the session parameters in the agent with the following
3882
3917
  # format: $session.params.parameter-id. Depending on your protocol or client
3883
3918
  # library language, this is a map, associative array, symbol table, dictionary,
3884
- # or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey
3885
- # type: string - MapKey value: parameter name - MapValue type: - If parameter's
3886
- # entity type is a composite entity: map - Else: depending on parameter value
3887
- # type, could be one of string, number, boolean, null, list or map - MapValue
3888
- # value: - If parameter's entity type is a composite entity: map from composite
3889
- # entity property names to property values - Else: parameter value
3919
+ # or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey
3920
+ # type: string * MapKey value: parameter name * MapValue type: If parameter's
3921
+ # entity type is a composite entity then use map, otherwise, depending on the
3922
+ # parameter value type, it could be one of string, number, boolean, null, list
3923
+ # or map. * MapValue value: If parameter's entity type is a composite entity
3924
+ # then use map from composite entity property names to property values,
3925
+ # otherwise, use parameter value.
3890
3926
  # Corresponds to the JSON property `parameters`
3891
3927
  # @return [Hash<String,Object>]
3892
3928
  attr_accessor :parameters
@@ -4009,12 +4045,13 @@ module Google
4009
4045
 
4010
4046
  # The collected session parameters. Depending on your protocol or client library
4011
4047
  # language, this is a map, associative array, symbol table, dictionary, or JSON
4012
- # object composed of a collection of (MapKey, MapValue) pairs: - MapKey type:
4013
- # string - MapKey value: parameter name - MapValue type: - If parameter's entity
4014
- # type is a composite entity: map - Else: depending on parameter value type,
4015
- # could be one of string, number, boolean, null, list or map - MapValue value: -
4016
- # If parameter's entity type is a composite entity: map from composite entity
4017
- # property names to property values - Else: parameter value
4048
+ # object composed of a collection of (MapKey, MapValue) pairs: * MapKey type:
4049
+ # string * MapKey value: parameter name * MapValue type: If parameter's entity
4050
+ # type is a composite entity then use map, otherwise, depending on the parameter
4051
+ # value type, it could be one of string, number, boolean, null, list or map. *
4052
+ # MapValue value: If parameter's entity type is a composite entity then use map
4053
+ # from composite entity property names to property values, otherwise, use
4054
+ # parameter value.
4018
4055
  # Corresponds to the JSON property `parameters`
4019
4056
  # @return [Hash<String,Object>]
4020
4057
  attr_accessor :parameters
@@ -4483,7 +4520,11 @@ module Google
4483
4520
  attr_accessor :agent_content
4484
4521
 
4485
4522
  # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
4486
- # restore agent from. The format of this URI must be `gs:///`.
4523
+ # restore agent from. The format of this URI must be `gs:///`. Dialogflow
4524
+ # performs a read operation for the Cloud Storage object on the caller's behalf,
4525
+ # so your request authentication must have read permissions for the object. For
4526
+ # more information, see [Dialogflow access control](https://cloud.google.com/
4527
+ # dialogflow/cx/docs/concept/access-control#storage).
4487
4528
  # Corresponds to the JSON property `agentUri`
4488
4529
  # @return [String]
4489
4530
  attr_accessor :agent_uri
@@ -5186,12 +5227,24 @@ module Google
5186
5227
  class GoogleCloudDialogflowCxV3TestConfig
5187
5228
  include Google::Apis::Core::Hashable
5188
5229
 
5189
- # Flow name. If not set, default start flow is assumed. Format: `projects//
5190
- # locations//agents//flows/`.
5230
+ # Flow name to start the test case with. Format: `projects//locations//agents//
5231
+ # flows/`. Only one of `flow` and `page` should be set to indicate the starting
5232
+ # point of the test case. If both are set, `page` takes precedence over `flow`.
5233
+ # If neither is set, the test case will start with start page on the default
5234
+ # start flow.
5191
5235
  # Corresponds to the JSON property `flow`
5192
5236
  # @return [String]
5193
5237
  attr_accessor :flow
5194
5238
 
5239
+ # The page to start the test case with. Format: `projects//locations//agents//
5240
+ # flows//pages/`. Only one of `flow` and `page` should be set to indicate the
5241
+ # starting point of the test case. If both are set, `page` takes precedence over
5242
+ # `flow`. If neither is set, the test case will start with start page on the
5243
+ # default start flow.
5244
+ # Corresponds to the JSON property `page`
5245
+ # @return [String]
5246
+ attr_accessor :page
5247
+
5195
5248
  # Session parameters to be compared when calculating differences.
5196
5249
  # Corresponds to the JSON property `trackingParameters`
5197
5250
  # @return [Array<String>]
@@ -5204,6 +5257,7 @@ module Google
5204
5257
  # Update properties of this object
5205
5258
  def update!(**args)
5206
5259
  @flow = args[:flow] if args.key?(:flow)
5260
+ @page = args[:page] if args.key?(:page)
5207
5261
  @tracking_parameters = args[:tracking_parameters] if args.key?(:tracking_parameters)
5208
5262
  end
5209
5263
  end
@@ -5966,9 +6020,9 @@ module Google
5966
6020
  # empty or unspecified, Dialogflow will use Google's default trust store to
5967
6021
  # verify certificates. N.B. Make sure the HTTPS server certificates are signed
5968
6022
  # with "subject alt name". For instance a certificate can be self-signed using
5969
- # the following command, openssl x509 -req -days 200 -in example.com.csr \ -
6023
+ # the following command, ``` openssl x509 -req -days 200 -in example.com.csr \ -
5970
6024
  # signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\
5971
- # nsubjectAltName='DNS:www.example.com'")
6025
+ # nsubjectAltName='DNS:www.example.com'") ```
5972
6026
  # Corresponds to the JSON property `allowedCaCerts`
5973
6027
  # @return [Array<String>]
5974
6028
  attr_accessor :allowed_ca_certs
@@ -8586,12 +8640,24 @@ module Google
8586
8640
  class GoogleCloudDialogflowCxV3beta1TestConfig
8587
8641
  include Google::Apis::Core::Hashable
8588
8642
 
8589
- # Flow name. If not set, default start flow is assumed. Format: `projects//
8590
- # locations//agents//flows/`.
8643
+ # Flow name to start the test case with. Format: `projects//locations//agents//
8644
+ # flows/`. Only one of `flow` and `page` should be set to indicate the starting
8645
+ # point of the test case. If both are set, `page` takes precedence over `flow`.
8646
+ # If neither is set, the test case will start with start page on the default
8647
+ # start flow.
8591
8648
  # Corresponds to the JSON property `flow`
8592
8649
  # @return [String]
8593
8650
  attr_accessor :flow
8594
8651
 
8652
+ # The page to start the test case with. Format: `projects//locations//agents//
8653
+ # flows//pages/`. Only one of `flow` and `page` should be set to indicate the
8654
+ # starting point of the test case. If both are set, `page` takes precedence over
8655
+ # `flow`. If neither is set, the test case will start with start page on the
8656
+ # default start flow.
8657
+ # Corresponds to the JSON property `page`
8658
+ # @return [String]
8659
+ attr_accessor :page
8660
+
8595
8661
  # Session parameters to be compared when calculating differences.
8596
8662
  # Corresponds to the JSON property `trackingParameters`
8597
8663
  # @return [Array<String>]
@@ -8604,6 +8670,7 @@ module Google
8604
8670
  # Update properties of this object
8605
8671
  def update!(**args)
8606
8672
  @flow = args[:flow] if args.key?(:flow)
8673
+ @page = args[:page] if args.key?(:page)
8607
8674
  @tracking_parameters = args[:tracking_parameters] if args.key?(:tracking_parameters)
8608
8675
  end
8609
8676
  end
@@ -9679,7 +9746,9 @@ module Google
9679
9746
  # Required. The language of this query. See [Language Support](https://cloud.
9680
9747
  # google.com/dialogflow/docs/reference/language) for a list of the currently
9681
9748
  # supported language codes. Note that queries in the same session do not
9682
- # necessarily need to specify the same language.
9749
+ # necessarily need to specify the same language. This field is ignored when used
9750
+ # in the context of a WebhookResponse.followup_event_input field, because the
9751
+ # language was already defined in the originating detect intent request.
9683
9752
  # Corresponds to the JSON property `languageCode`
9684
9753
  # @return [String]
9685
9754
  attr_accessor :language_code
@@ -12416,7 +12485,9 @@ module Google
12416
12485
  # Required. The language of this query. See [Language Support](https://cloud.
12417
12486
  # google.com/dialogflow/docs/reference/language) for a list of the currently
12418
12487
  # supported language codes. Note that queries in the same session do not
12419
- # necessarily need to specify the same language.
12488
+ # necessarily need to specify the same language. This field is ignored when used
12489
+ # in the context of a WebhookResponse.followup_event_input field, because the
12490
+ # language was already defined in the originating detect intent request.
12420
12491
  # Corresponds to the JSON property `languageCode`
12421
12492
  # @return [String]
12422
12493
  attr_accessor :language_code
@@ -15538,8 +15609,7 @@ module Google
15538
15609
  # A generic empty message that you can re-use to avoid defining duplicated empty
15539
15610
  # messages in your APIs. A typical example is to use it as the request or the
15540
15611
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
15541
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
15542
- # `Empty` is empty JSON object ````.
15612
+ # protobuf.Empty) returns (google.protobuf.Empty); `
15543
15613
  class GoogleProtobufEmpty
15544
15614
  include Google::Apis::Core::Hashable
15545
15615
 
@@ -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.27.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220222"
25
+ REVISION = "20220330"
26
26
  end
27
27
  end
28
28
  end
@@ -2605,6 +2605,7 @@ module Google
2605
2605
  property :display_name, as: 'displayName'
2606
2606
  property :enable_spell_correction, as: 'enableSpellCorrection'
2607
2607
  property :enable_stackdriver_logging, as: 'enableStackdriverLogging'
2608
+ property :locked, as: 'locked'
2608
2609
  property :name, as: 'name'
2609
2610
  property :security_settings, as: 'securitySettings'
2610
2611
  property :speech_to_text_settings, as: 'speechToTextSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechToTextSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechToTextSettings::Representation
@@ -3018,6 +3019,7 @@ module Google
3018
3019
  # @private
3019
3020
  class Representation < Google::Apis::Core::JsonRepresentation
3020
3021
  property :agent_uri, as: 'agentUri'
3022
+ property :data_format, as: 'dataFormat'
3021
3023
  property :environment, as: 'environment'
3022
3024
  end
3023
3025
  end
@@ -3990,6 +3992,7 @@ module Google
3990
3992
  # @private
3991
3993
  class Representation < Google::Apis::Core::JsonRepresentation
3992
3994
  property :flow, as: 'flow'
3995
+ property :page, as: 'page'
3993
3996
  collection :tracking_parameters, as: 'trackingParameters'
3994
3997
  end
3995
3998
  end
@@ -4946,6 +4949,7 @@ module Google
4946
4949
  # @private
4947
4950
  class Representation < Google::Apis::Core::JsonRepresentation
4948
4951
  property :flow, as: 'flow'
4952
+ property :page, as: 'page'
4949
4953
  collection :tracking_parameters, as: 'trackingParameters'
4950
4954
  end
4951
4955
  end
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.27.0
4
+ version: 0.30.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-02-28 00:00:00.000000000 Z
11
+ date: 2022-04-04 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.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.30.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: []