google-cloud-bigquery-data_policies-v1 0.8.0 → 0.8.1
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 +4 -4
- data/lib/google/cloud/bigquery/data_policies/v1/data_policy_service/client.rb +21 -9
- data/lib/google/cloud/bigquery/data_policies/v1/data_policy_service/rest/client.rb +21 -9
- data/lib/google/cloud/bigquery/data_policies/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz: '
|
|
3
|
+
metadata.gz: fb7eb7d052f187b886c060eaacb2e4a9cfbc081bbd81f47c67d24411d25af234
|
|
4
|
+
data.tar.gz: '0837c3118b32f56544e0045f91b9d6837982389e087258ae9cb910796c208d10'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f12e5fc6a754d59786101c666ce439f195a933621547eed84f8ea5a16fad6bff753a9d78b98365176d17502b087e28cfb791d44d3d9b50b8d997a7964c53a1a9
|
|
7
|
+
data.tar.gz: 55c2f55f467694fdbcdc3ce5071690a500e0688e25dee845800379e447d9c28581ead5bfc7f061f150e96b25dd97390c3bd98cc34d7acd603df04827a547a4c1
|
|
@@ -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
|
|
|
@@ -266,10 +269,11 @@ module Google
|
|
|
266
269
|
# Customize the options with defaults
|
|
267
270
|
metadata = @config.rpcs.create_data_policy.metadata.to_h
|
|
268
271
|
|
|
269
|
-
# Set x-goog-api-client
|
|
272
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
270
273
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
271
274
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
272
275
|
gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1::VERSION
|
|
276
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
273
277
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
274
278
|
|
|
275
279
|
header_params = {}
|
|
@@ -362,10 +366,11 @@ module Google
|
|
|
362
366
|
# Customize the options with defaults
|
|
363
367
|
metadata = @config.rpcs.update_data_policy.metadata.to_h
|
|
364
368
|
|
|
365
|
-
# Set x-goog-api-client
|
|
369
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
366
370
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
367
371
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
368
372
|
gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1::VERSION
|
|
373
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
369
374
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
370
375
|
|
|
371
376
|
header_params = {}
|
|
@@ -450,10 +455,11 @@ module Google
|
|
|
450
455
|
# Customize the options with defaults
|
|
451
456
|
metadata = @config.rpcs.rename_data_policy.metadata.to_h
|
|
452
457
|
|
|
453
|
-
# Set x-goog-api-client
|
|
458
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
454
459
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
455
460
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
456
461
|
gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1::VERSION
|
|
462
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
457
463
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
458
464
|
|
|
459
465
|
header_params = {}
|
|
@@ -536,10 +542,11 @@ module Google
|
|
|
536
542
|
# Customize the options with defaults
|
|
537
543
|
metadata = @config.rpcs.delete_data_policy.metadata.to_h
|
|
538
544
|
|
|
539
|
-
# Set x-goog-api-client
|
|
545
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
540
546
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
541
547
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
542
548
|
gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1::VERSION
|
|
549
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
543
550
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
544
551
|
|
|
545
552
|
header_params = {}
|
|
@@ -622,10 +629,11 @@ module Google
|
|
|
622
629
|
# Customize the options with defaults
|
|
623
630
|
metadata = @config.rpcs.get_data_policy.metadata.to_h
|
|
624
631
|
|
|
625
|
-
# Set x-goog-api-client
|
|
632
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
626
633
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
627
634
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
628
635
|
gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1::VERSION
|
|
636
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
629
637
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
630
638
|
|
|
631
639
|
header_params = {}
|
|
@@ -728,10 +736,11 @@ module Google
|
|
|
728
736
|
# Customize the options with defaults
|
|
729
737
|
metadata = @config.rpcs.list_data_policies.metadata.to_h
|
|
730
738
|
|
|
731
|
-
# Set x-goog-api-client
|
|
739
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
732
740
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
733
741
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
734
742
|
gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1::VERSION
|
|
743
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
735
744
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
736
745
|
|
|
737
746
|
header_params = {}
|
|
@@ -818,10 +827,11 @@ module Google
|
|
|
818
827
|
# Customize the options with defaults
|
|
819
828
|
metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
|
820
829
|
|
|
821
|
-
# Set x-goog-api-client
|
|
830
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
822
831
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
823
832
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
824
833
|
gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1::VERSION
|
|
834
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
825
835
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
826
836
|
|
|
827
837
|
header_params = {}
|
|
@@ -915,10 +925,11 @@ module Google
|
|
|
915
925
|
# Customize the options with defaults
|
|
916
926
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
|
917
927
|
|
|
918
|
-
# Set x-goog-api-client
|
|
928
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
919
929
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
920
930
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
921
931
|
gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1::VERSION
|
|
932
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
922
933
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
923
934
|
|
|
924
935
|
header_params = {}
|
|
@@ -1006,10 +1017,11 @@ module Google
|
|
|
1006
1017
|
# Customize the options with defaults
|
|
1007
1018
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
|
1008
1019
|
|
|
1009
|
-
# Set x-goog-api-client
|
|
1020
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1010
1021
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1011
1022
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1012
1023
|
gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1::VERSION
|
|
1024
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1013
1025
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1014
1026
|
|
|
1015
1027
|
header_params = {}
|
|
@@ -33,6 +33,9 @@ module Google
|
|
|
33
33
|
# Data Policy Service provides APIs for managing the label-policy bindings.
|
|
34
34
|
#
|
|
35
35
|
class Client
|
|
36
|
+
# @private
|
|
37
|
+
API_VERSION = ""
|
|
38
|
+
|
|
36
39
|
# @private
|
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "bigquerydatapolicy.$UNIVERSE_DOMAIN$"
|
|
38
41
|
|
|
@@ -258,12 +261,13 @@ module Google
|
|
|
258
261
|
# Customize the options with defaults
|
|
259
262
|
call_metadata = @config.rpcs.create_data_policy.metadata.to_h
|
|
260
263
|
|
|
261
|
-
# Set x-goog-api-client
|
|
264
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
262
265
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
263
266
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
264
267
|
gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1::VERSION,
|
|
265
268
|
transports_version_send: [:rest]
|
|
266
269
|
|
|
270
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
267
271
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
268
272
|
|
|
269
273
|
options.apply_defaults timeout: @config.rpcs.create_data_policy.timeout,
|
|
@@ -347,12 +351,13 @@ module Google
|
|
|
347
351
|
# Customize the options with defaults
|
|
348
352
|
call_metadata = @config.rpcs.update_data_policy.metadata.to_h
|
|
349
353
|
|
|
350
|
-
# Set x-goog-api-client
|
|
354
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
351
355
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
352
356
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
353
357
|
gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1::VERSION,
|
|
354
358
|
transports_version_send: [:rest]
|
|
355
359
|
|
|
360
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
356
361
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
357
362
|
|
|
358
363
|
options.apply_defaults timeout: @config.rpcs.update_data_policy.timeout,
|
|
@@ -428,12 +433,13 @@ module Google
|
|
|
428
433
|
# Customize the options with defaults
|
|
429
434
|
call_metadata = @config.rpcs.rename_data_policy.metadata.to_h
|
|
430
435
|
|
|
431
|
-
# Set x-goog-api-client
|
|
436
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
432
437
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
433
438
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
434
439
|
gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1::VERSION,
|
|
435
440
|
transports_version_send: [:rest]
|
|
436
441
|
|
|
442
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
437
443
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
438
444
|
|
|
439
445
|
options.apply_defaults timeout: @config.rpcs.rename_data_policy.timeout,
|
|
@@ -507,12 +513,13 @@ module Google
|
|
|
507
513
|
# Customize the options with defaults
|
|
508
514
|
call_metadata = @config.rpcs.delete_data_policy.metadata.to_h
|
|
509
515
|
|
|
510
|
-
# Set x-goog-api-client
|
|
516
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
511
517
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
512
518
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
513
519
|
gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1::VERSION,
|
|
514
520
|
transports_version_send: [:rest]
|
|
515
521
|
|
|
522
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
516
523
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
517
524
|
|
|
518
525
|
options.apply_defaults timeout: @config.rpcs.delete_data_policy.timeout,
|
|
@@ -586,12 +593,13 @@ module Google
|
|
|
586
593
|
# Customize the options with defaults
|
|
587
594
|
call_metadata = @config.rpcs.get_data_policy.metadata.to_h
|
|
588
595
|
|
|
589
|
-
# Set x-goog-api-client
|
|
596
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
590
597
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
591
598
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
592
599
|
gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1::VERSION,
|
|
593
600
|
transports_version_send: [:rest]
|
|
594
601
|
|
|
602
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
595
603
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
596
604
|
|
|
597
605
|
options.apply_defaults timeout: @config.rpcs.get_data_policy.timeout,
|
|
@@ -685,12 +693,13 @@ module Google
|
|
|
685
693
|
# Customize the options with defaults
|
|
686
694
|
call_metadata = @config.rpcs.list_data_policies.metadata.to_h
|
|
687
695
|
|
|
688
|
-
# Set x-goog-api-client
|
|
696
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
689
697
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
690
698
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
691
699
|
gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1::VERSION,
|
|
692
700
|
transports_version_send: [:rest]
|
|
693
701
|
|
|
702
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
694
703
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
695
704
|
|
|
696
705
|
options.apply_defaults timeout: @config.rpcs.list_data_policies.timeout,
|
|
@@ -768,12 +777,13 @@ module Google
|
|
|
768
777
|
# Customize the options with defaults
|
|
769
778
|
call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
|
770
779
|
|
|
771
|
-
# Set x-goog-api-client
|
|
780
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
772
781
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
773
782
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
774
783
|
gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1::VERSION,
|
|
775
784
|
transports_version_send: [:rest]
|
|
776
785
|
|
|
786
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
777
787
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
778
788
|
|
|
779
789
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
|
@@ -858,12 +868,13 @@ module Google
|
|
|
858
868
|
# Customize the options with defaults
|
|
859
869
|
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
|
860
870
|
|
|
861
|
-
# Set x-goog-api-client
|
|
871
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
862
872
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
863
873
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
864
874
|
gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1::VERSION,
|
|
865
875
|
transports_version_send: [:rest]
|
|
866
876
|
|
|
877
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
867
878
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
868
879
|
|
|
869
880
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
|
@@ -942,12 +953,13 @@ module Google
|
|
|
942
953
|
# Customize the options with defaults
|
|
943
954
|
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
|
944
955
|
|
|
945
|
-
# Set x-goog-api-client
|
|
956
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
946
957
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
947
958
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
948
959
|
gapic_version: ::Google::Cloud::Bigquery::DataPolicies::V1::VERSION,
|
|
949
960
|
transports_version_send: [:rest]
|
|
950
961
|
|
|
962
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
951
963
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
952
964
|
|
|
953
965
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|
|
@@ -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
|
-
#
|
|
298
|
-
#
|
|
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
|
-
#
|
|
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
|
-
#
|
|
317
|
-
#
|
|
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'.
|
|
128
|
-
#
|
|
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-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.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-
|
|
11
|
+
date: 2024-08-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|