google-cloud-os_login-v1 0.12.0 → 1.0.0

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: 2d88bcc55122d920c16b31c5c32bf767e47bca7fded30880c589bbdef2dbc4da
4
- data.tar.gz: 29adb54f26d4d64e88cccfa4e44071201ab0a0d0972c0daacb6882a72b8cb95b
3
+ metadata.gz: 550f3155c6c8f7623883bb0c9ff9c8996ea921811e8792b3ccf3001d23663d7c
4
+ data.tar.gz: 16866d4e12b4fd02219818559eb949ea243237ec3e056ac612403e2e4f3e3a2b
5
5
  SHA512:
6
- metadata.gz: 8872253db53f1be9d0e669e10a167a53e1d8b64f07019dbe0ddc351aecffab32a6830e9b3370acac40ab1572d1fe570f5b24a5f275909ff28e8af3eb17c09514
7
- data.tar.gz: 0c6826ba1a1116cab71ad44b88176c9a3c2662704b04e8434483a1d9b99d51811de00d47f16a8af873bd0845972a2c7b3f48e94235aff24aadc91d39f31c211e
6
+ metadata.gz: b76804c66d83d990ae28a4265e3dbc261ade78b95aeb0c3a3c295b8c11d99456f494e126c9c6d4eee98b548ddb82787b96c87788ad2c5032dd85e58453175881
7
+ data.tar.gz: b24418d8cb97a6ee3532cce245cb8f5bd4dadc5ccdb596df6939d22af39ae1144e8d45dd5afe4debb7208aae310bd0589015065e0cdc1a1a8f82087d0285faf8
@@ -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::V1::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::V1::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::V1::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 = {}
@@ -514,10 +520,11 @@ module Google
514
520
  # Customize the options with defaults
515
521
  metadata = @config.rpcs.get_login_profile.metadata.to_h
516
522
 
517
- # Set x-goog-api-client and x-goog-user-project headers
523
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
518
524
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
519
525
  lib_name: @config.lib_name, lib_version: @config.lib_version,
520
526
  gapic_version: ::Google::Cloud::OsLogin::V1::VERSION
527
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
521
528
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
522
529
 
523
530
  header_params = {}
@@ -601,10 +608,11 @@ module Google
601
608
  # Customize the options with defaults
602
609
  metadata = @config.rpcs.get_ssh_public_key.metadata.to_h
603
610
 
604
- # Set x-goog-api-client and x-goog-user-project headers
611
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
605
612
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
606
613
  lib_name: @config.lib_name, lib_version: @config.lib_version,
607
614
  gapic_version: ::Google::Cloud::OsLogin::V1::VERSION
615
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
608
616
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
609
617
 
610
618
  header_params = {}
@@ -696,10 +704,11 @@ module Google
696
704
  # Customize the options with defaults
697
705
  metadata = @config.rpcs.import_ssh_public_key.metadata.to_h
698
706
 
699
- # Set x-goog-api-client and x-goog-user-project headers
707
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
700
708
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
701
709
  lib_name: @config.lib_name, lib_version: @config.lib_version,
702
710
  gapic_version: ::Google::Cloud::OsLogin::V1::VERSION
711
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
703
712
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
704
713
 
705
714
  header_params = {}
@@ -788,10 +797,11 @@ module Google
788
797
  # Customize the options with defaults
789
798
  metadata = @config.rpcs.update_ssh_public_key.metadata.to_h
790
799
 
791
- # Set x-goog-api-client and x-goog-user-project headers
800
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
792
801
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
793
802
  lib_name: @config.lib_name, lib_version: @config.lib_version,
794
803
  gapic_version: ::Google::Cloud::OsLogin::V1::VERSION
804
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
795
805
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
796
806
 
797
807
  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::V1::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::V1::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::V1::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,
@@ -485,12 +491,13 @@ module Google
485
491
  # Customize the options with defaults
486
492
  call_metadata = @config.rpcs.get_login_profile.metadata.to_h
487
493
 
488
- # Set x-goog-api-client and x-goog-user-project headers
494
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
489
495
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
490
496
  lib_name: @config.lib_name, lib_version: @config.lib_version,
491
497
  gapic_version: ::Google::Cloud::OsLogin::V1::VERSION,
492
498
  transports_version_send: [:rest]
493
499
 
500
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
494
501
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
495
502
 
496
503
  options.apply_defaults timeout: @config.rpcs.get_login_profile.timeout,
@@ -565,12 +572,13 @@ module Google
565
572
  # Customize the options with defaults
566
573
  call_metadata = @config.rpcs.get_ssh_public_key.metadata.to_h
567
574
 
568
- # Set x-goog-api-client and x-goog-user-project headers
575
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
569
576
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
570
577
  lib_name: @config.lib_name, lib_version: @config.lib_version,
571
578
  gapic_version: ::Google::Cloud::OsLogin::V1::VERSION,
572
579
  transports_version_send: [:rest]
573
580
 
581
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
574
582
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
575
583
 
576
584
  options.apply_defaults timeout: @config.rpcs.get_ssh_public_key.timeout,
@@ -653,12 +661,13 @@ module Google
653
661
  # Customize the options with defaults
654
662
  call_metadata = @config.rpcs.import_ssh_public_key.metadata.to_h
655
663
 
656
- # Set x-goog-api-client and x-goog-user-project headers
664
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
657
665
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
658
666
  lib_name: @config.lib_name, lib_version: @config.lib_version,
659
667
  gapic_version: ::Google::Cloud::OsLogin::V1::VERSION,
660
668
  transports_version_send: [:rest]
661
669
 
670
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
662
671
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
663
672
 
664
673
  options.apply_defaults timeout: @config.rpcs.import_ssh_public_key.timeout,
@@ -738,12 +747,13 @@ module Google
738
747
  # Customize the options with defaults
739
748
  call_metadata = @config.rpcs.update_ssh_public_key.metadata.to_h
740
749
 
741
- # Set x-goog-api-client and x-goog-user-project headers
750
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
742
751
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
743
752
  lib_name: @config.lib_name, lib_version: @config.lib_version,
744
753
  gapic_version: ::Google::Cloud::OsLogin::V1::VERSION,
745
754
  transports_version_send: [:rest]
746
755
 
756
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
747
757
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
748
758
 
749
759
  options.apply_defaults timeout: @config.rpcs.update_ssh_public_key.timeout,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module OsLogin
23
23
  module V1
24
- VERSION = "0.12.0"
24
+ VERSION = "1.0.0"
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
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-os_login-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 1.0.0
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-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common