google-cloud-os_login-v1 0.8.0 → 0.10.0

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: 2a56f4509057ff0e7d654dad99526e7757e4985e19c9b9f1fb8bbdeab736eab7
4
- data.tar.gz: ed9d92990f25bbca739cef384a4cfd85d9ef385144da2b8274cb77f8890ec257
3
+ metadata.gz: d80254d662107315e1e7d9a04497b1dc6687bb2949cb9ec5fdbd417f004b5fb5
4
+ data.tar.gz: a352074e13ccdd1b14a1409830752bd14ff9db3ae399c521872fc8e4c0e71e2e
5
5
  SHA512:
6
- metadata.gz: 4dd2093260b10f66896ef969fed92731e575af3b8926ad09281bf54bd72ea0dc6478da1da235aa146a454dbcb113e9a0d05ca41106e0b1d6c95316101a9de1a9
7
- data.tar.gz: 045ed49a01eb880711c39e50600c9e70f86d7c79e75097491007e69edcfb9b1ee9a358650f398f41887a65564dc4f5575a9aefaa94a38974e3db13eea77dd09f
6
+ metadata.gz: d21a25e6685dd278b0038803704ebc79dd83c07a0eb22bed9414d66a97ae4c244a6415f5891bd210de50b1c5ccd117106d1e5050320f223da2a56efb9fcc22c3
7
+ data.tar.gz: 57f8bc9e1f74f04edd665f0fb70c09d2583bc328772356854bc4829a54886d1977197cb9d3324ae9536b47e3e4c9733180afcca5fa904a30297473a5dbfcba09
@@ -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
 
@@ -630,7 +631,7 @@ module Google
630
631
  # @param options [::Gapic::CallOptions, ::Hash]
631
632
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
632
633
  #
633
- # @overload import_ssh_public_key(parent: nil, ssh_public_key: nil, project_id: nil)
634
+ # @overload import_ssh_public_key(parent: nil, ssh_public_key: nil, project_id: nil, regions: nil)
634
635
  # Pass arguments to `import_ssh_public_key` via keyword arguments. Note that at
635
636
  # least one keyword argument is required. To specify no parameters, or to keep all
636
637
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -641,6 +642,10 @@ module Google
641
642
  # Optional. The SSH public key and expiration time.
642
643
  # @param project_id [::String]
643
644
  # The project ID of the Google Cloud Platform project.
645
+ # @param regions [::Array<::String>]
646
+ # Optional. The regions to which to assert that the key was written.
647
+ # If unspecified, defaults to all regions.
648
+ # Regions are listed at https://cloud.google.com/about/locations#region.
644
649
  #
645
650
  # @yield [response, operation] Access the result along with the RPC operation
646
651
  # @yieldparam response [::Google::Cloud::OsLogin::V1::ImportSshPublicKeyResponse]
@@ -917,6 +922,14 @@ module Google
917
922
  end
918
923
  end
919
924
 
925
+ ##
926
+ # Configuration for the channel pool
927
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
928
+ #
929
+ def channel_pool
930
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
931
+ end
932
+
920
933
  ##
921
934
  # Configuration RPC class for the OsLoginService API.
922
935
  #
@@ -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/v1"
203
+ #
204
+ # # Create a client object. The client can be reused for multiple calls.
205
+ # client = Google::Cloud::OsLogin::V1::OsLoginService::Rest::Client.new
206
+ #
207
+ # # Create a request. To set request fields, pass in keyword arguments.
208
+ # request = Google::Cloud::OsLogin::V1::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/v1"
283
+ #
284
+ # # Create a client object. The client can be reused for multiple calls.
285
+ # client = Google::Cloud::OsLogin::V1::OsLoginService::Rest::Client.new
286
+ #
287
+ # # Create a request. To set request fields, pass in keyword arguments.
288
+ # request = Google::Cloud::OsLogin::V1::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/v1"
363
+ #
364
+ # # Create a client object. The client can be reused for multiple calls.
365
+ # client = Google::Cloud::OsLogin::V1::OsLoginService::Rest::Client.new
366
+ #
367
+ # # Create a request. To set request fields, pass in keyword arguments.
368
+ # request = Google::Cloud::OsLogin::V1::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
 
@@ -392,6 +440,22 @@ module Google
392
440
  # @return [::Google::Cloud::OsLogin::V1::LoginProfile]
393
441
  #
394
442
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
443
+ #
444
+ # @example Basic example
445
+ # require "google/cloud/os_login/v1"
446
+ #
447
+ # # Create a client object. The client can be reused for multiple calls.
448
+ # client = Google::Cloud::OsLogin::V1::OsLoginService::Rest::Client.new
449
+ #
450
+ # # Create a request. To set request fields, pass in keyword arguments.
451
+ # request = Google::Cloud::OsLogin::V1::GetLoginProfileRequest.new
452
+ #
453
+ # # Call the get_login_profile method.
454
+ # result = client.get_login_profile request
455
+ #
456
+ # # The returned object is of type Google::Cloud::OsLogin::V1::LoginProfile.
457
+ # p result
458
+ #
395
459
  def get_login_profile request, options = nil
396
460
  raise ::ArgumentError, "request must be provided" if request.nil?
397
461
 
@@ -456,6 +520,22 @@ module Google
456
520
  # @return [::Google::Cloud::OsLogin::Common::SshPublicKey]
457
521
  #
458
522
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
523
+ #
524
+ # @example Basic example
525
+ # require "google/cloud/os_login/v1"
526
+ #
527
+ # # Create a client object. The client can be reused for multiple calls.
528
+ # client = Google::Cloud::OsLogin::V1::OsLoginService::Rest::Client.new
529
+ #
530
+ # # Create a request. To set request fields, pass in keyword arguments.
531
+ # request = Google::Cloud::OsLogin::V1::GetSshPublicKeyRequest.new
532
+ #
533
+ # # Call the get_ssh_public_key method.
534
+ # result = client.get_ssh_public_key request
535
+ #
536
+ # # The returned object is of type Google::Cloud::OsLogin::Common::SshPublicKey.
537
+ # p result
538
+ #
459
539
  def get_ssh_public_key request, options = nil
460
540
  raise ::ArgumentError, "request must be provided" if request.nil?
461
541
 
@@ -506,7 +586,7 @@ module Google
506
586
  # @param options [::Gapic::CallOptions, ::Hash]
507
587
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
508
588
  #
509
- # @overload import_ssh_public_key(parent: nil, ssh_public_key: nil, project_id: nil)
589
+ # @overload import_ssh_public_key(parent: nil, ssh_public_key: nil, project_id: nil, regions: nil)
510
590
  # Pass arguments to `import_ssh_public_key` via keyword arguments. Note that at
511
591
  # least one keyword argument is required. To specify no parameters, or to keep all
512
592
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -517,6 +597,10 @@ module Google
517
597
  # Optional. The SSH public key and expiration time.
518
598
  # @param project_id [::String]
519
599
  # The project ID of the Google Cloud Platform project.
600
+ # @param regions [::Array<::String>]
601
+ # Optional. The regions to which to assert that the key was written.
602
+ # If unspecified, defaults to all regions.
603
+ # Regions are listed at https://cloud.google.com/about/locations#region.
520
604
  # @yield [result, operation] Access the result along with the TransportOperation object
521
605
  # @yieldparam result [::Google::Cloud::OsLogin::V1::ImportSshPublicKeyResponse]
522
606
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -524,6 +608,22 @@ module Google
524
608
  # @return [::Google::Cloud::OsLogin::V1::ImportSshPublicKeyResponse]
525
609
  #
526
610
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
611
+ #
612
+ # @example Basic example
613
+ # require "google/cloud/os_login/v1"
614
+ #
615
+ # # Create a client object. The client can be reused for multiple calls.
616
+ # client = Google::Cloud::OsLogin::V1::OsLoginService::Rest::Client.new
617
+ #
618
+ # # Create a request. To set request fields, pass in keyword arguments.
619
+ # request = Google::Cloud::OsLogin::V1::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::V1::ImportSshPublicKeyResponse.
625
+ # p result
626
+ #
527
627
  def import_ssh_public_key request, options = nil
528
628
  raise ::ArgumentError, "request must be provided" if request.nil?
529
629
 
@@ -593,6 +693,22 @@ module Google
593
693
  # @return [::Google::Cloud::OsLogin::Common::SshPublicKey]
594
694
  #
595
695
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
696
+ #
697
+ # @example Basic example
698
+ # require "google/cloud/os_login/v1"
699
+ #
700
+ # # Create a client object. The client can be reused for multiple calls.
701
+ # client = Google::Cloud::OsLogin::V1::OsLoginService::Rest::Client.new
702
+ #
703
+ # # Create a request. To set request fields, pass in keyword arguments.
704
+ # request = Google::Cloud::OsLogin::V1::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
+ #
596
712
  def update_ssh_public_key request, options = nil
597
713
  raise ::ArgumentError, "request must be provided" if request.nil?
598
714
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module OsLogin
23
23
  module V1
24
- VERSION = "0.8.0"
24
+ VERSION = "0.10.0"
25
25
  end
26
26
  end
27
27
  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/v1/oslogin.proto\x12\x17google.cloud.oslogin.v1\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\"\x98\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\x12Q\n\x0fssh_public_keys\x18\x03 \x03(\x0b\x32\x38.google.cloud.oslogin.v1.LoginProfile.SshPublicKeysEntry\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\"z\n\x16GetLoginProfileRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#oslogin.googleapis.com/PosixAccount\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x11\n\tsystem_id\x18\x03 \x01(\t\"S\n\x16GetSshPublicKeyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#oslogin.googleapis.com/SshPublicKey\"\xb4\x01\n\x19ImportSshPublicKeyRequest\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\x01\x12\x12\n\nproject_id\x18\x03 \x01(\t\"k\n\x1aImportSshPublicKeyResponse\x12<\n\rlogin_profile\x18\x01 \x01(\x0b\x32%.google.cloud.oslogin.v1.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.FieldMask2\x86\x0c\n\x0eOsLoginService\x12\xc7\x01\n\x12\x43reateSshPublicKey\x12\x32.google.cloud.oslogin.v1.CreateSshPublicKeyRequest\x1a).google.cloud.oslogin.common.SshPublicKey\"R\x82\xd3\xe4\x93\x02\x34\"\"/v1/{parent=users/*}/sshPublicKeys:\x0essh_public_key\xda\x41\x15parent,ssh_public_key\x12\x8e\x01\n\x12\x44\x65letePosixAccount\x12\x32.google.cloud.oslogin.v1.DeletePosixAccountRequest\x1a\x16.google.protobuf.Empty\",\x82\xd3\xe4\x93\x02\x1f*\x1d/v1/{name=users/*/projects/*}\xda\x41\x04name\x12\x93\x01\n\x12\x44\x65leteSshPublicKey\x12\x32.google.cloud.oslogin.v1.DeleteSshPublicKeyRequest\x1a\x16.google.protobuf.Empty\"1\x82\xd3\xe4\x93\x02$*\"/v1/{name=users/*/sshPublicKeys/*}\xda\x41\x04name\x12\x99\x01\n\x0fGetLoginProfile\x12/.google.cloud.oslogin.v1.GetLoginProfileRequest\x1a%.google.cloud.oslogin.v1.LoginProfile\".\x82\xd3\xe4\x93\x02!\x12\x1f/v1/{name=users/*}/loginProfile\xda\x41\x04name\x12\xa0\x01\n\x0fGetSshPublicKey\x12/.google.cloud.oslogin.v1.GetSshPublicKeyRequest\x1a).google.cloud.oslogin.common.SshPublicKey\"1\x82\xd3\xe4\x93\x02$\x12\"/v1/{name=users/*/sshPublicKeys/*}\xda\x41\x04name\x12\xf9\x01\n\x12ImportSshPublicKey\x12\x32.google.cloud.oslogin.v1.ImportSshPublicKeyRequest\x1a\x33.google.cloud.oslogin.v1.ImportSshPublicKeyResponse\"z\x82\xd3\xe4\x93\x02\x39\"\'/v1/{parent=users/*}:importSshPublicKey:\x0essh_public_key\xda\x41\x15parent,ssh_public_key\xda\x41 parent,ssh_public_key,project_id\x12\xe7\x01\n\x12UpdateSshPublicKey\x12\x32.google.cloud.oslogin.v1.UpdateSshPublicKeyRequest\x1a).google.cloud.oslogin.common.SshPublicKey\"r\x82\xd3\xe4\x93\x02\x34\x32\"/v1/{name=users/*/sshPublicKeys/*}:\x0essh_public_key\xda\x41\x13name,ssh_public_key\xda\x41\x1fname,ssh_public_key,update_mask\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\xb5\x01\n\x1b\x63om.google.cloud.oslogin.v1B\x0cOsLoginProtoP\x01Z5cloud.google.com/go/oslogin/apiv1/osloginpb;osloginpb\xaa\x02\x17Google.Cloud.OsLogin.V1\xca\x02\x17Google\\Cloud\\OsLogin\\V1\xea\x02\x1aGoogle::Cloud::OsLogin::V1b\x06proto3"
16
+ descriptor_data = "\n%google/cloud/oslogin/v1/oslogin.proto\x12\x17google.cloud.oslogin.v1\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\"\x98\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\x12Q\n\x0fssh_public_keys\x18\x03 \x03(\x0b\x32\x38.google.cloud.oslogin.v1.LoginProfile.SshPublicKeysEntry\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\"z\n\x16GetLoginProfileRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#oslogin.googleapis.com/PosixAccount\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x11\n\tsystem_id\x18\x03 \x01(\t\"S\n\x16GetSshPublicKeyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#oslogin.googleapis.com/SshPublicKey\"\xca\x01\n\x19ImportSshPublicKeyRequest\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\x01\x12\x12\n\nproject_id\x18\x03 \x01(\t\x12\x14\n\x07regions\x18\x05 \x03(\tB\x03\xe0\x41\x01\"k\n\x1aImportSshPublicKeyResponse\x12<\n\rlogin_profile\x18\x01 \x01(\x0b\x32%.google.cloud.oslogin.v1.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.FieldMask2\x86\x0c\n\x0eOsLoginService\x12\xc7\x01\n\x12\x43reateSshPublicKey\x12\x32.google.cloud.oslogin.v1.CreateSshPublicKeyRequest\x1a).google.cloud.oslogin.common.SshPublicKey\"R\x82\xd3\xe4\x93\x02\x34\"\"/v1/{parent=users/*}/sshPublicKeys:\x0essh_public_key\xda\x41\x15parent,ssh_public_key\x12\x8e\x01\n\x12\x44\x65letePosixAccount\x12\x32.google.cloud.oslogin.v1.DeletePosixAccountRequest\x1a\x16.google.protobuf.Empty\",\x82\xd3\xe4\x93\x02\x1f*\x1d/v1/{name=users/*/projects/*}\xda\x41\x04name\x12\x93\x01\n\x12\x44\x65leteSshPublicKey\x12\x32.google.cloud.oslogin.v1.DeleteSshPublicKeyRequest\x1a\x16.google.protobuf.Empty\"1\x82\xd3\xe4\x93\x02$*\"/v1/{name=users/*/sshPublicKeys/*}\xda\x41\x04name\x12\x99\x01\n\x0fGetLoginProfile\x12/.google.cloud.oslogin.v1.GetLoginProfileRequest\x1a%.google.cloud.oslogin.v1.LoginProfile\".\x82\xd3\xe4\x93\x02!\x12\x1f/v1/{name=users/*}/loginProfile\xda\x41\x04name\x12\xa0\x01\n\x0fGetSshPublicKey\x12/.google.cloud.oslogin.v1.GetSshPublicKeyRequest\x1a).google.cloud.oslogin.common.SshPublicKey\"1\x82\xd3\xe4\x93\x02$\x12\"/v1/{name=users/*/sshPublicKeys/*}\xda\x41\x04name\x12\xf9\x01\n\x12ImportSshPublicKey\x12\x32.google.cloud.oslogin.v1.ImportSshPublicKeyRequest\x1a\x33.google.cloud.oslogin.v1.ImportSshPublicKeyResponse\"z\x82\xd3\xe4\x93\x02\x39\"\'/v1/{parent=users/*}:importSshPublicKey:\x0essh_public_key\xda\x41\x15parent,ssh_public_key\xda\x41 parent,ssh_public_key,project_id\x12\xe7\x01\n\x12UpdateSshPublicKey\x12\x32.google.cloud.oslogin.v1.UpdateSshPublicKeyRequest\x1a).google.cloud.oslogin.common.SshPublicKey\"r\x82\xd3\xe4\x93\x02\x34\x32\"/v1/{name=users/*/sshPublicKeys/*}:\x0essh_public_key\xda\x41\x13name,ssh_public_key\xda\x41\x1fname,ssh_public_key,update_mask\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\xb5\x01\n\x1b\x63om.google.cloud.oslogin.v1B\x0cOsLoginProtoP\x01Z5cloud.google.com/go/oslogin/apiv1/osloginpb;osloginpb\xaa\x02\x17Google.Cloud.OsLogin.V1\xca\x02\x17Google\\Cloud\\OsLogin\\V1\xea\x02\x1aGoogle::Cloud::OsLogin::V1b\x06proto3"
17
17
 
18
18
  pool = Google::Protobuf::DescriptorPool.generated_pool
19
19
 
@@ -304,6 +304,19 @@ module Google
304
304
  # seconds: 360 # 6 minutes
305
305
  # total_poll_timeout:
306
306
  # seconds: 54000 # 90 minutes
307
+ # @!attribute [rw] auto_populated_fields
308
+ # @return [::Array<::String>]
309
+ # List of top-level fields of the request message, that should be
310
+ # automatically populated by the client libraries based on their
311
+ # (google.api.field_info).format. Currently supported format: UUID4.
312
+ #
313
+ # Example of a YAML configuration:
314
+ #
315
+ # publishing:
316
+ # method_settings:
317
+ # - selector: google.example.v1.ExampleService.CreateExample
318
+ # auto_populated_fields:
319
+ # - request_id
307
320
  class MethodSettings
308
321
  include ::Google::Protobuf::MessageExts
309
322
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -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
@@ -116,6 +116,11 @@ module Google
116
116
  # @!attribute [rw] project_id
117
117
  # @return [::String]
118
118
  # The project ID of the Google Cloud Platform project.
119
+ # @!attribute [rw] regions
120
+ # @return [::Array<::String>]
121
+ # Optional. The regions to which to assert that the key was written.
122
+ # If unspecified, defaults to all regions.
123
+ # Regions are listed at https://cloud.google.com/about/locations#region.
119
124
  class ImportSshPublicKeyRequest
120
125
  include ::Google::Protobuf::MessageExts
121
126
  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.8.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-06-06 00:00:00.000000000 Z
11
+ date: 2024-01-09 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.1
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.19.1
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.2
217
+ rubygems_version: 3.5.3
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.