google-cloud-os_login-v1beta 0.8.0 → 0.10.0
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/os_login/v1beta/os_login_service/client.rb +107 -1
- data/lib/google/cloud/os_login/v1beta/os_login_service/rest/client.rb +202 -0
- data/lib/google/cloud/os_login/v1beta/os_login_service/rest/service_stub.rb +60 -0
- data/lib/google/cloud/os_login/v1beta/version.rb +1 -1
- data/lib/google/cloud/oslogin/v1beta/oslogin_pb.rb +3 -1
- data/lib/google/cloud/oslogin/v1beta/oslogin_services_pb.rb +2 -0
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/cloud/oslogin/v1beta/oslogin.rb +22 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8300c32adb004f48125e8315519c6f89864c9bd0326a7a314c3b59c931c5ff0c
|
4
|
+
data.tar.gz: 48ba297903280954c6697b8b1cf041d0e6e3934c37286d9cc96ec31e6ed6de96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9726fab7ef2e15a5defd8d4986b54719a947f14d939891936e422584caa4df45fc2a4074d96cbb18f237e3336cd1417c5cc541fd5eda7078e7d9f3e2b9c88a56
|
7
|
+
data.tar.gz: de06f2f70e8fdd1a4b77ac8fe676b213f5371e797156126a0f2b7166600f6444c438af77c989a8a34f673160d0f8b85d7c4bfc92d0280e2741f6058761d8cf6f
|
@@ -171,7 +171,8 @@ module Google
|
|
171
171
|
credentials: credentials,
|
172
172
|
endpoint: @config.endpoint,
|
173
173
|
channel_args: @config.channel_args,
|
174
|
-
interceptors: @config.interceptors
|
174
|
+
interceptors: @config.interceptors,
|
175
|
+
channel_pool_config: @config.channel_pool
|
175
176
|
)
|
176
177
|
end
|
177
178
|
|
@@ -802,6 +803,96 @@ module Google
|
|
802
803
|
raise ::Google::Cloud::Error.from_error(e)
|
803
804
|
end
|
804
805
|
|
806
|
+
##
|
807
|
+
# Signs an SSH public key for a user to authenticate to an instance.
|
808
|
+
#
|
809
|
+
# @overload sign_ssh_public_key(request, options = nil)
|
810
|
+
# Pass arguments to `sign_ssh_public_key` via a request object, either of type
|
811
|
+
# {::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyRequest} or an equivalent Hash.
|
812
|
+
#
|
813
|
+
# @param request [::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyRequest, ::Hash]
|
814
|
+
# A request object representing the call parameters. Required. To specify no
|
815
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
816
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
817
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
818
|
+
#
|
819
|
+
# @overload sign_ssh_public_key(ssh_public_key: nil, parent: nil)
|
820
|
+
# Pass arguments to `sign_ssh_public_key` via keyword arguments. Note that at
|
821
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
822
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
823
|
+
#
|
824
|
+
# @param ssh_public_key [::String]
|
825
|
+
# The SSH public key to sign.
|
826
|
+
# @param parent [::String]
|
827
|
+
# The parent project and zone for the signing request. This is needed to
|
828
|
+
# properly ensure per-organization ISS processing and potentially to provide
|
829
|
+
# for the possibility of zone-specific certificates used in the signing
|
830
|
+
# process.
|
831
|
+
#
|
832
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
833
|
+
# @yieldparam response [::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyResponse]
|
834
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
835
|
+
#
|
836
|
+
# @return [::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyResponse]
|
837
|
+
#
|
838
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
839
|
+
#
|
840
|
+
# @example Basic example
|
841
|
+
# require "google/cloud/os_login/v1beta"
|
842
|
+
#
|
843
|
+
# # Create a client object. The client can be reused for multiple calls.
|
844
|
+
# client = Google::Cloud::OsLogin::V1beta::OsLoginService::Client.new
|
845
|
+
#
|
846
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
847
|
+
# request = Google::Cloud::OsLogin::V1beta::SignSshPublicKeyRequest.new
|
848
|
+
#
|
849
|
+
# # Call the sign_ssh_public_key method.
|
850
|
+
# result = client.sign_ssh_public_key request
|
851
|
+
#
|
852
|
+
# # The returned object is of type Google::Cloud::OsLogin::V1beta::SignSshPublicKeyResponse.
|
853
|
+
# p result
|
854
|
+
#
|
855
|
+
def sign_ssh_public_key request, options = nil
|
856
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
857
|
+
|
858
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyRequest
|
859
|
+
|
860
|
+
# Converts hash and nil to an options object
|
861
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
862
|
+
|
863
|
+
# Customize the options with defaults
|
864
|
+
metadata = @config.rpcs.sign_ssh_public_key.metadata.to_h
|
865
|
+
|
866
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
867
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
868
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
869
|
+
gapic_version: ::Google::Cloud::OsLogin::V1beta::VERSION
|
870
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
871
|
+
|
872
|
+
header_params = {}
|
873
|
+
if request.parent
|
874
|
+
header_params["parent"] = request.parent
|
875
|
+
end
|
876
|
+
|
877
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
878
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
879
|
+
|
880
|
+
options.apply_defaults timeout: @config.rpcs.sign_ssh_public_key.timeout,
|
881
|
+
metadata: metadata,
|
882
|
+
retry_policy: @config.rpcs.sign_ssh_public_key.retry_policy
|
883
|
+
|
884
|
+
options.apply_defaults timeout: @config.timeout,
|
885
|
+
metadata: @config.metadata,
|
886
|
+
retry_policy: @config.retry_policy
|
887
|
+
|
888
|
+
@os_login_service_stub.call_rpc :sign_ssh_public_key, request, options: options do |response, operation|
|
889
|
+
yield response, operation if block_given?
|
890
|
+
return response
|
891
|
+
end
|
892
|
+
rescue ::GRPC::BadStatus => e
|
893
|
+
raise ::Google::Cloud::Error.from_error(e)
|
894
|
+
end
|
895
|
+
|
805
896
|
##
|
806
897
|
# Configuration class for the OsLoginService API.
|
807
898
|
#
|
@@ -921,6 +1012,14 @@ module Google
|
|
921
1012
|
end
|
922
1013
|
end
|
923
1014
|
|
1015
|
+
##
|
1016
|
+
# Configuration for the channel pool
|
1017
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
1018
|
+
#
|
1019
|
+
def channel_pool
|
1020
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
1021
|
+
end
|
1022
|
+
|
924
1023
|
##
|
925
1024
|
# Configuration RPC class for the OsLoginService API.
|
926
1025
|
#
|
@@ -974,6 +1073,11 @@ module Google
|
|
974
1073
|
# @return [::Gapic::Config::Method]
|
975
1074
|
#
|
976
1075
|
attr_reader :update_ssh_public_key
|
1076
|
+
##
|
1077
|
+
# RPC-specific configuration for `sign_ssh_public_key`
|
1078
|
+
# @return [::Gapic::Config::Method]
|
1079
|
+
#
|
1080
|
+
attr_reader :sign_ssh_public_key
|
977
1081
|
|
978
1082
|
# @private
|
979
1083
|
def initialize parent_rpcs = nil
|
@@ -991,6 +1095,8 @@ module Google
|
|
991
1095
|
@import_ssh_public_key = ::Gapic::Config::Method.new import_ssh_public_key_config
|
992
1096
|
update_ssh_public_key_config = parent_rpcs.update_ssh_public_key if parent_rpcs.respond_to? :update_ssh_public_key
|
993
1097
|
@update_ssh_public_key = ::Gapic::Config::Method.new update_ssh_public_key_config
|
1098
|
+
sign_ssh_public_key_config = parent_rpcs.sign_ssh_public_key if parent_rpcs.respond_to? :sign_ssh_public_key
|
1099
|
+
@sign_ssh_public_key = ::Gapic::Config::Method.new sign_ssh_public_key_config
|
994
1100
|
|
995
1101
|
yield self if block_given?
|
996
1102
|
end
|
@@ -197,6 +197,22 @@ module Google
|
|
197
197
|
# @return [::Google::Cloud::OsLogin::Common::SshPublicKey]
|
198
198
|
#
|
199
199
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
200
|
+
#
|
201
|
+
# @example Basic example
|
202
|
+
# require "google/cloud/os_login/v1beta"
|
203
|
+
#
|
204
|
+
# # Create a client object. The client can be reused for multiple calls.
|
205
|
+
# client = Google::Cloud::OsLogin::V1beta::OsLoginService::Rest::Client.new
|
206
|
+
#
|
207
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
208
|
+
# request = Google::Cloud::OsLogin::V1beta::CreateSshPublicKeyRequest.new
|
209
|
+
#
|
210
|
+
# # Call the create_ssh_public_key method.
|
211
|
+
# result = client.create_ssh_public_key request
|
212
|
+
#
|
213
|
+
# # The returned object is of type Google::Cloud::OsLogin::Common::SshPublicKey.
|
214
|
+
# p result
|
215
|
+
#
|
200
216
|
def create_ssh_public_key request, options = nil
|
201
217
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
202
218
|
|
@@ -261,6 +277,22 @@ module Google
|
|
261
277
|
# @return [::Google::Protobuf::Empty]
|
262
278
|
#
|
263
279
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
280
|
+
#
|
281
|
+
# @example Basic example
|
282
|
+
# require "google/cloud/os_login/v1beta"
|
283
|
+
#
|
284
|
+
# # Create a client object. The client can be reused for multiple calls.
|
285
|
+
# client = Google::Cloud::OsLogin::V1beta::OsLoginService::Rest::Client.new
|
286
|
+
#
|
287
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
288
|
+
# request = Google::Cloud::OsLogin::V1beta::DeletePosixAccountRequest.new
|
289
|
+
#
|
290
|
+
# # Call the delete_posix_account method.
|
291
|
+
# result = client.delete_posix_account request
|
292
|
+
#
|
293
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
294
|
+
# p result
|
295
|
+
#
|
264
296
|
def delete_posix_account request, options = nil
|
265
297
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
266
298
|
|
@@ -325,6 +357,22 @@ module Google
|
|
325
357
|
# @return [::Google::Protobuf::Empty]
|
326
358
|
#
|
327
359
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
360
|
+
#
|
361
|
+
# @example Basic example
|
362
|
+
# require "google/cloud/os_login/v1beta"
|
363
|
+
#
|
364
|
+
# # Create a client object. The client can be reused for multiple calls.
|
365
|
+
# client = Google::Cloud::OsLogin::V1beta::OsLoginService::Rest::Client.new
|
366
|
+
#
|
367
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
368
|
+
# request = Google::Cloud::OsLogin::V1beta::DeleteSshPublicKeyRequest.new
|
369
|
+
#
|
370
|
+
# # Call the delete_ssh_public_key method.
|
371
|
+
# result = client.delete_ssh_public_key request
|
372
|
+
#
|
373
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
374
|
+
# p result
|
375
|
+
#
|
328
376
|
def delete_ssh_public_key request, options = nil
|
329
377
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
330
378
|
|
@@ -394,6 +442,22 @@ module Google
|
|
394
442
|
# @return [::Google::Cloud::OsLogin::V1beta::LoginProfile]
|
395
443
|
#
|
396
444
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
445
|
+
#
|
446
|
+
# @example Basic example
|
447
|
+
# require "google/cloud/os_login/v1beta"
|
448
|
+
#
|
449
|
+
# # Create a client object. The client can be reused for multiple calls.
|
450
|
+
# client = Google::Cloud::OsLogin::V1beta::OsLoginService::Rest::Client.new
|
451
|
+
#
|
452
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
453
|
+
# request = Google::Cloud::OsLogin::V1beta::GetLoginProfileRequest.new
|
454
|
+
#
|
455
|
+
# # Call the get_login_profile method.
|
456
|
+
# result = client.get_login_profile request
|
457
|
+
#
|
458
|
+
# # The returned object is of type Google::Cloud::OsLogin::V1beta::LoginProfile.
|
459
|
+
# p result
|
460
|
+
#
|
397
461
|
def get_login_profile request, options = nil
|
398
462
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
399
463
|
|
@@ -458,6 +522,22 @@ module Google
|
|
458
522
|
# @return [::Google::Cloud::OsLogin::Common::SshPublicKey]
|
459
523
|
#
|
460
524
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
525
|
+
#
|
526
|
+
# @example Basic example
|
527
|
+
# require "google/cloud/os_login/v1beta"
|
528
|
+
#
|
529
|
+
# # Create a client object. The client can be reused for multiple calls.
|
530
|
+
# client = Google::Cloud::OsLogin::V1beta::OsLoginService::Rest::Client.new
|
531
|
+
#
|
532
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
533
|
+
# request = Google::Cloud::OsLogin::V1beta::GetSshPublicKeyRequest.new
|
534
|
+
#
|
535
|
+
# # Call the get_ssh_public_key method.
|
536
|
+
# result = client.get_ssh_public_key request
|
537
|
+
#
|
538
|
+
# # The returned object is of type Google::Cloud::OsLogin::Common::SshPublicKey.
|
539
|
+
# p result
|
540
|
+
#
|
461
541
|
def get_ssh_public_key request, options = nil
|
462
542
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
463
543
|
|
@@ -528,6 +608,22 @@ module Google
|
|
528
608
|
# @return [::Google::Cloud::OsLogin::V1beta::ImportSshPublicKeyResponse]
|
529
609
|
#
|
530
610
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
611
|
+
#
|
612
|
+
# @example Basic example
|
613
|
+
# require "google/cloud/os_login/v1beta"
|
614
|
+
#
|
615
|
+
# # Create a client object. The client can be reused for multiple calls.
|
616
|
+
# client = Google::Cloud::OsLogin::V1beta::OsLoginService::Rest::Client.new
|
617
|
+
#
|
618
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
619
|
+
# request = Google::Cloud::OsLogin::V1beta::ImportSshPublicKeyRequest.new
|
620
|
+
#
|
621
|
+
# # Call the import_ssh_public_key method.
|
622
|
+
# result = client.import_ssh_public_key request
|
623
|
+
#
|
624
|
+
# # The returned object is of type Google::Cloud::OsLogin::V1beta::ImportSshPublicKeyResponse.
|
625
|
+
# p result
|
626
|
+
#
|
531
627
|
def import_ssh_public_key request, options = nil
|
532
628
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
533
629
|
|
@@ -597,6 +693,22 @@ module Google
|
|
597
693
|
# @return [::Google::Cloud::OsLogin::Common::SshPublicKey]
|
598
694
|
#
|
599
695
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
696
|
+
#
|
697
|
+
# @example Basic example
|
698
|
+
# require "google/cloud/os_login/v1beta"
|
699
|
+
#
|
700
|
+
# # Create a client object. The client can be reused for multiple calls.
|
701
|
+
# client = Google::Cloud::OsLogin::V1beta::OsLoginService::Rest::Client.new
|
702
|
+
#
|
703
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
704
|
+
# request = Google::Cloud::OsLogin::V1beta::UpdateSshPublicKeyRequest.new
|
705
|
+
#
|
706
|
+
# # Call the update_ssh_public_key method.
|
707
|
+
# result = client.update_ssh_public_key request
|
708
|
+
#
|
709
|
+
# # The returned object is of type Google::Cloud::OsLogin::Common::SshPublicKey.
|
710
|
+
# p result
|
711
|
+
#
|
600
712
|
def update_ssh_public_key request, options = nil
|
601
713
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
602
714
|
|
@@ -632,6 +744,89 @@ module Google
|
|
632
744
|
raise ::Google::Cloud::Error.from_error(e)
|
633
745
|
end
|
634
746
|
|
747
|
+
##
|
748
|
+
# Signs an SSH public key for a user to authenticate to an instance.
|
749
|
+
#
|
750
|
+
# @overload sign_ssh_public_key(request, options = nil)
|
751
|
+
# Pass arguments to `sign_ssh_public_key` via a request object, either of type
|
752
|
+
# {::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyRequest} or an equivalent Hash.
|
753
|
+
#
|
754
|
+
# @param request [::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyRequest, ::Hash]
|
755
|
+
# A request object representing the call parameters. Required. To specify no
|
756
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
757
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
758
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
759
|
+
#
|
760
|
+
# @overload sign_ssh_public_key(ssh_public_key: nil, parent: nil)
|
761
|
+
# Pass arguments to `sign_ssh_public_key` via keyword arguments. Note that at
|
762
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
763
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
764
|
+
#
|
765
|
+
# @param ssh_public_key [::String]
|
766
|
+
# The SSH public key to sign.
|
767
|
+
# @param parent [::String]
|
768
|
+
# The parent project and zone for the signing request. This is needed to
|
769
|
+
# properly ensure per-organization ISS processing and potentially to provide
|
770
|
+
# for the possibility of zone-specific certificates used in the signing
|
771
|
+
# process.
|
772
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
773
|
+
# @yieldparam result [::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyResponse]
|
774
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
775
|
+
#
|
776
|
+
# @return [::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyResponse]
|
777
|
+
#
|
778
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
779
|
+
#
|
780
|
+
# @example Basic example
|
781
|
+
# require "google/cloud/os_login/v1beta"
|
782
|
+
#
|
783
|
+
# # Create a client object. The client can be reused for multiple calls.
|
784
|
+
# client = Google::Cloud::OsLogin::V1beta::OsLoginService::Rest::Client.new
|
785
|
+
#
|
786
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
787
|
+
# request = Google::Cloud::OsLogin::V1beta::SignSshPublicKeyRequest.new
|
788
|
+
#
|
789
|
+
# # Call the sign_ssh_public_key method.
|
790
|
+
# result = client.sign_ssh_public_key request
|
791
|
+
#
|
792
|
+
# # The returned object is of type Google::Cloud::OsLogin::V1beta::SignSshPublicKeyResponse.
|
793
|
+
# p result
|
794
|
+
#
|
795
|
+
def sign_ssh_public_key request, options = nil
|
796
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
797
|
+
|
798
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyRequest
|
799
|
+
|
800
|
+
# Converts hash and nil to an options object
|
801
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
802
|
+
|
803
|
+
# Customize the options with defaults
|
804
|
+
call_metadata = @config.rpcs.sign_ssh_public_key.metadata.to_h
|
805
|
+
|
806
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
807
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
808
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
809
|
+
gapic_version: ::Google::Cloud::OsLogin::V1beta::VERSION,
|
810
|
+
transports_version_send: [:rest]
|
811
|
+
|
812
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
813
|
+
|
814
|
+
options.apply_defaults timeout: @config.rpcs.sign_ssh_public_key.timeout,
|
815
|
+
metadata: call_metadata,
|
816
|
+
retry_policy: @config.rpcs.sign_ssh_public_key.retry_policy
|
817
|
+
|
818
|
+
options.apply_defaults timeout: @config.timeout,
|
819
|
+
metadata: @config.metadata,
|
820
|
+
retry_policy: @config.retry_policy
|
821
|
+
|
822
|
+
@os_login_service_stub.sign_ssh_public_key request, options do |result, operation|
|
823
|
+
yield result, operation if block_given?
|
824
|
+
return result
|
825
|
+
end
|
826
|
+
rescue ::Gapic::Rest::Error => e
|
827
|
+
raise ::Google::Cloud::Error.from_error(e)
|
828
|
+
end
|
829
|
+
|
635
830
|
##
|
636
831
|
# Configuration class for the OsLoginService REST API.
|
637
832
|
#
|
@@ -792,6 +987,11 @@ module Google
|
|
792
987
|
# @return [::Gapic::Config::Method]
|
793
988
|
#
|
794
989
|
attr_reader :update_ssh_public_key
|
990
|
+
##
|
991
|
+
# RPC-specific configuration for `sign_ssh_public_key`
|
992
|
+
# @return [::Gapic::Config::Method]
|
993
|
+
#
|
994
|
+
attr_reader :sign_ssh_public_key
|
795
995
|
|
796
996
|
# @private
|
797
997
|
def initialize parent_rpcs = nil
|
@@ -809,6 +1009,8 @@ module Google
|
|
809
1009
|
@import_ssh_public_key = ::Gapic::Config::Method.new import_ssh_public_key_config
|
810
1010
|
update_ssh_public_key_config = parent_rpcs.update_ssh_public_key if parent_rpcs.respond_to? :update_ssh_public_key
|
811
1011
|
@update_ssh_public_key = ::Gapic::Config::Method.new update_ssh_public_key_config
|
1012
|
+
sign_ssh_public_key_config = parent_rpcs.sign_ssh_public_key if parent_rpcs.respond_to? :sign_ssh_public_key
|
1013
|
+
@sign_ssh_public_key = ::Gapic::Config::Method.new sign_ssh_public_key_config
|
812
1014
|
|
813
1015
|
yield self if block_given?
|
814
1016
|
end
|
@@ -306,6 +306,44 @@ module Google
|
|
306
306
|
result
|
307
307
|
end
|
308
308
|
|
309
|
+
##
|
310
|
+
# Baseline implementation for the sign_ssh_public_key REST call
|
311
|
+
#
|
312
|
+
# @param request_pb [::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyRequest]
|
313
|
+
# A request object representing the call parameters. Required.
|
314
|
+
# @param options [::Gapic::CallOptions]
|
315
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
316
|
+
#
|
317
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
318
|
+
# @yieldparam result [::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyResponse]
|
319
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
320
|
+
#
|
321
|
+
# @return [::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyResponse]
|
322
|
+
# A result object deserialized from the server's reply
|
323
|
+
def sign_ssh_public_key request_pb, options = nil
|
324
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
325
|
+
|
326
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_sign_ssh_public_key_request request_pb
|
327
|
+
query_string_params = if query_string_params.any?
|
328
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
329
|
+
else
|
330
|
+
{}
|
331
|
+
end
|
332
|
+
|
333
|
+
response = @client_stub.make_http_request(
|
334
|
+
verb,
|
335
|
+
uri: uri,
|
336
|
+
body: body || "",
|
337
|
+
params: query_string_params,
|
338
|
+
options: options
|
339
|
+
)
|
340
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
341
|
+
result = ::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyResponse.decode_json response.body, ignore_unknown_fields: true
|
342
|
+
|
343
|
+
yield result, operation if block_given?
|
344
|
+
result
|
345
|
+
end
|
346
|
+
|
309
347
|
##
|
310
348
|
# @private
|
311
349
|
#
|
@@ -455,6 +493,28 @@ module Google
|
|
455
493
|
)
|
456
494
|
transcoder.transcode request_pb
|
457
495
|
end
|
496
|
+
|
497
|
+
##
|
498
|
+
# @private
|
499
|
+
#
|
500
|
+
# GRPC transcoding helper method for the sign_ssh_public_key REST call
|
501
|
+
#
|
502
|
+
# @param request_pb [::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyRequest]
|
503
|
+
# A request object representing the call parameters. Required.
|
504
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
505
|
+
# Uri, Body, Query string parameters
|
506
|
+
def self.transcode_sign_ssh_public_key_request request_pb
|
507
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
508
|
+
.with_bindings(
|
509
|
+
uri_method: :post,
|
510
|
+
uri_template: "/v1beta/{parent}:signSshPublicKey",
|
511
|
+
body: "*",
|
512
|
+
matches: [
|
513
|
+
["parent", %r{^users/[^/]+/projects/[^/]+/zones/[^/]+/?$}, false]
|
514
|
+
]
|
515
|
+
)
|
516
|
+
transcoder.transcode request_pb
|
517
|
+
end
|
458
518
|
end
|
459
519
|
end
|
460
520
|
end
|
@@ -13,7 +13,7 @@ require 'google/protobuf/empty_pb'
|
|
13
13
|
require 'google/protobuf/field_mask_pb'
|
14
14
|
|
15
15
|
|
16
|
-
descriptor_data = "\n)google/cloud/oslogin/v1beta/oslogin.proto\x12\x1bgoogle.cloud.oslogin.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/oslogin/common/common.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xdd\x02\n\x0cLoginProfile\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x0eposix_accounts\x18\x02 \x03(\x0b\x32).google.cloud.oslogin.common.PosixAccount\x12U\n\x0fssh_public_keys\x18\x03 \x03(\x0b\x32<.google.cloud.oslogin.v1beta.LoginProfile.SshPublicKeysEntry\x12?\n\rsecurity_keys\x18\x05 \x03(\x0b\x32(.google.cloud.oslogin.v1beta.SecurityKey\x1a_\n\x12SshPublicKeysEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).google.cloud.oslogin.common.SshPublicKey:\x02\x38\x01\"\xa0\x01\n\x19\x43reateSshPublicKeyRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#oslogin.googleapis.com/SshPublicKey\x12\x46\n\x0essh_public_key\x18\x02 \x01(\x0b\x32).google.cloud.oslogin.common.SshPublicKeyB\x03\xe0\x41\x02\"V\n\x19\x44\x65letePosixAccountRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#oslogin.googleapis.com/PosixAccount\"V\n\x19\x44\x65leteSshPublicKeyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#oslogin.googleapis.com/SshPublicKey\"\xaf\x01\n\x16GetLoginProfileRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1boslogin.googleapis.com/User\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x11\n\tsystem_id\x18\x03 \x01(\t\x12;\n\x04view\x18\x04 \x01(\x0e\x32-.google.cloud.oslogin.v1beta.LoginProfileView\"S\n\x16GetSshPublicKeyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#oslogin.googleapis.com/SshPublicKey\"\xee\x01\n\x19ImportSshPublicKeyRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xfa\x41%\x12#oslogin.googleapis.com/SshPublicKey\x12\x46\n\x0essh_public_key\x18\x02 \x01(\x0b\x32).google.cloud.oslogin.common.SshPublicKeyB\x03\xe0\x41\x02\x12\x12\n\nproject_id\x18\x03 \x01(\t\x12;\n\x04view\x18\x04 \x01(\x0e\x32-.google.cloud.oslogin.v1beta.LoginProfileView\"o\n\x1aImportSshPublicKeyResponse\x12@\n\rlogin_profile\x18\x01 \x01(\x0b\x32).google.cloud.oslogin.v1beta.LoginProfile\x12\x0f\n\x07\x64\x65tails\x18\x02 \x01(\t\"\xcf\x01\n\x19UpdateSshPublicKeyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#oslogin.googleapis.com/SshPublicKey\x12\x46\n\x0essh_public_key\x18\x02 \x01(\x0b\x32).google.cloud.oslogin.common.SshPublicKeyB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xd4\x01\n\x0bSecurityKey\x12\x12\n\npublic_key\x18\x01 \x01(\t\x12\x13\n\x0bprivate_key\x18\x02 \x01(\t\x12O\n\x14universal_two_factor\x18\x03 \x01(\x0b\x32/.google.cloud.oslogin.v1beta.UniversalTwoFactorH\x00\x12:\n\tweb_authn\x18\x04 \x01(\x0b\x32%.google.cloud.oslogin.v1beta.WebAuthnH\x00\x42\x0f\n\rprotocol_type\"$\n\x12UniversalTwoFactor\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\t\"\x19\n\x08WebAuthn\x12\r\n\x05rp_id\x18\x01 \x01(\t*S\n\x10LoginProfileView\x12\"\n\x1eLOGIN_PROFILE_VIEW_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x10\n\x0cSECURITY_KEY\x10\x02\x32\
|
16
|
+
descriptor_data = "\n)google/cloud/oslogin/v1beta/oslogin.proto\x12\x1bgoogle.cloud.oslogin.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/oslogin/common/common.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xdd\x02\n\x0cLoginProfile\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x0eposix_accounts\x18\x02 \x03(\x0b\x32).google.cloud.oslogin.common.PosixAccount\x12U\n\x0fssh_public_keys\x18\x03 \x03(\x0b\x32<.google.cloud.oslogin.v1beta.LoginProfile.SshPublicKeysEntry\x12?\n\rsecurity_keys\x18\x05 \x03(\x0b\x32(.google.cloud.oslogin.v1beta.SecurityKey\x1a_\n\x12SshPublicKeysEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).google.cloud.oslogin.common.SshPublicKey:\x02\x38\x01\"\xa0\x01\n\x19\x43reateSshPublicKeyRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#oslogin.googleapis.com/SshPublicKey\x12\x46\n\x0essh_public_key\x18\x02 \x01(\x0b\x32).google.cloud.oslogin.common.SshPublicKeyB\x03\xe0\x41\x02\"V\n\x19\x44\x65letePosixAccountRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#oslogin.googleapis.com/PosixAccount\"V\n\x19\x44\x65leteSshPublicKeyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#oslogin.googleapis.com/SshPublicKey\"\xaf\x01\n\x16GetLoginProfileRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1boslogin.googleapis.com/User\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x11\n\tsystem_id\x18\x03 \x01(\t\x12;\n\x04view\x18\x04 \x01(\x0e\x32-.google.cloud.oslogin.v1beta.LoginProfileView\"S\n\x16GetSshPublicKeyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#oslogin.googleapis.com/SshPublicKey\"\xee\x01\n\x19ImportSshPublicKeyRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xfa\x41%\x12#oslogin.googleapis.com/SshPublicKey\x12\x46\n\x0essh_public_key\x18\x02 \x01(\x0b\x32).google.cloud.oslogin.common.SshPublicKeyB\x03\xe0\x41\x02\x12\x12\n\nproject_id\x18\x03 \x01(\t\x12;\n\x04view\x18\x04 \x01(\x0e\x32-.google.cloud.oslogin.v1beta.LoginProfileView\"o\n\x1aImportSshPublicKeyResponse\x12@\n\rlogin_profile\x18\x01 \x01(\x0b\x32).google.cloud.oslogin.v1beta.LoginProfile\x12\x0f\n\x07\x64\x65tails\x18\x02 \x01(\t\"\xcf\x01\n\x19UpdateSshPublicKeyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#oslogin.googleapis.com/SshPublicKey\x12\x46\n\x0essh_public_key\x18\x02 \x01(\x0b\x32).google.cloud.oslogin.common.SshPublicKeyB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xd4\x01\n\x0bSecurityKey\x12\x12\n\npublic_key\x18\x01 \x01(\t\x12\x13\n\x0bprivate_key\x18\x02 \x01(\t\x12O\n\x14universal_two_factor\x18\x03 \x01(\x0b\x32/.google.cloud.oslogin.v1beta.UniversalTwoFactorH\x00\x12:\n\tweb_authn\x18\x04 \x01(\x0b\x32%.google.cloud.oslogin.v1beta.WebAuthnH\x00\x42\x0f\n\rprotocol_type\"$\n\x12UniversalTwoFactor\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\t\"\x19\n\x08WebAuthn\x12\r\n\x05rp_id\x18\x01 \x01(\t\"A\n\x17SignSshPublicKeyRequest\x12\x16\n\x0essh_public_key\x18\x01 \x01(\t\x12\x0e\n\x06parent\x18\x02 \x01(\t\"9\n\x18SignSshPublicKeyResponse\x12\x1d\n\x15signed_ssh_public_key\x18\x01 \x01(\t*S\n\x10LoginProfileView\x12\"\n\x1eLOGIN_PROFILE_VIEW_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x10\n\x0cSECURITY_KEY\x10\x02\x32\xa9\x0e\n\x0eOsLoginService\x12\xcf\x01\n\x12\x43reateSshPublicKey\x12\x36.google.cloud.oslogin.v1beta.CreateSshPublicKeyRequest\x1a).google.cloud.oslogin.common.SshPublicKey\"V\x82\xd3\xe4\x93\x02\x38\"&/v1beta/{parent=users/*}/sshPublicKeys:\x0essh_public_key\xda\x41\x15parent,ssh_public_key\x12\x96\x01\n\x12\x44\x65letePosixAccount\x12\x36.google.cloud.oslogin.v1beta.DeletePosixAccountRequest\x1a\x16.google.protobuf.Empty\"0\x82\xd3\xe4\x93\x02#*!/v1beta/{name=users/*/projects/*}\xda\x41\x04name\x12\x9b\x01\n\x12\x44\x65leteSshPublicKey\x12\x36.google.cloud.oslogin.v1beta.DeleteSshPublicKeyRequest\x1a\x16.google.protobuf.Empty\"5\x82\xd3\xe4\x93\x02(*&/v1beta/{name=users/*/sshPublicKeys/*}\xda\x41\x04name\x12\xa5\x01\n\x0fGetLoginProfile\x12\x33.google.cloud.oslogin.v1beta.GetLoginProfileRequest\x1a).google.cloud.oslogin.v1beta.LoginProfile\"2\x82\xd3\xe4\x93\x02%\x12#/v1beta/{name=users/*}/loginProfile\xda\x41\x04name\x12\xa8\x01\n\x0fGetSshPublicKey\x12\x33.google.cloud.oslogin.v1beta.GetSshPublicKeyRequest\x1a).google.cloud.oslogin.common.SshPublicKey\"5\x82\xd3\xe4\x93\x02(\x12&/v1beta/{name=users/*/sshPublicKeys/*}\xda\x41\x04name\x12\x85\x02\n\x12ImportSshPublicKey\x12\x36.google.cloud.oslogin.v1beta.ImportSshPublicKeyRequest\x1a\x37.google.cloud.oslogin.v1beta.ImportSshPublicKeyResponse\"~\x82\xd3\xe4\x93\x02=\"+/v1beta/{parent=users/*}:importSshPublicKey:\x0essh_public_key\xda\x41\x15parent,ssh_public_key\xda\x41 parent,ssh_public_key,project_id\x12\xef\x01\n\x12UpdateSshPublicKey\x12\x36.google.cloud.oslogin.v1beta.UpdateSshPublicKeyRequest\x1a).google.cloud.oslogin.common.SshPublicKey\"v\x82\xd3\xe4\x93\x02\x38\x32&/v1beta/{name=users/*/sshPublicKeys/*}:\x0essh_public_key\xda\x41\x13name,ssh_public_key\xda\x41\x1fname,ssh_public_key,update_mask\x12\xe0\x01\n\x10SignSshPublicKey\x12\x34.google.cloud.oslogin.v1beta.SignSshPublicKeyRequest\x1a\x35.google.cloud.oslogin.v1beta.SignSshPublicKeyResponse\"_\x82\xd3\xe4\x93\x02\x41\"</v1beta/{parent=users/*/projects/*/zones/*}:signSshPublicKey:\x01*\xda\x41\x15parent,ssh_public_key\x1a\xdd\x01\xca\x41\x16oslogin.googleapis.com\xd2\x41\xc0\x01https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-only,https://www.googleapis.com/auth/compute,https://www.googleapis.com/auth/compute.readonlyB\xc9\x01\n\x1f\x63om.google.cloud.oslogin.v1betaB\x0cOsLoginProtoP\x01Z9cloud.google.com/go/oslogin/apiv1beta/osloginpb;osloginpb\xaa\x02\x1bGoogle.Cloud.OsLogin.V1Beta\xca\x02\x1bGoogle\\Cloud\\OsLogin\\V1beta\xea\x02\x1eGoogle::Cloud::OsLogin::V1betab\x06proto3"
|
17
17
|
|
18
18
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
19
|
|
@@ -57,6 +57,8 @@ module Google
|
|
57
57
|
SecurityKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.v1beta.SecurityKey").msgclass
|
58
58
|
UniversalTwoFactor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.v1beta.UniversalTwoFactor").msgclass
|
59
59
|
WebAuthn = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.v1beta.WebAuthn").msgclass
|
60
|
+
SignSshPublicKeyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.v1beta.SignSshPublicKeyRequest").msgclass
|
61
|
+
SignSshPublicKeyResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.v1beta.SignSshPublicKeyResponse").msgclass
|
60
62
|
LoginProfileView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.v1beta.LoginProfileView").enummodule
|
61
63
|
end
|
62
64
|
end
|
@@ -54,6 +54,8 @@ module Google
|
|
54
54
|
# Updates an SSH public key and returns the profile information. This method
|
55
55
|
# supports patch semantics.
|
56
56
|
rpc :UpdateSshPublicKey, ::Google::Cloud::OsLogin::V1beta::UpdateSshPublicKeyRequest, ::Google::Cloud::OsLogin::Common::SshPublicKey
|
57
|
+
# Signs an SSH public key for a user to authenticate to an instance.
|
58
|
+
rpc :SignSshPublicKey, ::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyRequest, ::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyResponse
|
57
59
|
end
|
58
60
|
|
59
61
|
Stub = Service.rpc_stub_class
|
@@ -66,6 +66,20 @@ module Google
|
|
66
66
|
# a non-empty value will be returned. The user will not be aware of what
|
67
67
|
# non-empty value to expect.
|
68
68
|
NON_EMPTY_DEFAULT = 7
|
69
|
+
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
73
|
+
# `name` field on the resource.
|
74
|
+
#
|
75
|
+
# This behavior should not be applied to references to other resources within
|
76
|
+
# the message.
|
77
|
+
#
|
78
|
+
# The identifier field of resources often have different field behavior
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
82
|
+
IDENTIFIER = 8
|
69
83
|
end
|
70
84
|
end
|
71
85
|
end
|
@@ -196,6 +196,28 @@ module Google
|
|
196
196
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
197
197
|
end
|
198
198
|
|
199
|
+
# @!attribute [rw] ssh_public_key
|
200
|
+
# @return [::String]
|
201
|
+
# The SSH public key to sign.
|
202
|
+
# @!attribute [rw] parent
|
203
|
+
# @return [::String]
|
204
|
+
# The parent project and zone for the signing request. This is needed to
|
205
|
+
# properly ensure per-organization ISS processing and potentially to provide
|
206
|
+
# for the possibility of zone-specific certificates used in the signing
|
207
|
+
# process.
|
208
|
+
class SignSshPublicKeyRequest
|
209
|
+
include ::Google::Protobuf::MessageExts
|
210
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
211
|
+
end
|
212
|
+
|
213
|
+
# @!attribute [rw] signed_ssh_public_key
|
214
|
+
# @return [::String]
|
215
|
+
# The signed SSH public key to use in the SSH handshake.
|
216
|
+
class SignSshPublicKeyResponse
|
217
|
+
include ::Google::Protobuf::MessageExts
|
218
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
219
|
+
end
|
220
|
+
|
199
221
|
# The login profile view limits the user content retrieved.
|
200
222
|
module LoginProfileView
|
201
223
|
# The default login profile view. The API defaults to the BASIC view.
|
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.
|
4
|
+
version: 0.10.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: 2023-
|
11
|
+
date: 2023-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.20.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
214
|
- !ruby/object:Gem::Version
|
215
215
|
version: '0'
|
216
216
|
requirements: []
|
217
|
-
rubygems_version: 3.4.
|
217
|
+
rubygems_version: 3.4.19
|
218
218
|
signing_key:
|
219
219
|
specification_version: 4
|
220
220
|
summary: You can use OS Login to manage access to your VM instances using IAM roles.
|