google-cloud-os_login-v1beta 0.9.0 → 0.10.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: ecb4a2f00ab958a104c7ab31ab21388d959e21826da63974c1f7a538e36479c0
4
- data.tar.gz: 4677899c89dbda131f23f89bb77199012be4e53fc61ea80a72873248ad2e8c62
3
+ metadata.gz: 8300c32adb004f48125e8315519c6f89864c9bd0326a7a314c3b59c931c5ff0c
4
+ data.tar.gz: 48ba297903280954c6697b8b1cf041d0e6e3934c37286d9cc96ec31e6ed6de96
5
5
  SHA512:
6
- metadata.gz: 860291e98db85a019580d375477664c4057111dcd9029452e4ceefc767ed85d5dc49555abc6d7f428dc4b329317ac189b280d527b58e430e0974f899c45b18b6
7
- data.tar.gz: aacd08b8680ba20ca2e9cc044b3a7778d99932a0a2407e92418bb28a45dac9262a34fb59fdb4ddfe4d42a72954c603839376fc588ad75f440aec73ca0f2e95e5
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
 
@@ -1011,6 +1012,14 @@ module Google
1011
1012
  end
1012
1013
  end
1013
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
+
1014
1023
  ##
1015
1024
  # Configuration RPC class for the OsLoginService API.
1016
1025
  #
@@ -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
 
@@ -664,6 +776,22 @@ module Google
664
776
  # @return [::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyResponse]
665
777
  #
666
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
+ #
667
795
  def sign_ssh_public_key request, options = nil
668
796
  raise ::ArgumentError, "request must be provided" if request.nil?
669
797
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module OsLogin
23
23
  module V1beta
24
- VERSION = "0.9.0"
24
+ VERSION = "0.10.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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
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.9.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-08-16 00:00:00.000000000 Z
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.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.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.