google-cloud-os_login-v1beta 0.15.0 → 0.15.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: 640634ec3f5ea0816ee61fea8b54f6ca5a964facc1117738e8738f851c25d13b
4
- data.tar.gz: b0bc89854a3e298b2e24abf75b34aa90691bcb8b539042ad029581f0f7fa622e
3
+ metadata.gz: 9c6949e3d50b0566d34a89e76758fd11d3cbb49b00f62776b756613522cc5122
4
+ data.tar.gz: 547f143c69066ec8a845487fe8e86882bbdf3038401a681d3d1d51ce5ce85def
5
5
  SHA512:
6
- metadata.gz: 38961db54e650851e87c8b483ebbdacf02b856d3fdf4d5d0689446f2931068a854f042c882c3246e6a0d0ba845341fdfbc2b4f3fffe71ec1de168e2d232d0f75
7
- data.tar.gz: 13d373716f5c7668502403021cfca59b626ac28efa5cf18c92f0076156198647461154173d9db5730968d225541cf87a273522696ddcfb7042967f128d666946
6
+ metadata.gz: a83657d72b4efd7caffc94145b658df83164bec747e403112eef1c28ad8e74f823bad5405742c9360daae8231cb17cc71a13be2e8821ef4366b3c4cfd1e94283
7
+ data.tar.gz: 5a1ee38b94c4fb4cd3501f461a9c1ed418c881042920d8fd030b8086d5ce78652560eed9a5e141511150c2cadf17fe9c0bb19f3b6a569e39ed9f20dbab52a346
@@ -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.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
@@ -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.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-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common