google-cloud-binary_authorization-v1beta1 0.13.0 → 0.13.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5b22b8f44a57ed81ce0d0242c6ed50da246017cead627603d073f5dfc9e03224
4
- data.tar.gz: 3eeb4ba28b5fc69c136f0f15d827a6e52295c86fa12b5d4cb2579c322f721334
3
+ metadata.gz: f5bc666db54edf37046522c8e3d6434d146c55afeb2bcc88f3ab073b572ed9a4
4
+ data.tar.gz: 2db3c9df2c3c578061c877a6111493334b77a91bc303e153faae0c2f2d72243f
5
5
  SHA512:
6
- metadata.gz: 55ef2a0e0c2ad44a22292170c4e58c42e5c939a1554d4bc26cc007189d0924637f1a4ef75fe237bdb8305d491bc65e59e4899238255d02a874df33a09de0b390
7
- data.tar.gz: dc45e5daeece4f5c1a5487fe6d664b730aec5c6a62cba6ffb2806f05bf2c1261c4bc74a56f966aa6959b82247ab4314799c7c428284efe7360f1eb64a1699d59
6
+ metadata.gz: a6b72bdd07d47abf6a49bd7793c1b79c8ef7d95d151c538d3b70baee95a73c4046d0b46cdda714e3913c7d674f696dc2ea7ede48ad36bdf9d022fecf6c9608fd
7
+ data.tar.gz: 2fcc24f339e86fcd0d959e287b34fcd7ea0dc87dbb416c51802c7a0cbd21aba5b467bd68c14458cb60ff3d7a9fb36ddf92c4763ee66fe410dc5d3096d34e1d72
@@ -36,6 +36,9 @@ module Google
36
36
  # * {::Google::Cloud::BinaryAuthorization::V1beta1::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 and x-goog-user-project headers
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::V1beta1::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 and x-goog-user-project headers
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::V1beta1::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 and x-goog-user-project headers
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::V1beta1::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 and x-goog-user-project headers
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::V1beta1::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 and x-goog-user-project headers
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::V1beta1::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 and x-goog-user-project headers
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::V1beta1::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 and x-goog-user-project headers
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::V1beta1::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::V1beta1::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 and x-goog-user-project headers
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::V1beta1::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 and x-goog-user-project headers
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::V1beta1::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 and x-goog-user-project headers
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::V1beta1::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 and x-goog-user-project headers
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::V1beta1::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 and x-goog-user-project headers
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::V1beta1::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 and x-goog-user-project headers
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::V1beta1::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 and x-goog-user-project headers
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::V1beta1::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 and x-goog-user-project headers
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::V1beta1::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 and x-goog-user-project headers
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::V1beta1::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,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module BinaryAuthorization
23
23
  module V1beta1
24
- VERSION = "0.13.0"
24
+ VERSION = "0.13.1"
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-binary_authorization-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.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