google-cloud-access_approval-v1 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: 7b21f1c38cdcae3bffe301c7f72ccfb4df27edd894a530c33133558f1b783c6f
4
- data.tar.gz: 6dd8378f40967a20bf9a2267c8e238060579d856c7ee96eb64e43cb6e267cea2
3
+ metadata.gz: 1a4addf76e5675c1345828dc03df127f968c022e1b244d7f383952342b7e54fa
4
+ data.tar.gz: 40838d44b816f426b95445a4066b978b3ff8d6d6246bca31c92c4c6e65f2daea
5
5
  SHA512:
6
- metadata.gz: b9b7d888e59f9f2c812033d1ebd13d13c534741ff0b982b5991f129616ad32dab9b6a14b62f6cfcaf4aa8d08fe508f119138394e291f83fa84b2318d8f13681f
7
- data.tar.gz: f84b87a8b4732f097509f3736956f5da622a7c99a66d861e9898328ed7262b517658bfcc571d7b946d6f6fa7c91fb2c535ae1661c862068233831a9a18b5841e
6
+ metadata.gz: 3c2b6ac3958fd544dff17d888f991896d73e61ca152898b85f85b2ba81c0fb99309be7dc55a4679c34d5f8f4a5c194a25de01e0e726c258516c8cc57a81df36b
7
+ data.tar.gz: c008c952d02074c09699904f731f187eedac04477c7b5d4473ccdaf6c3ebd511bfe165a4bc23195728553fbac227b708d7c2a89a1333b3a41233463a22ae4421
@@ -195,7 +195,8 @@ module Google
195
195
  credentials: credentials,
196
196
  endpoint: @config.endpoint,
197
197
  channel_args: @config.channel_args,
198
- interceptors: @config.interceptors
198
+ interceptors: @config.interceptors,
199
+ channel_pool_config: @config.channel_pool
199
200
  )
200
201
  end
201
202
 
@@ -1152,6 +1153,14 @@ module Google
1152
1153
  end
1153
1154
  end
1154
1155
 
1156
+ ##
1157
+ # Configuration for the channel pool
1158
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
1159
+ #
1160
+ def channel_pool
1161
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
1162
+ end
1163
+
1155
1164
  ##
1156
1165
  # Configuration RPC class for the AccessApproval API.
1157
1166
  #
@@ -239,6 +239,26 @@ module Google
239
239
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AccessApproval::V1::ApprovalRequest>]
240
240
  #
241
241
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
242
+ #
243
+ # @example Basic example
244
+ # require "google/cloud/access_approval/v1"
245
+ #
246
+ # # Create a client object. The client can be reused for multiple calls.
247
+ # client = Google::Cloud::AccessApproval::V1::AccessApproval::Rest::Client.new
248
+ #
249
+ # # Create a request. To set request fields, pass in keyword arguments.
250
+ # request = Google::Cloud::AccessApproval::V1::ListApprovalRequestsMessage.new
251
+ #
252
+ # # Call the list_approval_requests method.
253
+ # result = client.list_approval_requests request
254
+ #
255
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
256
+ # # over elements, and API calls will be issued to fetch pages as needed.
257
+ # result.each do |item|
258
+ # # Each element is of type ::Google::Cloud::AccessApproval::V1::ApprovalRequest.
259
+ # p item
260
+ # end
261
+ #
242
262
  def list_approval_requests request, options = nil
243
263
  raise ::ArgumentError, "request must be provided" if request.nil?
244
264
 
@@ -304,6 +324,22 @@ module Google
304
324
  # @return [::Google::Cloud::AccessApproval::V1::ApprovalRequest]
305
325
  #
306
326
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
327
+ #
328
+ # @example Basic example
329
+ # require "google/cloud/access_approval/v1"
330
+ #
331
+ # # Create a client object. The client can be reused for multiple calls.
332
+ # client = Google::Cloud::AccessApproval::V1::AccessApproval::Rest::Client.new
333
+ #
334
+ # # Create a request. To set request fields, pass in keyword arguments.
335
+ # request = Google::Cloud::AccessApproval::V1::GetApprovalRequestMessage.new
336
+ #
337
+ # # Call the get_approval_request method.
338
+ # result = client.get_approval_request request
339
+ #
340
+ # # The returned object is of type Google::Cloud::AccessApproval::V1::ApprovalRequest.
341
+ # p result
342
+ #
307
343
  def get_approval_request request, options = nil
308
344
  raise ::ArgumentError, "request must be provided" if request.nil?
309
345
 
@@ -371,6 +407,22 @@ module Google
371
407
  # @return [::Google::Cloud::AccessApproval::V1::ApprovalRequest]
372
408
  #
373
409
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
410
+ #
411
+ # @example Basic example
412
+ # require "google/cloud/access_approval/v1"
413
+ #
414
+ # # Create a client object. The client can be reused for multiple calls.
415
+ # client = Google::Cloud::AccessApproval::V1::AccessApproval::Rest::Client.new
416
+ #
417
+ # # Create a request. To set request fields, pass in keyword arguments.
418
+ # request = Google::Cloud::AccessApproval::V1::ApproveApprovalRequestMessage.new
419
+ #
420
+ # # Call the approve_approval_request method.
421
+ # result = client.approve_approval_request request
422
+ #
423
+ # # The returned object is of type Google::Cloud::AccessApproval::V1::ApprovalRequest.
424
+ # p result
425
+ #
374
426
  def approve_approval_request request, options = nil
375
427
  raise ::ArgumentError, "request must be provided" if request.nil?
376
428
 
@@ -442,6 +494,22 @@ module Google
442
494
  # @return [::Google::Cloud::AccessApproval::V1::ApprovalRequest]
443
495
  #
444
496
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
497
+ #
498
+ # @example Basic example
499
+ # require "google/cloud/access_approval/v1"
500
+ #
501
+ # # Create a client object. The client can be reused for multiple calls.
502
+ # client = Google::Cloud::AccessApproval::V1::AccessApproval::Rest::Client.new
503
+ #
504
+ # # Create a request. To set request fields, pass in keyword arguments.
505
+ # request = Google::Cloud::AccessApproval::V1::DismissApprovalRequestMessage.new
506
+ #
507
+ # # Call the dismiss_approval_request method.
508
+ # result = client.dismiss_approval_request request
509
+ #
510
+ # # The returned object is of type Google::Cloud::AccessApproval::V1::ApprovalRequest.
511
+ # p result
512
+ #
445
513
  def dismiss_approval_request request, options = nil
446
514
  raise ::ArgumentError, "request must be provided" if request.nil?
447
515
 
@@ -511,6 +579,22 @@ module Google
511
579
  # @return [::Google::Cloud::AccessApproval::V1::ApprovalRequest]
512
580
  #
513
581
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
582
+ #
583
+ # @example Basic example
584
+ # require "google/cloud/access_approval/v1"
585
+ #
586
+ # # Create a client object. The client can be reused for multiple calls.
587
+ # client = Google::Cloud::AccessApproval::V1::AccessApproval::Rest::Client.new
588
+ #
589
+ # # Create a request. To set request fields, pass in keyword arguments.
590
+ # request = Google::Cloud::AccessApproval::V1::InvalidateApprovalRequestMessage.new
591
+ #
592
+ # # Call the invalidate_approval_request method.
593
+ # result = client.invalidate_approval_request request
594
+ #
595
+ # # The returned object is of type Google::Cloud::AccessApproval::V1::ApprovalRequest.
596
+ # p result
597
+ #
514
598
  def invalidate_approval_request request, options = nil
515
599
  raise ::ArgumentError, "request must be provided" if request.nil?
516
600
 
@@ -574,6 +658,22 @@ module Google
574
658
  # @return [::Google::Cloud::AccessApproval::V1::AccessApprovalSettings]
575
659
  #
576
660
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
661
+ #
662
+ # @example Basic example
663
+ # require "google/cloud/access_approval/v1"
664
+ #
665
+ # # Create a client object. The client can be reused for multiple calls.
666
+ # client = Google::Cloud::AccessApproval::V1::AccessApproval::Rest::Client.new
667
+ #
668
+ # # Create a request. To set request fields, pass in keyword arguments.
669
+ # request = Google::Cloud::AccessApproval::V1::GetAccessApprovalSettingsMessage.new
670
+ #
671
+ # # Call the get_access_approval_settings method.
672
+ # result = client.get_access_approval_settings request
673
+ #
674
+ # # The returned object is of type Google::Cloud::AccessApproval::V1::AccessApprovalSettings.
675
+ # p result
676
+ #
577
677
  def get_access_approval_settings request, options = nil
578
678
  raise ::ArgumentError, "request must be provided" if request.nil?
579
679
 
@@ -648,6 +748,22 @@ module Google
648
748
  # @return [::Google::Cloud::AccessApproval::V1::AccessApprovalSettings]
649
749
  #
650
750
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
751
+ #
752
+ # @example Basic example
753
+ # require "google/cloud/access_approval/v1"
754
+ #
755
+ # # Create a client object. The client can be reused for multiple calls.
756
+ # client = Google::Cloud::AccessApproval::V1::AccessApproval::Rest::Client.new
757
+ #
758
+ # # Create a request. To set request fields, pass in keyword arguments.
759
+ # request = Google::Cloud::AccessApproval::V1::UpdateAccessApprovalSettingsMessage.new
760
+ #
761
+ # # Call the update_access_approval_settings method.
762
+ # result = client.update_access_approval_settings request
763
+ #
764
+ # # The returned object is of type Google::Cloud::AccessApproval::V1::AccessApprovalSettings.
765
+ # p result
766
+ #
651
767
  def update_access_approval_settings request, options = nil
652
768
  raise ::ArgumentError, "request must be provided" if request.nil?
653
769
 
@@ -715,6 +831,22 @@ module Google
715
831
  # @return [::Google::Protobuf::Empty]
716
832
  #
717
833
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
834
+ #
835
+ # @example Basic example
836
+ # require "google/cloud/access_approval/v1"
837
+ #
838
+ # # Create a client object. The client can be reused for multiple calls.
839
+ # client = Google::Cloud::AccessApproval::V1::AccessApproval::Rest::Client.new
840
+ #
841
+ # # Create a request. To set request fields, pass in keyword arguments.
842
+ # request = Google::Cloud::AccessApproval::V1::DeleteAccessApprovalSettingsMessage.new
843
+ #
844
+ # # Call the delete_access_approval_settings method.
845
+ # result = client.delete_access_approval_settings request
846
+ #
847
+ # # The returned object is of type Google::Protobuf::Empty.
848
+ # p result
849
+ #
718
850
  def delete_access_approval_settings request, options = nil
719
851
  raise ::ArgumentError, "request must be provided" if request.nil?
720
852
 
@@ -778,6 +910,22 @@ module Google
778
910
  # @return [::Google::Cloud::AccessApproval::V1::AccessApprovalServiceAccount]
779
911
  #
780
912
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
913
+ #
914
+ # @example Basic example
915
+ # require "google/cloud/access_approval/v1"
916
+ #
917
+ # # Create a client object. The client can be reused for multiple calls.
918
+ # client = Google::Cloud::AccessApproval::V1::AccessApproval::Rest::Client.new
919
+ #
920
+ # # Create a request. To set request fields, pass in keyword arguments.
921
+ # request = Google::Cloud::AccessApproval::V1::GetAccessApprovalServiceAccountMessage.new
922
+ #
923
+ # # Call the get_access_approval_service_account method.
924
+ # result = client.get_access_approval_service_account request
925
+ #
926
+ # # The returned object is of type Google::Cloud::AccessApproval::V1::AccessApprovalServiceAccount.
927
+ # p result
928
+ #
781
929
  def get_access_approval_service_account request, options = nil
782
930
  raise ::ArgumentError, "request must be provided" if request.nil?
783
931
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AccessApproval
23
23
  module V1
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-access_approval-v1
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-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
@@ -211,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
211
  - !ruby/object:Gem::Version
212
212
  version: '0'
213
213
  requirements: []
214
- rubygems_version: 3.4.2
214
+ rubygems_version: 3.4.19
215
215
  signing_key:
216
216
  specification_version: 4
217
217
  summary: An API for controlling access to data by Google personnel.