google-cloud-dataqna-v1alpha 0.7.0 → 0.7.2

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: 0bc86c4ff21ba999db606e852791aba1445cc6d145864d9171df4c29fcb284c1
4
- data.tar.gz: e8307333065cafdc221bce72aca451d27596b4b0c561530aab1833bcb87b3738
3
+ metadata.gz: e4afbbca0ef06410aa80fd4203abdb6260c5acecfb8f639f6526b71d57ce2438
4
+ data.tar.gz: e953498e277666433a85dfbe71ba7d701a3ed98ea91f06e47151496f5feb1287
5
5
  SHA512:
6
- metadata.gz: 030c9e6e1304aebc5e5d2b19358b90e8cb019d4470749d917d72a011f0f0feb38f7d8fe1d2594d5acb515fb44e16f6b4915433697e72c37656bcbc068e76fbba
7
- data.tar.gz: 6067f60312bebbeb0d0ab089bd0261d9949307da1daf77dbabd2c40ecbe26977ce9c5f840232fbe1473fc3354ab812c0811b4cb6f9f0cc3f54b5c3afb7d7ce1b
6
+ metadata.gz: 9771cbfe8438392bac86d58cf979c8bfaf3f72fdc824bc9d0e0cb7cdb53aab9aa346bcdefa2ee4f04a372a228230965089a33d46164e316d2a52ade9e968f7cd
7
+ data.tar.gz: 955c8fc2ac24f6bf71ade3d654ca928ed90edf1d49243a55948621d31ce5714ec185a9ab3502f96a98c61d673ea5a1276fcaddb9e484cfe0b7aae75d3ade7f9e
data/README.md CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  Data QnA is a natural language question and answer service for BigQuery data.
4
4
 
5
- Data QnA is a natural language question and answer service for BigQuery data.
6
5
 
7
6
  https://github.com/googleapis/google-cloud-ruby
8
7
 
@@ -95,6 +95,9 @@ module Google
95
95
  # ```
96
96
  #
97
97
  class Client
98
+ # @private
99
+ API_VERSION = ""
100
+
98
101
  # @private
99
102
  DEFAULT_ENDPOINT_TEMPLATE = "dataqna.$UNIVERSE_DOMAIN$"
100
103
 
@@ -299,10 +302,11 @@ module Google
299
302
  # Customize the options with defaults
300
303
  metadata = @config.rpcs.suggest_queries.metadata.to_h
301
304
 
302
- # Set x-goog-api-client and x-goog-user-project headers
305
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
303
306
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
304
307
  lib_name: @config.lib_name, lib_version: @config.lib_version,
305
308
  gapic_version: ::Google::Cloud::DataQnA::V1alpha::VERSION
309
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
306
310
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
307
311
 
308
312
  header_params = {}
@@ -44,6 +44,9 @@ module Google
44
44
  # user feedback.
45
45
  #
46
46
  class Client
47
+ # @private
48
+ API_VERSION = ""
49
+
47
50
  # @private
48
51
  DEFAULT_ENDPOINT_TEMPLATE = "dataqna.$UNIVERSE_DOMAIN$"
49
52
 
@@ -243,10 +246,11 @@ module Google
243
246
  # Customize the options with defaults
244
247
  metadata = @config.rpcs.get_question.metadata.to_h
245
248
 
246
- # Set x-goog-api-client and x-goog-user-project headers
249
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
247
250
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
248
251
  lib_name: @config.lib_name, lib_version: @config.lib_version,
249
252
  gapic_version: ::Google::Cloud::DataQnA::V1alpha::VERSION
253
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
250
254
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
251
255
 
252
256
  header_params = {}
@@ -331,10 +335,11 @@ module Google
331
335
  # Customize the options with defaults
332
336
  metadata = @config.rpcs.create_question.metadata.to_h
333
337
 
334
- # Set x-goog-api-client and x-goog-user-project headers
338
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
335
339
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
336
340
  lib_name: @config.lib_name, lib_version: @config.lib_version,
337
341
  gapic_version: ::Google::Cloud::DataQnA::V1alpha::VERSION
342
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
338
343
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
339
344
 
340
345
  header_params = {}
@@ -419,10 +424,11 @@ module Google
419
424
  # Customize the options with defaults
420
425
  metadata = @config.rpcs.execute_question.metadata.to_h
421
426
 
422
- # Set x-goog-api-client and x-goog-user-project headers
427
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
423
428
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
424
429
  lib_name: @config.lib_name, lib_version: @config.lib_version,
425
430
  gapic_version: ::Google::Cloud::DataQnA::V1alpha::VERSION
431
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
426
432
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
427
433
 
428
434
  header_params = {}
@@ -506,10 +512,11 @@ module Google
506
512
  # Customize the options with defaults
507
513
  metadata = @config.rpcs.get_user_feedback.metadata.to_h
508
514
 
509
- # Set x-goog-api-client and x-goog-user-project headers
515
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
510
516
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
511
517
  lib_name: @config.lib_name, lib_version: @config.lib_version,
512
518
  gapic_version: ::Google::Cloud::DataQnA::V1alpha::VERSION
519
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
513
520
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
514
521
 
515
522
  header_params = {}
@@ -597,10 +604,11 @@ module Google
597
604
  # Customize the options with defaults
598
605
  metadata = @config.rpcs.update_user_feedback.metadata.to_h
599
606
 
600
- # Set x-goog-api-client and x-goog-user-project headers
607
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
601
608
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
602
609
  lib_name: @config.lib_name, lib_version: @config.lib_version,
603
610
  gapic_version: ::Google::Cloud::DataQnA::V1alpha::VERSION
611
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
604
612
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
605
613
 
606
614
  header_params = {}
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module DataQnA
23
23
  module V1alpha
24
- VERSION = "0.7.0"
24
+ VERSION = "0.7.2"
25
25
  end
26
26
  end
27
27
  end
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -192,9 +196,26 @@ module Google
192
196
  # @!attribute [rw] common
193
197
  # @return [::Google::Api::CommonLanguageSettings]
194
198
  # Some settings.
199
+ # @!attribute [rw] experimental_features
200
+ # @return [::Google::Api::PythonSettings::ExperimentalFeatures]
201
+ # Experimental features to be included during client library generation.
195
202
  class PythonSettings
196
203
  include ::Google::Protobuf::MessageExts
197
204
  extend ::Google::Protobuf::MessageExts::ClassMethods
205
+
206
+ # Experimental features to be included during client library generation.
207
+ # These fields will be deprecated once the feature graduates and is enabled
208
+ # by default.
209
+ # @!attribute [rw] rest_async_io_enabled
210
+ # @return [::Boolean]
211
+ # Enables generation of asynchronous REST clients if `rest` transport is
212
+ # enabled. By default, asynchronous REST clients will not be generated.
213
+ # This feature will be enabled by default 1 month after launching the
214
+ # feature in preview packages.
215
+ class ExperimentalFeatures
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
198
219
  end
199
220
 
200
221
  # Settings for Node client libraries.
@@ -286,6 +307,13 @@ module Google
286
307
  # @return [::String]
287
308
  # The fully qualified name of the method, for which the options below apply.
288
309
  # This is used to find the method to apply the options.
310
+ #
311
+ # Example:
312
+ #
313
+ # publishing:
314
+ # method_settings:
315
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
316
+ # # method settings for CreateFolder...
289
317
  # @!attribute [rw] long_running
290
318
  # @return [::Google::Api::MethodSettings::LongRunning]
291
319
  # Describes settings to use for long-running operations when generating
@@ -294,17 +322,14 @@ module Google
294
322
  #
295
323
  # Example of a YAML configuration::
296
324
  #
297
- # publishing:
298
- # method_settings:
325
+ # publishing:
326
+ # method_settings:
299
327
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
300
328
  # long_running:
301
- # initial_poll_delay:
302
- # seconds: 60 # 1 minute
329
+ # initial_poll_delay: 60s # 1 minute
303
330
  # poll_delay_multiplier: 1.5
304
- # max_poll_delay:
305
- # seconds: 360 # 6 minutes
306
- # total_poll_timeout:
307
- # seconds: 54000 # 90 minutes
331
+ # max_poll_delay: 360s # 6 minutes
332
+ # total_poll_timeout: 54000s # 90 minutes
308
333
  # @!attribute [rw] auto_populated_fields
309
334
  # @return [::Array<::String>]
310
335
  # List of top-level fields of the request message, that should be
@@ -313,8 +338,8 @@ module Google
313
338
  #
314
339
  # Example of a YAML configuration:
315
340
  #
316
- # publishing:
317
- # method_settings:
341
+ # publishing:
342
+ # method_settings:
318
343
  # - selector: google.example.v1.ExampleService.CreateExample
319
344
  # auto_populated_fields:
320
345
  # - request_id
@@ -124,8 +124,13 @@ module Google
124
124
  # @return [::String]
125
125
  # The plural name used in the resource name and permission names, such as
126
126
  # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
- # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
128
+ # to this is for Nested Collections that have stuttering names, as defined
129
+ # in [AIP-122](https://google.aip.dev/122#nested-collections), where the
130
+ # collection ID in the resource name pattern does not necessarily directly
131
+ # match the `plural` value.
132
+ #
133
+ # It is the same concept of the `plural` field in k8s CRD spec
129
134
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
135
  #
131
136
  # Note: The plural form is required even for singleton resources. See
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dataqna-v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-26 00:00:00.000000000 Z
11
+ date: 2024-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common