google-cloud-binary_authorization-v1 0.8.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/binary_authorization/v1/binauthz_management_service/client.rb +17 -7
- data/lib/google/cloud/binary_authorization/v1/binauthz_management_service/rest/client.rb +17 -7
- data/lib/google/cloud/binary_authorization/v1/system_policy/client.rb +5 -1
- data/lib/google/cloud/binary_authorization/v1/system_policy/rest/client.rb +5 -1
- data/lib/google/cloud/binary_authorization/v1/validation_helper/client.rb +5 -1
- data/lib/google/cloud/binary_authorization/v1/validation_helper/rest/client.rb +5 -1
- data/lib/google/cloud/binary_authorization/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +31 -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: 1e4b16f010779bbfe5febb58ecb62d3eac4333d6c1ea40eeda669bfd747d5a00
|
4
|
+
data.tar.gz: db076f21fd420b43c07195be72d1ce3900180770700200009049da4e3049e24f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4dd41483b66a08f3b801abc57390a2747441cb449ed39cfe75ad0c032ced29c142e0ebde4773095bf808adf6c22b3f600021c93ff3521f01d64a8801672b37e
|
7
|
+
data.tar.gz: 954d1fde550a669fc75e209e9b85e3f8f320bf27aecb2b3184c2f295f6d16449edf02a8b64a5191373f02cd6e58ffe042e21435bef8406183536fa3d06d768e7
|
@@ -36,6 +36,9 @@ module Google
|
|
36
36
|
# * {::Google::Cloud::BinaryAuthorization::V1::Attestor Attestor}
|
37
37
|
#
|
38
38
|
class Client
|
39
|
+
# @private
|
40
|
+
API_VERSION = ""
|
41
|
+
|
39
42
|
# @private
|
40
43
|
DEFAULT_ENDPOINT_TEMPLATE = "binaryauthorization.$UNIVERSE_DOMAIN$"
|
41
44
|
|
@@ -260,10 +263,11 @@ module Google
|
|
260
263
|
# Customize the options with defaults
|
261
264
|
metadata = @config.rpcs.get_policy.metadata.to_h
|
262
265
|
|
263
|
-
# Set x-goog-api-client
|
266
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
264
267
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
265
268
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
266
269
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
270
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
267
271
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
268
272
|
|
269
273
|
header_params = {}
|
@@ -351,10 +355,11 @@ module Google
|
|
351
355
|
# Customize the options with defaults
|
352
356
|
metadata = @config.rpcs.update_policy.metadata.to_h
|
353
357
|
|
354
|
-
# Set x-goog-api-client
|
358
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
355
359
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
356
360
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
357
361
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
362
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
358
363
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
359
364
|
|
360
365
|
header_params = {}
|
@@ -445,10 +450,11 @@ module Google
|
|
445
450
|
# Customize the options with defaults
|
446
451
|
metadata = @config.rpcs.create_attestor.metadata.to_h
|
447
452
|
|
448
|
-
# Set x-goog-api-client
|
453
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
449
454
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
450
455
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
451
456
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
457
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
452
458
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
453
459
|
|
454
460
|
header_params = {}
|
@@ -532,10 +538,11 @@ module Google
|
|
532
538
|
# Customize the options with defaults
|
533
539
|
metadata = @config.rpcs.get_attestor.metadata.to_h
|
534
540
|
|
535
|
-
# Set x-goog-api-client
|
541
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
536
542
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
537
543
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
538
544
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
545
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
539
546
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
540
547
|
|
541
548
|
header_params = {}
|
@@ -620,10 +627,11 @@ module Google
|
|
620
627
|
# Customize the options with defaults
|
621
628
|
metadata = @config.rpcs.update_attestor.metadata.to_h
|
622
629
|
|
623
|
-
# Set x-goog-api-client
|
630
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
624
631
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
625
632
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
626
633
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
634
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
627
635
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
628
636
|
|
629
637
|
header_params = {}
|
@@ -718,10 +726,11 @@ module Google
|
|
718
726
|
# Customize the options with defaults
|
719
727
|
metadata = @config.rpcs.list_attestors.metadata.to_h
|
720
728
|
|
721
|
-
# Set x-goog-api-client
|
729
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
722
730
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
723
731
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
724
732
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
733
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
725
734
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
726
735
|
|
727
736
|
header_params = {}
|
@@ -806,10 +815,11 @@ module Google
|
|
806
815
|
# Customize the options with defaults
|
807
816
|
metadata = @config.rpcs.delete_attestor.metadata.to_h
|
808
817
|
|
809
|
-
# Set x-goog-api-client
|
818
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
810
819
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
811
820
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
812
821
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
822
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
813
823
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
814
824
|
|
815
825
|
header_params = {}
|
@@ -38,6 +38,9 @@ module Google
|
|
38
38
|
# * {::Google::Cloud::BinaryAuthorization::V1::Attestor Attestor}
|
39
39
|
#
|
40
40
|
class Client
|
41
|
+
# @private
|
42
|
+
API_VERSION = ""
|
43
|
+
|
41
44
|
# @private
|
42
45
|
DEFAULT_ENDPOINT_TEMPLATE = "binaryauthorization.$UNIVERSE_DOMAIN$"
|
43
46
|
|
@@ -252,12 +255,13 @@ module Google
|
|
252
255
|
# Customize the options with defaults
|
253
256
|
call_metadata = @config.rpcs.get_policy.metadata.to_h
|
254
257
|
|
255
|
-
# Set x-goog-api-client
|
258
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
256
259
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
257
260
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
258
261
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION,
|
259
262
|
transports_version_send: [:rest]
|
260
263
|
|
264
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
261
265
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
262
266
|
|
263
267
|
options.apply_defaults timeout: @config.rpcs.get_policy.timeout,
|
@@ -336,12 +340,13 @@ module Google
|
|
336
340
|
# Customize the options with defaults
|
337
341
|
call_metadata = @config.rpcs.update_policy.metadata.to_h
|
338
342
|
|
339
|
-
# Set x-goog-api-client
|
343
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
340
344
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
341
345
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
342
346
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION,
|
343
347
|
transports_version_send: [:rest]
|
344
348
|
|
349
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
345
350
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
346
351
|
|
347
352
|
options.apply_defaults timeout: @config.rpcs.update_policy.timeout,
|
@@ -423,12 +428,13 @@ module Google
|
|
423
428
|
# Customize the options with defaults
|
424
429
|
call_metadata = @config.rpcs.create_attestor.metadata.to_h
|
425
430
|
|
426
|
-
# Set x-goog-api-client
|
431
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
427
432
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
428
433
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
429
434
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION,
|
430
435
|
transports_version_send: [:rest]
|
431
436
|
|
437
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
432
438
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
433
439
|
|
434
440
|
options.apply_defaults timeout: @config.rpcs.create_attestor.timeout,
|
@@ -503,12 +509,13 @@ module Google
|
|
503
509
|
# Customize the options with defaults
|
504
510
|
call_metadata = @config.rpcs.get_attestor.metadata.to_h
|
505
511
|
|
506
|
-
# Set x-goog-api-client
|
512
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
507
513
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
508
514
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
509
515
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION,
|
510
516
|
transports_version_send: [:rest]
|
511
517
|
|
518
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
512
519
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
513
520
|
|
514
521
|
options.apply_defaults timeout: @config.rpcs.get_attestor.timeout,
|
@@ -584,12 +591,13 @@ module Google
|
|
584
591
|
# Customize the options with defaults
|
585
592
|
call_metadata = @config.rpcs.update_attestor.metadata.to_h
|
586
593
|
|
587
|
-
# Set x-goog-api-client
|
594
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
588
595
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
589
596
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
590
597
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION,
|
591
598
|
transports_version_send: [:rest]
|
592
599
|
|
600
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
593
601
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
594
602
|
|
595
603
|
options.apply_defaults timeout: @config.rpcs.update_attestor.timeout,
|
@@ -675,12 +683,13 @@ module Google
|
|
675
683
|
# Customize the options with defaults
|
676
684
|
call_metadata = @config.rpcs.list_attestors.metadata.to_h
|
677
685
|
|
678
|
-
# Set x-goog-api-client
|
686
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
679
687
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
680
688
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
681
689
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION,
|
682
690
|
transports_version_send: [:rest]
|
683
691
|
|
692
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
684
693
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
685
694
|
|
686
695
|
options.apply_defaults timeout: @config.rpcs.list_attestors.timeout,
|
@@ -756,12 +765,13 @@ module Google
|
|
756
765
|
# Customize the options with defaults
|
757
766
|
call_metadata = @config.rpcs.delete_attestor.metadata.to_h
|
758
767
|
|
759
|
-
# Set x-goog-api-client
|
768
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
760
769
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
761
770
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
762
771
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION,
|
763
772
|
transports_version_send: [:rest]
|
764
773
|
|
774
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
765
775
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
766
776
|
|
767
777
|
options.apply_defaults timeout: @config.rpcs.delete_attestor.timeout,
|
@@ -30,6 +30,9 @@ module Google
|
|
30
30
|
# API for working with the system policy.
|
31
31
|
#
|
32
32
|
class Client
|
33
|
+
# @private
|
34
|
+
API_VERSION = ""
|
35
|
+
|
33
36
|
# @private
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "binaryauthorization.$UNIVERSE_DOMAIN$"
|
35
38
|
|
@@ -216,10 +219,11 @@ module Google
|
|
216
219
|
# Customize the options with defaults
|
217
220
|
metadata = @config.rpcs.get_system_policy.metadata.to_h
|
218
221
|
|
219
|
-
# Set x-goog-api-client
|
222
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
220
223
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
221
224
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
222
225
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
226
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
223
227
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
224
228
|
|
225
229
|
header_params = {}
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# API for working with the system policy.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "binaryauthorization.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -208,12 +211,13 @@ module Google
|
|
208
211
|
# Customize the options with defaults
|
209
212
|
call_metadata = @config.rpcs.get_system_policy.metadata.to_h
|
210
213
|
|
211
|
-
# Set x-goog-api-client
|
214
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
212
215
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
213
216
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
214
217
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION,
|
215
218
|
transports_version_send: [:rest]
|
216
219
|
|
220
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
217
221
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
218
222
|
|
219
223
|
options.apply_defaults timeout: @config.rpcs.get_system_policy.timeout,
|
@@ -30,6 +30,9 @@ module Google
|
|
30
30
|
# BinAuthz Attestor verification
|
31
31
|
#
|
32
32
|
class Client
|
33
|
+
# @private
|
34
|
+
API_VERSION = ""
|
35
|
+
|
33
36
|
# @private
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "binaryauthorization.$UNIVERSE_DOMAIN$"
|
35
38
|
|
@@ -227,10 +230,11 @@ module Google
|
|
227
230
|
# Customize the options with defaults
|
228
231
|
metadata = @config.rpcs.validate_attestation_occurrence.metadata.to_h
|
229
232
|
|
230
|
-
# Set x-goog-api-client
|
233
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
231
234
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
232
235
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
233
236
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
237
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
234
238
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
235
239
|
|
236
240
|
header_params = {}
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# BinAuthz Attestor verification
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "binaryauthorization.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -219,12 +222,13 @@ module Google
|
|
219
222
|
# Customize the options with defaults
|
220
223
|
call_metadata = @config.rpcs.validate_attestation_occurrence.metadata.to_h
|
221
224
|
|
222
|
-
# Set x-goog-api-client
|
225
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
223
226
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
224
227
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
225
228
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION,
|
226
229
|
transports_version_send: [:rest]
|
227
230
|
|
231
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
228
232
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
229
233
|
|
230
234
|
options.apply_defaults timeout: @config.rpcs.validate_attestation_occurrence.timeout,
|
@@ -196,9 +196,26 @@ module Google
|
|
196
196
|
# @!attribute [rw] common
|
197
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
198
198
|
# Some settings.
|
199
|
+
# @!attribute [rw] experimental_features
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
201
|
+
# Experimental features to be included during client library generation.
|
199
202
|
class PythonSettings
|
200
203
|
include ::Google::Protobuf::MessageExts
|
201
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
|
202
219
|
end
|
203
220
|
|
204
221
|
# Settings for Node client libraries.
|
@@ -290,6 +307,13 @@ module Google
|
|
290
307
|
# @return [::String]
|
291
308
|
# The fully qualified name of the method, for which the options below apply.
|
292
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...
|
293
317
|
# @!attribute [rw] long_running
|
294
318
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
295
319
|
# Describes settings to use for long-running operations when generating
|
@@ -298,17 +322,14 @@ module Google
|
|
298
322
|
#
|
299
323
|
# Example of a YAML configuration::
|
300
324
|
#
|
301
|
-
#
|
302
|
-
#
|
325
|
+
# publishing:
|
326
|
+
# method_settings:
|
303
327
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
304
328
|
# long_running:
|
305
|
-
# initial_poll_delay:
|
306
|
-
# seconds: 60 # 1 minute
|
329
|
+
# initial_poll_delay: 60s # 1 minute
|
307
330
|
# poll_delay_multiplier: 1.5
|
308
|
-
# max_poll_delay:
|
309
|
-
#
|
310
|
-
# total_poll_timeout:
|
311
|
-
# seconds: 54000 # 90 minutes
|
331
|
+
# max_poll_delay: 360s # 6 minutes
|
332
|
+
# total_poll_timeout: 54000s # 90 minutes
|
312
333
|
# @!attribute [rw] auto_populated_fields
|
313
334
|
# @return [::Array<::String>]
|
314
335
|
# List of top-level fields of the request message, that should be
|
@@ -317,8 +338,8 @@ module Google
|
|
317
338
|
#
|
318
339
|
# Example of a YAML configuration:
|
319
340
|
#
|
320
|
-
#
|
321
|
-
#
|
341
|
+
# publishing:
|
342
|
+
# method_settings:
|
322
343
|
# - selector: google.example.v1.ExampleService.CreateExample
|
323
344
|
# auto_populated_fields:
|
324
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-binary_authorization-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.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
|