google-apis-dialogflow_v3 0.62.0 → 0.64.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: c93cad3926361f984c6340792cf2c345b4eb69f982dfbeaf40962f28fe57e7ed
4
- data.tar.gz: 0d852413d3376721deffacafd97e314bb49e3f498d5af0a3656e5ed336a0787e
3
+ metadata.gz: 7e6e7e4c1baf34f48f23db561078a2b270565e349d2eb4fd1785b0d3e995a21f
4
+ data.tar.gz: a66740f99667b074fd0f756d6bf6f8a1f846c9dc16db93f576442a9d67dd5e43
5
5
  SHA512:
6
- metadata.gz: cfefc92a5b49c10d54f4f59ad8a5b92bb8a79673935fe19f0e76dbfcad4e4280e6989940022c26d252c26767550d0de682e73875ee7dc6b46e964129e003d7f5
7
- data.tar.gz: '083d1e9d591e5be63772a74473f2846d90824237fa8777b7cbab0c77c93c2b136183d41e3eb32d1cba909674d5e1c42e2cde6d5fcd3790cb24e79b7188c9094d'
6
+ metadata.gz: b95cdd23306c8c396578e927f24df05bfc2c2060314a9db2c823a65c53a47ca6bcefe0f41e1c06a6f51ba6c3728da5bcae46bd0827dac313125f8db84f302fc7
7
+ data.tar.gz: 115667707d094aaa9317227672c8803a4e1434b158ffc094436b6b576fe7ae2648a7c8b3c48db46ed98b25e6851c678db92d5074d006e92eb5988b514a34af80
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.64.0 (2023-07-09)
4
+
5
+ * Regenerated from discovery document revision 20230705
6
+
7
+ ### v0.63.0 (2023-07-02)
8
+
9
+ * Regenerated from discovery document revision 20230626
10
+
3
11
  ### v0.62.0 (2023-06-25)
4
12
 
5
13
  * Regenerated from discovery document revision 20230621
@@ -141,6 +141,11 @@ module Google
141
141
  attr_accessor :enable_stackdriver_logging
142
142
  alias_method :enable_stackdriver_logging?, :enable_stackdriver_logging
143
143
 
144
+ # Settings for connecting to Git repository for an agent.
145
+ # Corresponds to the JSON property `gitIntegrationSettings`
146
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentGitIntegrationSettings]
147
+ attr_accessor :git_integration_settings
148
+
144
149
  # Indicates whether the agent is locked for changes. If the agent is locked,
145
150
  # modifications to the agent will be rejected except for RestoreAgent.
146
151
  # Corresponds to the JSON property `locked`
@@ -203,6 +208,7 @@ module Google
203
208
  @display_name = args[:display_name] if args.key?(:display_name)
204
209
  @enable_spell_correction = args[:enable_spell_correction] if args.key?(:enable_spell_correction)
205
210
  @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
211
+ @git_integration_settings = args[:git_integration_settings] if args.key?(:git_integration_settings)
206
212
  @locked = args[:locked] if args.key?(:locked)
207
213
  @name = args[:name] if args.key?(:name)
208
214
  @security_settings = args[:security_settings] if args.key?(:security_settings)
@@ -214,6 +220,68 @@ module Google
214
220
  end
215
221
  end
216
222
 
223
+ # Settings for connecting to Git repository for an agent.
224
+ class GoogleCloudDialogflowCxV3AgentGitIntegrationSettings
225
+ include Google::Apis::Core::Hashable
226
+
227
+ # Settings of integration with GitHub.
228
+ # Corresponds to the JSON property `githubSettings`
229
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings]
230
+ attr_accessor :github_settings
231
+
232
+ def initialize(**args)
233
+ update!(**args)
234
+ end
235
+
236
+ # Update properties of this object
237
+ def update!(**args)
238
+ @github_settings = args[:github_settings] if args.key?(:github_settings)
239
+ end
240
+ end
241
+
242
+ # Settings of integration with GitHub.
243
+ class GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings
244
+ include Google::Apis::Core::Hashable
245
+
246
+ # The access token used to authenticate the access to the GitHub repository.
247
+ # Corresponds to the JSON property `accessToken`
248
+ # @return [String]
249
+ attr_accessor :access_token
250
+
251
+ # A list of branches configured to be used from Dialogflow.
252
+ # Corresponds to the JSON property `branches`
253
+ # @return [Array<String>]
254
+ attr_accessor :branches
255
+
256
+ # The unique repository display name for the GitHub repository.
257
+ # Corresponds to the JSON property `displayName`
258
+ # @return [String]
259
+ attr_accessor :display_name
260
+
261
+ # The GitHub repository URI related to the agent.
262
+ # Corresponds to the JSON property `repositoryUri`
263
+ # @return [String]
264
+ attr_accessor :repository_uri
265
+
266
+ # The branch of GitHub repository tracked for this agent.
267
+ # Corresponds to the JSON property `trackingBranch`
268
+ # @return [String]
269
+ attr_accessor :tracking_branch
270
+
271
+ def initialize(**args)
272
+ update!(**args)
273
+ end
274
+
275
+ # Update properties of this object
276
+ def update!(**args)
277
+ @access_token = args[:access_token] if args.key?(:access_token)
278
+ @branches = args[:branches] if args.key?(:branches)
279
+ @display_name = args[:display_name] if args.key?(:display_name)
280
+ @repository_uri = args[:repository_uri] if args.key?(:repository_uri)
281
+ @tracking_branch = args[:tracking_branch] if args.key?(:tracking_branch)
282
+ end
283
+ end
284
+
217
285
  # The response message for Agents.GetAgentValidationResult.
218
286
  class GoogleCloudDialogflowCxV3AgentValidationResult
219
287
  include Google::Apis::Core::Hashable
@@ -1717,6 +1785,11 @@ module Google
1717
1785
  # @return [String]
1718
1786
  attr_accessor :environment
1719
1787
 
1788
+ # Settings for exporting to a git branch.
1789
+ # Corresponds to the JSON property `gitDestination`
1790
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination]
1791
+ attr_accessor :git_destination
1792
+
1720
1793
  # Optional. Whether to include BigQuery Export setting.
1721
1794
  # Corresponds to the JSON property `includeBigqueryExportSettings`
1722
1795
  # @return [Boolean]
@@ -1732,15 +1805,42 @@ module Google
1732
1805
  @agent_uri = args[:agent_uri] if args.key?(:agent_uri)
1733
1806
  @data_format = args[:data_format] if args.key?(:data_format)
1734
1807
  @environment = args[:environment] if args.key?(:environment)
1808
+ @git_destination = args[:git_destination] if args.key?(:git_destination)
1735
1809
  @include_bigquery_export_settings = args[:include_bigquery_export_settings] if args.key?(:include_bigquery_export_settings)
1736
1810
  end
1737
1811
  end
1738
1812
 
1813
+ # Settings for exporting to a git branch.
1814
+ class GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination
1815
+ include Google::Apis::Core::Hashable
1816
+
1817
+ # Commit message for the git push.
1818
+ # Corresponds to the JSON property `commitMessage`
1819
+ # @return [String]
1820
+ attr_accessor :commit_message
1821
+
1822
+ # Tracking branch for the git push.
1823
+ # Corresponds to the JSON property `trackingBranch`
1824
+ # @return [String]
1825
+ attr_accessor :tracking_branch
1826
+
1827
+ def initialize(**args)
1828
+ update!(**args)
1829
+ end
1830
+
1831
+ # Update properties of this object
1832
+ def update!(**args)
1833
+ @commit_message = args[:commit_message] if args.key?(:commit_message)
1834
+ @tracking_branch = args[:tracking_branch] if args.key?(:tracking_branch)
1835
+ end
1836
+ end
1837
+
1739
1838
  # The response message for Agents.ExportAgent.
1740
1839
  class GoogleCloudDialogflowCxV3ExportAgentResponse
1741
1840
  include Google::Apis::Core::Hashable
1742
1841
 
1743
- # Uncompressed raw byte content for agent.
1842
+ # Uncompressed raw byte content for agent. This field is populated if none of `
1843
+ # agent_uri` and `git_destination` are specified in ExportAgentRequest.
1744
1844
  # Corresponds to the JSON property `agentContent`
1745
1845
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1746
1846
  # @return [String]
@@ -1752,6 +1852,12 @@ module Google
1752
1852
  # @return [String]
1753
1853
  attr_accessor :agent_uri
1754
1854
 
1855
+ # Commit SHA of the git push. This field is populated if `git_destination` are
1856
+ # specified in ExportAgentRequest.
1857
+ # Corresponds to the JSON property `commitSha`
1858
+ # @return [String]
1859
+ attr_accessor :commit_sha
1860
+
1755
1861
  def initialize(**args)
1756
1862
  update!(**args)
1757
1863
  end
@@ -1760,6 +1866,7 @@ module Google
1760
1866
  def update!(**args)
1761
1867
  @agent_content = args[:agent_content] if args.key?(:agent_content)
1762
1868
  @agent_uri = args[:agent_uri] if args.key?(:agent_uri)
1869
+ @commit_sha = args[:commit_sha] if args.key?(:commit_sha)
1763
1870
  end
1764
1871
  end
1765
1872
 
@@ -4677,6 +4784,11 @@ module Google
4677
4784
  # @return [String]
4678
4785
  attr_accessor :agent_uri
4679
4786
 
4787
+ # Settings for restoring from a git branch
4788
+ # Corresponds to the JSON property `gitSource`
4789
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RestoreAgentRequestGitSource]
4790
+ attr_accessor :git_source
4791
+
4680
4792
  # Agent restore mode. If not specified, `KEEP` is assumed.
4681
4793
  # Corresponds to the JSON property `restoreOption`
4682
4794
  # @return [String]
@@ -4690,10 +4802,30 @@ module Google
4690
4802
  def update!(**args)
4691
4803
  @agent_content = args[:agent_content] if args.key?(:agent_content)
4692
4804
  @agent_uri = args[:agent_uri] if args.key?(:agent_uri)
4805
+ @git_source = args[:git_source] if args.key?(:git_source)
4693
4806
  @restore_option = args[:restore_option] if args.key?(:restore_option)
4694
4807
  end
4695
4808
  end
4696
4809
 
4810
+ # Settings for restoring from a git branch
4811
+ class GoogleCloudDialogflowCxV3RestoreAgentRequestGitSource
4812
+ include Google::Apis::Core::Hashable
4813
+
4814
+ # tracking branch for the git pull
4815
+ # Corresponds to the JSON property `trackingBranch`
4816
+ # @return [String]
4817
+ attr_accessor :tracking_branch
4818
+
4819
+ def initialize(**args)
4820
+ update!(**args)
4821
+ end
4822
+
4823
+ # Update properties of this object
4824
+ def update!(**args)
4825
+ @tracking_branch = args[:tracking_branch] if args.key?(:tracking_branch)
4826
+ end
4827
+ end
4828
+
4697
4829
  # The configuration for auto rollout.
4698
4830
  class GoogleCloudDialogflowCxV3RolloutConfig
4699
4831
  include Google::Apis::Core::Hashable
@@ -7347,7 +7479,8 @@ module Google
7347
7479
  class GoogleCloudDialogflowCxV3beta1ExportAgentResponse
7348
7480
  include Google::Apis::Core::Hashable
7349
7481
 
7350
- # Uncompressed raw byte content for agent.
7482
+ # Uncompressed raw byte content for agent. This field is populated if none of `
7483
+ # agent_uri` and `git_destination` are specified in ExportAgentRequest.
7351
7484
  # Corresponds to the JSON property `agentContent`
7352
7485
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
7353
7486
  # @return [String]
@@ -7359,6 +7492,12 @@ module Google
7359
7492
  # @return [String]
7360
7493
  attr_accessor :agent_uri
7361
7494
 
7495
+ # Commit SHA of the git push. This field is populated if `git_destination` are
7496
+ # specified in ExportAgentRequest.
7497
+ # Corresponds to the JSON property `commitSha`
7498
+ # @return [String]
7499
+ attr_accessor :commit_sha
7500
+
7362
7501
  def initialize(**args)
7363
7502
  update!(**args)
7364
7503
  end
@@ -7367,6 +7506,7 @@ module Google
7367
7506
  def update!(**args)
7368
7507
  @agent_content = args[:agent_content] if args.key?(:agent_content)
7369
7508
  @agent_uri = args[:agent_uri] if args.key?(:agent_uri)
7509
+ @commit_sha = args[:commit_sha] if args.key?(:commit_sha)
7370
7510
  end
7371
7511
  end
7372
7512
 
@@ -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.62.0"
19
+ GEM_VERSION = "0.64.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 = "20230621"
25
+ REVISION = "20230705"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,18 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class GoogleCloudDialogflowCxV3AgentGitIntegrationSettings
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
43
55
  class GoogleCloudDialogflowCxV3AgentValidationResult
44
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
57
 
@@ -292,6 +304,12 @@ module Google
292
304
  include Google::Apis::Core::JsonObjectSupport
293
305
  end
294
306
 
307
+ class GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
295
313
  class GoogleCloudDialogflowCxV3ExportAgentResponse
296
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
315
 
@@ -766,6 +784,12 @@ module Google
766
784
  include Google::Apis::Core::JsonObjectSupport
767
785
  end
768
786
 
787
+ class GoogleCloudDialogflowCxV3RestoreAgentRequestGitSource
788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
789
+
790
+ include Google::Apis::Core::JsonObjectSupport
791
+ end
792
+
769
793
  class GoogleCloudDialogflowCxV3RolloutConfig
770
794
  class Representation < Google::Apis::Core::JsonRepresentation; end
771
795
 
@@ -2709,6 +2733,8 @@ module Google
2709
2733
  property :display_name, as: 'displayName'
2710
2734
  property :enable_spell_correction, as: 'enableSpellCorrection'
2711
2735
  property :enable_stackdriver_logging, as: 'enableStackdriverLogging'
2736
+ property :git_integration_settings, as: 'gitIntegrationSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentGitIntegrationSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentGitIntegrationSettings::Representation
2737
+
2712
2738
  property :locked, as: 'locked'
2713
2739
  property :name, as: 'name'
2714
2740
  property :security_settings, as: 'securitySettings'
@@ -2722,6 +2748,25 @@ module Google
2722
2748
  end
2723
2749
  end
2724
2750
 
2751
+ class GoogleCloudDialogflowCxV3AgentGitIntegrationSettings
2752
+ # @private
2753
+ class Representation < Google::Apis::Core::JsonRepresentation
2754
+ property :github_settings, as: 'githubSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings::Representation
2755
+
2756
+ end
2757
+ end
2758
+
2759
+ class GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings
2760
+ # @private
2761
+ class Representation < Google::Apis::Core::JsonRepresentation
2762
+ property :access_token, as: 'accessToken'
2763
+ collection :branches, as: 'branches'
2764
+ property :display_name, as: 'displayName'
2765
+ property :repository_uri, as: 'repositoryUri'
2766
+ property :tracking_branch, as: 'trackingBranch'
2767
+ end
2768
+ end
2769
+
2725
2770
  class GoogleCloudDialogflowCxV3AgentValidationResult
2726
2771
  # @private
2727
2772
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3145,15 +3190,26 @@ module Google
3145
3190
  property :agent_uri, as: 'agentUri'
3146
3191
  property :data_format, as: 'dataFormat'
3147
3192
  property :environment, as: 'environment'
3193
+ property :git_destination, as: 'gitDestination', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination::Representation
3194
+
3148
3195
  property :include_bigquery_export_settings, as: 'includeBigqueryExportSettings'
3149
3196
  end
3150
3197
  end
3151
3198
 
3199
+ class GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination
3200
+ # @private
3201
+ class Representation < Google::Apis::Core::JsonRepresentation
3202
+ property :commit_message, as: 'commitMessage'
3203
+ property :tracking_branch, as: 'trackingBranch'
3204
+ end
3205
+ end
3206
+
3152
3207
  class GoogleCloudDialogflowCxV3ExportAgentResponse
3153
3208
  # @private
3154
3209
  class Representation < Google::Apis::Core::JsonRepresentation
3155
3210
  property :agent_content, :base64 => true, as: 'agentContent'
3156
3211
  property :agent_uri, as: 'agentUri'
3212
+ property :commit_sha, as: 'commitSha'
3157
3213
  end
3158
3214
  end
3159
3215
 
@@ -3930,10 +3986,19 @@ module Google
3930
3986
  class Representation < Google::Apis::Core::JsonRepresentation
3931
3987
  property :agent_content, :base64 => true, as: 'agentContent'
3932
3988
  property :agent_uri, as: 'agentUri'
3989
+ property :git_source, as: 'gitSource', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RestoreAgentRequestGitSource, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RestoreAgentRequestGitSource::Representation
3990
+
3933
3991
  property :restore_option, as: 'restoreOption'
3934
3992
  end
3935
3993
  end
3936
3994
 
3995
+ class GoogleCloudDialogflowCxV3RestoreAgentRequestGitSource
3996
+ # @private
3997
+ class Representation < Google::Apis::Core::JsonRepresentation
3998
+ property :tracking_branch, as: 'trackingBranch'
3999
+ end
4000
+ end
4001
+
3937
4002
  class GoogleCloudDialogflowCxV3RolloutConfig
3938
4003
  # @private
3939
4004
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4684,6 +4749,7 @@ module Google
4684
4749
  class Representation < Google::Apis::Core::JsonRepresentation
4685
4750
  property :agent_content, :base64 => true, as: 'agentContent'
4686
4751
  property :agent_uri, as: 'agentUri'
4752
+ property :commit_sha, as: 'commitSha'
4687
4753
  end
4688
4754
  end
4689
4755
 
@@ -3741,7 +3741,8 @@ module Google
3741
3741
  execute_or_queue_command(command, &block)
3742
3742
  end
3743
3743
 
3744
- # Fetches a list of results for a given test case.
3744
+ # Fetches the list of run results for the given test case. A maximum of 100
3745
+ # results are kept for each test case.
3745
3746
  # @param [String] parent
3746
3747
  # Required. The test case to list results for. Format: `projects//locations//
3747
3748
  # agents// testCases/`. Specify a `-` as a wildcard for TestCase ID to list
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.62.0
4
+ version: 0.64.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-06-25 00:00:00.000000000 Z
11
+ date: 2023-07-09 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.62.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.64.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: []