google-cloud-os_login-v1beta 0.15.0 → 0.15.2

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: 640634ec3f5ea0816ee61fea8b54f6ca5a964facc1117738e8738f851c25d13b
4
- data.tar.gz: b0bc89854a3e298b2e24abf75b34aa90691bcb8b539042ad029581f0f7fa622e
3
+ metadata.gz: c031a2e11824f02beaf168995ad3662daab6aceb63562d034f06bd4c0df881a4
4
+ data.tar.gz: e40cbd88d5a495ad35bae4465b58c67f095cbc785163d5ab3005afa52f7e9e61
5
5
  SHA512:
6
- metadata.gz: 38961db54e650851e87c8b483ebbdacf02b856d3fdf4d5d0689446f2931068a854f042c882c3246e6a0d0ba845341fdfbc2b4f3fffe71ec1de168e2d232d0f75
7
- data.tar.gz: 13d373716f5c7668502403021cfca59b626ac28efa5cf18c92f0076156198647461154173d9db5730968d225541cf87a273522696ddcfb7042967f128d666946
6
+ metadata.gz: 17bfd6b437c2276c71882db52623609159d863ca61be5c1fddf5b2dc168886d2ec07fcee25b1cac521b436b05af88a58f3637a75e52e47edd1e3db0fc5d45f70
7
+ data.tar.gz: 7cf44f0c6943056c565c61a2b2c1559571daa6082f3fbeaec88531084981f2fbc8c3a33bcf8e6aa00935220bff61e35a9ae2d4107723d2c00d92506dcca91977
@@ -33,6 +33,9 @@ module Google
33
33
  # public keys for logging into virtual machines on Google Cloud Platform.
34
34
  #
35
35
  class Client
36
+ # @private
37
+ API_VERSION = ""
38
+
36
39
  # @private
37
40
  DEFAULT_ENDPOINT_TEMPLATE = "oslogin.$UNIVERSE_DOMAIN$"
38
41
 
@@ -250,10 +253,11 @@ module Google
250
253
  # Customize the options with defaults
251
254
  metadata = @config.rpcs.create_ssh_public_key.metadata.to_h
252
255
 
253
- # Set x-goog-api-client and x-goog-user-project headers
256
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
254
257
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
255
258
  lib_name: @config.lib_name, lib_version: @config.lib_version,
256
259
  gapic_version: ::Google::Cloud::OsLogin::V1beta::VERSION
260
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
257
261
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
258
262
 
259
263
  header_params = {}
@@ -337,10 +341,11 @@ module Google
337
341
  # Customize the options with defaults
338
342
  metadata = @config.rpcs.delete_posix_account.metadata.to_h
339
343
 
340
- # Set x-goog-api-client and x-goog-user-project headers
344
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
341
345
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
342
346
  lib_name: @config.lib_name, lib_version: @config.lib_version,
343
347
  gapic_version: ::Google::Cloud::OsLogin::V1beta::VERSION
348
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
344
349
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
345
350
 
346
351
  header_params = {}
@@ -424,10 +429,11 @@ module Google
424
429
  # Customize the options with defaults
425
430
  metadata = @config.rpcs.delete_ssh_public_key.metadata.to_h
426
431
 
427
- # Set x-goog-api-client and x-goog-user-project headers
432
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
428
433
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
429
434
  lib_name: @config.lib_name, lib_version: @config.lib_version,
430
435
  gapic_version: ::Google::Cloud::OsLogin::V1beta::VERSION
436
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
431
437
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
432
438
 
433
439
  header_params = {}
@@ -516,10 +522,11 @@ module Google
516
522
  # Customize the options with defaults
517
523
  metadata = @config.rpcs.get_login_profile.metadata.to_h
518
524
 
519
- # Set x-goog-api-client and x-goog-user-project headers
525
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
520
526
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
521
527
  lib_name: @config.lib_name, lib_version: @config.lib_version,
522
528
  gapic_version: ::Google::Cloud::OsLogin::V1beta::VERSION
529
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
523
530
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
524
531
 
525
532
  header_params = {}
@@ -603,10 +610,11 @@ module Google
603
610
  # Customize the options with defaults
604
611
  metadata = @config.rpcs.get_ssh_public_key.metadata.to_h
605
612
 
606
- # Set x-goog-api-client and x-goog-user-project headers
613
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
607
614
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
608
615
  lib_name: @config.lib_name, lib_version: @config.lib_version,
609
616
  gapic_version: ::Google::Cloud::OsLogin::V1beta::VERSION
617
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
610
618
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
611
619
 
612
620
  header_params = {}
@@ -700,10 +708,11 @@ module Google
700
708
  # Customize the options with defaults
701
709
  metadata = @config.rpcs.import_ssh_public_key.metadata.to_h
702
710
 
703
- # Set x-goog-api-client and x-goog-user-project headers
711
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
704
712
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
705
713
  lib_name: @config.lib_name, lib_version: @config.lib_version,
706
714
  gapic_version: ::Google::Cloud::OsLogin::V1beta::VERSION
715
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
707
716
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
708
717
 
709
718
  header_params = {}
@@ -792,10 +801,11 @@ module Google
792
801
  # Customize the options with defaults
793
802
  metadata = @config.rpcs.update_ssh_public_key.metadata.to_h
794
803
 
795
- # Set x-goog-api-client and x-goog-user-project headers
804
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
796
805
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
797
806
  lib_name: @config.lib_name, lib_version: @config.lib_version,
798
807
  gapic_version: ::Google::Cloud::OsLogin::V1beta::VERSION
808
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
799
809
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
800
810
 
801
811
  header_params = {}
@@ -843,10 +853,7 @@ module Google
843
853
  # @param ssh_public_key [::String]
844
854
  # The SSH public key to sign.
845
855
  # @param parent [::String]
846
- # The parent project and zone for the signing request. This is needed to
847
- # properly ensure per-organization ISS processing and potentially to provide
848
- # for the possibility of zone-specific certificates used in the signing
849
- # process.
856
+ # The parent project and region for the signing request.
850
857
  #
851
858
  # @yield [response, operation] Access the result along with the RPC operation
852
859
  # @yieldparam response [::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyResponse]
@@ -882,10 +889,11 @@ module Google
882
889
  # Customize the options with defaults
883
890
  metadata = @config.rpcs.sign_ssh_public_key.metadata.to_h
884
891
 
885
- # Set x-goog-api-client and x-goog-user-project headers
892
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
886
893
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
887
894
  lib_name: @config.lib_name, lib_version: @config.lib_version,
888
895
  gapic_version: ::Google::Cloud::OsLogin::V1beta::VERSION
896
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
889
897
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
890
898
 
891
899
  header_params = {}
@@ -35,6 +35,9 @@ module Google
35
35
  # public keys for logging into virtual machines on Google Cloud Platform.
36
36
  #
37
37
  class Client
38
+ # @private
39
+ API_VERSION = ""
40
+
38
41
  # @private
39
42
  DEFAULT_ENDPOINT_TEMPLATE = "oslogin.$UNIVERSE_DOMAIN$"
40
43
 
@@ -242,12 +245,13 @@ module Google
242
245
  # Customize the options with defaults
243
246
  call_metadata = @config.rpcs.create_ssh_public_key.metadata.to_h
244
247
 
245
- # Set x-goog-api-client and x-goog-user-project headers
248
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
246
249
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
247
250
  lib_name: @config.lib_name, lib_version: @config.lib_version,
248
251
  gapic_version: ::Google::Cloud::OsLogin::V1beta::VERSION,
249
252
  transports_version_send: [:rest]
250
253
 
254
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
251
255
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
252
256
 
253
257
  options.apply_defaults timeout: @config.rpcs.create_ssh_public_key.timeout,
@@ -322,12 +326,13 @@ module Google
322
326
  # Customize the options with defaults
323
327
  call_metadata = @config.rpcs.delete_posix_account.metadata.to_h
324
328
 
325
- # Set x-goog-api-client and x-goog-user-project headers
329
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
326
330
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
327
331
  lib_name: @config.lib_name, lib_version: @config.lib_version,
328
332
  gapic_version: ::Google::Cloud::OsLogin::V1beta::VERSION,
329
333
  transports_version_send: [:rest]
330
334
 
335
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
331
336
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
332
337
 
333
338
  options.apply_defaults timeout: @config.rpcs.delete_posix_account.timeout,
@@ -402,12 +407,13 @@ module Google
402
407
  # Customize the options with defaults
403
408
  call_metadata = @config.rpcs.delete_ssh_public_key.metadata.to_h
404
409
 
405
- # Set x-goog-api-client and x-goog-user-project headers
410
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
406
411
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
407
412
  lib_name: @config.lib_name, lib_version: @config.lib_version,
408
413
  gapic_version: ::Google::Cloud::OsLogin::V1beta::VERSION,
409
414
  transports_version_send: [:rest]
410
415
 
416
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
411
417
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
412
418
 
413
419
  options.apply_defaults timeout: @config.rpcs.delete_ssh_public_key.timeout,
@@ -487,12 +493,13 @@ module Google
487
493
  # Customize the options with defaults
488
494
  call_metadata = @config.rpcs.get_login_profile.metadata.to_h
489
495
 
490
- # Set x-goog-api-client and x-goog-user-project headers
496
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
491
497
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
492
498
  lib_name: @config.lib_name, lib_version: @config.lib_version,
493
499
  gapic_version: ::Google::Cloud::OsLogin::V1beta::VERSION,
494
500
  transports_version_send: [:rest]
495
501
 
502
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
496
503
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
497
504
 
498
505
  options.apply_defaults timeout: @config.rpcs.get_login_profile.timeout,
@@ -567,12 +574,13 @@ module Google
567
574
  # Customize the options with defaults
568
575
  call_metadata = @config.rpcs.get_ssh_public_key.metadata.to_h
569
576
 
570
- # Set x-goog-api-client and x-goog-user-project headers
577
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
571
578
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
572
579
  lib_name: @config.lib_name, lib_version: @config.lib_version,
573
580
  gapic_version: ::Google::Cloud::OsLogin::V1beta::VERSION,
574
581
  transports_version_send: [:rest]
575
582
 
583
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
576
584
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
577
585
 
578
586
  options.apply_defaults timeout: @config.rpcs.get_ssh_public_key.timeout,
@@ -657,12 +665,13 @@ module Google
657
665
  # Customize the options with defaults
658
666
  call_metadata = @config.rpcs.import_ssh_public_key.metadata.to_h
659
667
 
660
- # Set x-goog-api-client and x-goog-user-project headers
668
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
661
669
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
662
670
  lib_name: @config.lib_name, lib_version: @config.lib_version,
663
671
  gapic_version: ::Google::Cloud::OsLogin::V1beta::VERSION,
664
672
  transports_version_send: [:rest]
665
673
 
674
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
666
675
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
667
676
 
668
677
  options.apply_defaults timeout: @config.rpcs.import_ssh_public_key.timeout,
@@ -742,12 +751,13 @@ module Google
742
751
  # Customize the options with defaults
743
752
  call_metadata = @config.rpcs.update_ssh_public_key.metadata.to_h
744
753
 
745
- # Set x-goog-api-client and x-goog-user-project headers
754
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
746
755
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
747
756
  lib_name: @config.lib_name, lib_version: @config.lib_version,
748
757
  gapic_version: ::Google::Cloud::OsLogin::V1beta::VERSION,
749
758
  transports_version_send: [:rest]
750
759
 
760
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
751
761
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
752
762
 
753
763
  options.apply_defaults timeout: @config.rpcs.update_ssh_public_key.timeout,
@@ -787,10 +797,7 @@ module Google
787
797
  # @param ssh_public_key [::String]
788
798
  # The SSH public key to sign.
789
799
  # @param parent [::String]
790
- # The parent project and zone for the signing request. This is needed to
791
- # properly ensure per-organization ISS processing and potentially to provide
792
- # for the possibility of zone-specific certificates used in the signing
793
- # process.
800
+ # The parent project and region for the signing request.
794
801
  # @yield [result, operation] Access the result along with the TransportOperation object
795
802
  # @yieldparam result [::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyResponse]
796
803
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -825,12 +832,13 @@ module Google
825
832
  # Customize the options with defaults
826
833
  call_metadata = @config.rpcs.sign_ssh_public_key.metadata.to_h
827
834
 
828
- # Set x-goog-api-client and x-goog-user-project headers
835
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
829
836
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
830
837
  lib_name: @config.lib_name, lib_version: @config.lib_version,
831
838
  gapic_version: ::Google::Cloud::OsLogin::V1beta::VERSION,
832
839
  transports_version_send: [:rest]
833
840
 
841
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
834
842
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
835
843
 
836
844
  options.apply_defaults timeout: @config.rpcs.sign_ssh_public_key.timeout,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module OsLogin
23
23
  module V1beta
24
- VERSION = "0.15.0"
24
+ VERSION = "0.15.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
@@ -209,10 +209,7 @@ module Google
209
209
  # The SSH public key to sign.
210
210
  # @!attribute [rw] parent
211
211
  # @return [::String]
212
- # The parent project and zone for the signing request. This is needed to
213
- # properly ensure per-organization ISS processing and potentially to provide
214
- # for the possibility of zone-specific certificates used in the signing
215
- # process.
212
+ # The parent project and region for the signing request.
216
213
  class SignSshPublicKeyRequest
217
214
  include ::Google::Protobuf::MessageExts
218
215
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-os_login-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.15.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