google-cloud-bigquery-data_policies-v1beta1 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ab5773f98f3e5fcfeb4b0c7a5e4388e185a0a16aede8f4283d6ba4ab9b0f50e
4
- data.tar.gz: c79a7697cb212268e36a605c0af0c3fdc03bdebd41aa563495bd7768d6ce4b9b
3
+ metadata.gz: 1dab4053bf7ba3b57f767454a65c72ef435777085d1486ffe41534980c858c69
4
+ data.tar.gz: 508e9a7b599c57b2a7bbbb50c837d65fbe4ab085db874d04da3486fac89982b7
5
5
  SHA512:
6
- metadata.gz: 209b8fecf4163307adc67a2168112b7d37d094a8bdd591877ed2fe94e7928a6418eee5d0ba255eaf2ef6748fc9b6389dec0b0a08c33986f0bccd7ee452613934
7
- data.tar.gz: 89f3bc0026b21e341b8c418b41bb8f448e565a8065c93e733dae956d6ea6c299d479bd2b595396d173a6891cc99f7a41797c4d4242bb73d6012f328d792f046b
6
+ metadata.gz: a01a7832947392081fd459d63dffcb917982063cca7bb10756ed832ef9569c29b3d8e08a8384e359dc745fdc437291c37b0ff80b6677b3e0ad211d180aab09c6
7
+ data.tar.gz: 0f34e18697ca6a1b558551408eab499756d3f76514023bac9ab2c3a8d04ee7a116c4f944340b7a305c95ec3b5d26b3551ae0e20b85a6be712e3cc84d4205ed8d
@@ -31,6 +31,9 @@ module Google
31
31
  # Data Policy Service provides APIs for managing the label-policy bindings.
32
32
  #
33
33
  class Client
34
+ # @private
35
+ API_VERSION = ""
36
+
34
37
  # @private
35
38
  DEFAULT_ENDPOINT_TEMPLATE = "bigquerydatapolicy.$UNIVERSE_DOMAIN$"
36
39
 
@@ -261,10 +264,11 @@ module Google
261
264
  # Customize the options with defaults
262
265
  metadata = @config.rpcs.create_data_policy.metadata.to_h
263
266
 
264
- # Set x-goog-api-client and x-goog-user-project headers
267
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
265
268
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
266
269
  lib_name: @config.lib_name, lib_version: @config.lib_version,
267
270
  gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1beta1::VERSION
271
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
268
272
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
269
273
 
270
274
  header_params = {}
@@ -357,10 +361,11 @@ module Google
357
361
  # Customize the options with defaults
358
362
  metadata = @config.rpcs.update_data_policy.metadata.to_h
359
363
 
360
- # Set x-goog-api-client and x-goog-user-project headers
364
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
361
365
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
362
366
  lib_name: @config.lib_name, lib_version: @config.lib_version,
363
367
  gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1beta1::VERSION
368
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
364
369
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
365
370
 
366
371
  header_params = {}
@@ -443,10 +448,11 @@ module Google
443
448
  # Customize the options with defaults
444
449
  metadata = @config.rpcs.delete_data_policy.metadata.to_h
445
450
 
446
- # Set x-goog-api-client and x-goog-user-project headers
451
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
447
452
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
448
453
  lib_name: @config.lib_name, lib_version: @config.lib_version,
449
454
  gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1beta1::VERSION
455
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
450
456
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
451
457
 
452
458
  header_params = {}
@@ -529,10 +535,11 @@ module Google
529
535
  # Customize the options with defaults
530
536
  metadata = @config.rpcs.get_data_policy.metadata.to_h
531
537
 
532
- # Set x-goog-api-client and x-goog-user-project headers
538
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
533
539
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
534
540
  lib_name: @config.lib_name, lib_version: @config.lib_version,
535
541
  gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1beta1::VERSION
542
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
536
543
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
537
544
 
538
545
  header_params = {}
@@ -626,10 +633,11 @@ module Google
626
633
  # Customize the options with defaults
627
634
  metadata = @config.rpcs.list_data_policies.metadata.to_h
628
635
 
629
- # Set x-goog-api-client and x-goog-user-project headers
636
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
630
637
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
631
638
  lib_name: @config.lib_name, lib_version: @config.lib_version,
632
639
  gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1beta1::VERSION
640
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
633
641
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
634
642
 
635
643
  header_params = {}
@@ -716,10 +724,11 @@ module Google
716
724
  # Customize the options with defaults
717
725
  metadata = @config.rpcs.get_iam_policy.metadata.to_h
718
726
 
719
- # Set x-goog-api-client and x-goog-user-project headers
727
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
720
728
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
721
729
  lib_name: @config.lib_name, lib_version: @config.lib_version,
722
730
  gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1beta1::VERSION
731
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
723
732
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
724
733
 
725
734
  header_params = {}
@@ -813,10 +822,11 @@ module Google
813
822
  # Customize the options with defaults
814
823
  metadata = @config.rpcs.set_iam_policy.metadata.to_h
815
824
 
816
- # Set x-goog-api-client and x-goog-user-project headers
825
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
817
826
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
818
827
  lib_name: @config.lib_name, lib_version: @config.lib_version,
819
828
  gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1beta1::VERSION
829
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
820
830
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
821
831
 
822
832
  header_params = {}
@@ -904,10 +914,11 @@ module Google
904
914
  # Customize the options with defaults
905
915
  metadata = @config.rpcs.test_iam_permissions.metadata.to_h
906
916
 
907
- # Set x-goog-api-client and x-goog-user-project headers
917
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
908
918
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
909
919
  lib_name: @config.lib_name, lib_version: @config.lib_version,
910
920
  gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1beta1::VERSION
921
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
911
922
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
912
923
 
913
924
  header_params = {}
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigquery
23
23
  module DataPolicies
24
24
  module V1beta1
25
- VERSION = "0.5.0"
25
+ VERSION = "0.5.1"
26
26
  end
27
27
  end
28
28
  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-bigquery-data_policies-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
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