google-cloud-os_login-v1 0.8.0 → 0.9.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: 2a56f4509057ff0e7d654dad99526e7757e4985e19c9b9f1fb8bbdeab736eab7
4
- data.tar.gz: ed9d92990f25bbca739cef384a4cfd85d9ef385144da2b8274cb77f8890ec257
3
+ metadata.gz: a5c2536b7c7c02e2403e7b2d3b08786f26b07212da775117e79116db2c28b86e
4
+ data.tar.gz: 00f19d102faf2cef80adf4353c4032fef3197556af9b60e029ab0d1c7feedee6
5
5
  SHA512:
6
- metadata.gz: 4dd2093260b10f66896ef969fed92731e575af3b8926ad09281bf54bd72ea0dc6478da1da235aa146a454dbcb113e9a0d05ca41106e0b1d6c95316101a9de1a9
7
- data.tar.gz: 045ed49a01eb880711c39e50600c9e70f86d7c79e75097491007e69edcfb9b1ee9a358650f398f41887a65564dc4f5575a9aefaa94a38974e3db13eea77dd09f
6
+ metadata.gz: 2ceff232e35311e6ced764a8fe3056d3cde9099a905f607129439f7acccba12c1506b82f51c9ae0283b83bc939106ef3a464955057d7db08da12328222363616
7
+ data.tar.gz: 860ecd9ad6890ae2f74903fcc77e178681c3db92a2744e13e38328424e80d36d4469383f4da88301302efefddfa4473e5524605a0cd422663df1642cab69af54
@@ -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
 
@@ -917,6 +918,14 @@ module Google
917
918
  end
918
919
  end
919
920
 
921
+ ##
922
+ # Configuration for the channel pool
923
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
924
+ #
925
+ def channel_pool
926
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
927
+ end
928
+
920
929
  ##
921
930
  # Configuration RPC class for the OsLoginService API.
922
931
  #
@@ -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
 
@@ -524,6 +604,22 @@ module Google
524
604
  # @return [::Google::Cloud::OsLogin::V1::ImportSshPublicKeyResponse]
525
605
  #
526
606
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
607
+ #
608
+ # @example Basic example
609
+ # require "google/cloud/os_login/v1"
610
+ #
611
+ # # Create a client object. The client can be reused for multiple calls.
612
+ # client = Google::Cloud::OsLogin::V1::OsLoginService::Rest::Client.new
613
+ #
614
+ # # Create a request. To set request fields, pass in keyword arguments.
615
+ # request = Google::Cloud::OsLogin::V1::ImportSshPublicKeyRequest.new
616
+ #
617
+ # # Call the import_ssh_public_key method.
618
+ # result = client.import_ssh_public_key request
619
+ #
620
+ # # The returned object is of type Google::Cloud::OsLogin::V1::ImportSshPublicKeyResponse.
621
+ # p result
622
+ #
527
623
  def import_ssh_public_key request, options = nil
528
624
  raise ::ArgumentError, "request must be provided" if request.nil?
529
625
 
@@ -593,6 +689,22 @@ module Google
593
689
  # @return [::Google::Cloud::OsLogin::Common::SshPublicKey]
594
690
  #
595
691
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
692
+ #
693
+ # @example Basic example
694
+ # require "google/cloud/os_login/v1"
695
+ #
696
+ # # Create a client object. The client can be reused for multiple calls.
697
+ # client = Google::Cloud::OsLogin::V1::OsLoginService::Rest::Client.new
698
+ #
699
+ # # Create a request. To set request fields, pass in keyword arguments.
700
+ # request = Google::Cloud::OsLogin::V1::UpdateSshPublicKeyRequest.new
701
+ #
702
+ # # Call the update_ssh_public_key method.
703
+ # result = client.update_ssh_public_key request
704
+ #
705
+ # # The returned object is of type Google::Cloud::OsLogin::Common::SshPublicKey.
706
+ # p result
707
+ #
596
708
  def update_ssh_public_key request, options = nil
597
709
  raise ::ArgumentError, "request must be provided" if request.nil?
598
710
 
@@ -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.9.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-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.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: 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.