google-cloud-storage-control-v2 1.4.0 → 1.6.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: a57dbc31adc6449013c639b01a4bcf27afd7c9ad11ec9ae64088f4020d1191df
4
- data.tar.gz: a0109698238b9897639cecd53a0dfc98e9c939b1a913a7b55d8dfed81036bef0
3
+ metadata.gz: 84198d503f3ae6e7516963eb7fd2271417f1a5a8325f4613cc119d5c4817560c
4
+ data.tar.gz: 1f41e3f189b9e92e305fab461536ed7b71eba6baf013a377a4e88775bd83d0ad
5
5
  SHA512:
6
- metadata.gz: 7b454da9fdfbfb0b2aa792766e8130c211db5b33a6a5d90cd2811190151e01bbf9690d63d0f790ac5ec8bf0a4a313d9c91b51c8e9e62dda006445b1d3be0a61e
7
- data.tar.gz: 1df24e003e54c593a76e7efd8cc5d50d0cfa49e4f838005b205031ab15a2255d4c1c6464a6827962ac9e5d61d5275c179a27540e798ed54bad467097beb62098
6
+ metadata.gz: 198b1957bae761ace92c877f0462b42240ab440609465c821173caa7d19c4a5f04afa3c92e2829f814dab1785e9833969976ee7a2b8b6eefe2dd8ee413fd0fa6
7
+ data.tar.gz: '01783979570cab5fefa21d5f6ee1d83bf473250d28f78e5820127e1246d122e24291f2c45b06dfeb1e9aed088b908ac297d78e8130a11ed1c93a37c43c4ce92f'
data/AUTHENTICATION.md CHANGED
@@ -54,9 +54,9 @@ whenever possible.
54
54
  To configure a credentials file for an individual client initialization:
55
55
 
56
56
  ```ruby
57
- require "google/cloud/storage/control/v2"
57
+ require "google/iam/v1"
58
58
 
59
- client = ::Google::Cloud::Storage::Control::V2::StorageControl::Client.new do |config|
59
+ client = ::Google::Iam::V1::IAMPolicy::Client.new do |config|
60
60
  config.credentials = "path/to/credentialfile.json"
61
61
  end
62
62
  ```
@@ -64,13 +64,13 @@ end
64
64
  To configure a credentials file globally for all clients:
65
65
 
66
66
  ```ruby
67
- require "google/cloud/storage/control/v2"
67
+ require "google/iam/v1"
68
68
 
69
- ::Google::Cloud::Storage::Control::V2::StorageControl::Client.configure do |config|
69
+ ::Google::Iam::V1::IAMPolicy::Client.configure do |config|
70
70
  config.credentials = "path/to/credentialfile.json"
71
71
  end
72
72
 
73
- client = ::Google::Cloud::Storage::Control::V2::StorageControl::Client.new
73
+ client = ::Google::Iam::V1::IAMPolicy::Client.new
74
74
  ```
75
75
 
76
76
  ### Environment Variables
@@ -96,11 +96,11 @@ checks for credentials are:
96
96
  * `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
97
97
 
98
98
  ```ruby
99
- require "google/cloud/storage/control/v2"
99
+ require "google/iam/v1"
100
100
 
101
101
  ENV["GOOGLE_APPLICATION_CREDENTIALS"] = "path/to/credentialfile.json"
102
102
 
103
- client = ::Google::Cloud::Storage::Control::V2::StorageControl::Client.new
103
+ client = ::Google::Iam::V1::IAMPolicy::Client.new
104
104
  ```
105
105
 
106
106
  ### Local ADC file
data/README.md CHANGED
@@ -30,11 +30,11 @@ In order to use this library, you first need to go through the following steps:
30
30
  ## Quick Start
31
31
 
32
32
  ```ruby
33
- require "google/cloud/storage/control/v2"
33
+ require "google/iam/v1"
34
34
 
35
- client = ::Google::Cloud::Storage::Control::V2::StorageControl::Client.new
36
- request = ::Google::Cloud::Storage::Control::V2::CreateFolderRequest.new # (request fields as keyword arguments...)
37
- response = client.create_folder request
35
+ client = ::Google::Iam::V1::IAMPolicy::Client.new
36
+ request = ::Google::Iam::V1::SetIamPolicyRequest.new # (request fields as keyword arguments...)
37
+ response = client.set_iam_policy request
38
38
  ```
39
39
 
40
40
  View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest)
@@ -72,10 +72,10 @@ You can customize logging by modifying the `logger` configuration when
72
72
  constructing a client object. For example:
73
73
 
74
74
  ```ruby
75
- require "google/cloud/storage/control/v2"
75
+ require "google/iam/v1"
76
76
  require "logger"
77
77
 
78
- client = ::Google::Cloud::Storage::Control::V2::StorageControl::Client.new do |config|
78
+ client = ::Google::Iam::V1::IAMPolicy::Client.new do |config|
79
79
  config.logger = Logger.new "my-app.log"
80
80
  end
81
81
  ```
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/storage/control/v2/storage_control/rest"
20
+ require "google/cloud/storage/control/v2/version"
21
+
22
+ module Google
23
+ module Cloud
24
+ module Storage
25
+ module Control
26
+ ##
27
+ # To load just the REST part of this package, including all its services, and instantiate a REST client:
28
+ #
29
+ # @example
30
+ #
31
+ # require "google/cloud/storage/control/v2/rest"
32
+ # client = ::Google::Cloud::Storage::Control::V2::StorageControl::Rest::Client.new
33
+ #
34
+ module V2
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
@@ -2561,6 +2561,321 @@ module Google
2561
2561
  raise ::Google::Cloud::Error.from_error(e)
2562
2562
  end
2563
2563
 
2564
+ ##
2565
+ # Gets the IAM policy for a specified bucket.
2566
+ # The `resource` field in the request should be
2567
+ # `projects/_/buckets/{bucket}` for a bucket, or
2568
+ # `projects/_/buckets/{bucket}/managedFolders/{managedFolder}`
2569
+ # for a managed folder.
2570
+ #
2571
+ # @overload get_iam_policy(request, options = nil)
2572
+ # Pass arguments to `get_iam_policy` via a request object, either of type
2573
+ # {::Google::Iam::V1::GetIamPolicyRequest} or an equivalent Hash.
2574
+ #
2575
+ # @param request [::Google::Iam::V1::GetIamPolicyRequest, ::Hash]
2576
+ # A request object representing the call parameters. Required. To specify no
2577
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
2578
+ # @param options [::Gapic::CallOptions, ::Hash]
2579
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2580
+ #
2581
+ # @overload get_iam_policy(resource: nil, options: nil)
2582
+ # Pass arguments to `get_iam_policy` via keyword arguments. Note that at
2583
+ # least one keyword argument is required. To specify no parameters, or to keep all
2584
+ # the default parameter values, pass an empty Hash as a request object (see above).
2585
+ #
2586
+ # @param resource [::String]
2587
+ # REQUIRED: The resource for which the policy is being requested.
2588
+ # See the operation documentation for the appropriate value for this field.
2589
+ # @param options [::Google::Iam::V1::GetPolicyOptions, ::Hash]
2590
+ # OPTIONAL: A `GetPolicyOptions` object for specifying options to
2591
+ # `GetIamPolicy`.
2592
+ #
2593
+ # @yield [response, operation] Access the result along with the RPC operation
2594
+ # @yieldparam response [::Google::Iam::V1::Policy]
2595
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2596
+ #
2597
+ # @return [::Google::Iam::V1::Policy]
2598
+ #
2599
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2600
+ #
2601
+ # @example Basic example
2602
+ # require "google/cloud/storage/control/v2"
2603
+ #
2604
+ # # Create a client object. The client can be reused for multiple calls.
2605
+ # client = Google::Cloud::Storage::Control::V2::StorageControl::Client.new
2606
+ #
2607
+ # # Create a request. To set request fields, pass in keyword arguments.
2608
+ # request = Google::Iam::V1::GetIamPolicyRequest.new
2609
+ #
2610
+ # # Call the get_iam_policy method.
2611
+ # result = client.get_iam_policy request
2612
+ #
2613
+ # # The returned object is of type Google::Iam::V1::Policy.
2614
+ # p result
2615
+ #
2616
+ def get_iam_policy request, options = nil
2617
+ raise ::ArgumentError, "request must be provided" if request.nil?
2618
+
2619
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Iam::V1::GetIamPolicyRequest
2620
+
2621
+ # Converts hash and nil to an options object
2622
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2623
+
2624
+ # Customize the options with defaults
2625
+ metadata = @config.rpcs.get_iam_policy.metadata.to_h
2626
+
2627
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2628
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2629
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
2630
+ gapic_version: ::Google::Cloud::Storage::Control::V2::VERSION
2631
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2632
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2633
+
2634
+ header_params = {}
2635
+ if request.resource && !request.resource.empty?
2636
+ header_params["bucket"] = request.resource
2637
+ end
2638
+ if request.resource
2639
+ regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(?:/.*)?$}.match request.resource
2640
+ if regex_match
2641
+ header_params["bucket"] = regex_match["bucket".to_s]
2642
+ end
2643
+ end
2644
+
2645
+ request_params_header = URI.encode_www_form header_params
2646
+ metadata[:"x-goog-request-params"] ||= request_params_header
2647
+
2648
+ options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
2649
+ metadata: metadata,
2650
+ retry_policy: @config.rpcs.get_iam_policy.retry_policy
2651
+
2652
+ options.apply_defaults timeout: @config.timeout,
2653
+ metadata: @config.metadata,
2654
+ retry_policy: @config.retry_policy
2655
+
2656
+ @storage_control_stub.call_rpc :get_iam_policy, request, options: options do |response, operation|
2657
+ yield response, operation if block_given?
2658
+ end
2659
+ rescue ::GRPC::BadStatus => e
2660
+ raise ::Google::Cloud::Error.from_error(e)
2661
+ end
2662
+
2663
+ ##
2664
+ # Updates an IAM policy for the specified bucket.
2665
+ # The `resource` field in the request should be
2666
+ # `projects/_/buckets/{bucket}` for a bucket, or
2667
+ # `projects/_/buckets/{bucket}/managedFolders/{managedFolder}`
2668
+ # for a managed folder.
2669
+ #
2670
+ # @overload set_iam_policy(request, options = nil)
2671
+ # Pass arguments to `set_iam_policy` via a request object, either of type
2672
+ # {::Google::Iam::V1::SetIamPolicyRequest} or an equivalent Hash.
2673
+ #
2674
+ # @param request [::Google::Iam::V1::SetIamPolicyRequest, ::Hash]
2675
+ # A request object representing the call parameters. Required. To specify no
2676
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
2677
+ # @param options [::Gapic::CallOptions, ::Hash]
2678
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2679
+ #
2680
+ # @overload set_iam_policy(resource: nil, policy: nil, update_mask: nil)
2681
+ # Pass arguments to `set_iam_policy` via keyword arguments. Note that at
2682
+ # least one keyword argument is required. To specify no parameters, or to keep all
2683
+ # the default parameter values, pass an empty Hash as a request object (see above).
2684
+ #
2685
+ # @param resource [::String]
2686
+ # REQUIRED: The resource for which the policy is being specified.
2687
+ # See the operation documentation for the appropriate value for this field.
2688
+ # @param policy [::Google::Iam::V1::Policy, ::Hash]
2689
+ # REQUIRED: The complete policy to be applied to the `resource`. The size of
2690
+ # the policy is limited to a few 10s of KB. An empty policy is a
2691
+ # valid policy but certain Cloud Platform services (such as Projects)
2692
+ # might reject them.
2693
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
2694
+ # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
2695
+ # the fields in the mask will be modified. If no mask is provided, the
2696
+ # following default mask is used:
2697
+ #
2698
+ # `paths: "bindings, etag"`
2699
+ #
2700
+ # @yield [response, operation] Access the result along with the RPC operation
2701
+ # @yieldparam response [::Google::Iam::V1::Policy]
2702
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2703
+ #
2704
+ # @return [::Google::Iam::V1::Policy]
2705
+ #
2706
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2707
+ #
2708
+ # @example Basic example
2709
+ # require "google/cloud/storage/control/v2"
2710
+ #
2711
+ # # Create a client object. The client can be reused for multiple calls.
2712
+ # client = Google::Cloud::Storage::Control::V2::StorageControl::Client.new
2713
+ #
2714
+ # # Create a request. To set request fields, pass in keyword arguments.
2715
+ # request = Google::Iam::V1::SetIamPolicyRequest.new
2716
+ #
2717
+ # # Call the set_iam_policy method.
2718
+ # result = client.set_iam_policy request
2719
+ #
2720
+ # # The returned object is of type Google::Iam::V1::Policy.
2721
+ # p result
2722
+ #
2723
+ def set_iam_policy request, options = nil
2724
+ raise ::ArgumentError, "request must be provided" if request.nil?
2725
+
2726
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Iam::V1::SetIamPolicyRequest
2727
+
2728
+ # Converts hash and nil to an options object
2729
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2730
+
2731
+ # Customize the options with defaults
2732
+ metadata = @config.rpcs.set_iam_policy.metadata.to_h
2733
+
2734
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2735
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2736
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
2737
+ gapic_version: ::Google::Cloud::Storage::Control::V2::VERSION
2738
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2739
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2740
+
2741
+ header_params = {}
2742
+ if request.resource && !request.resource.empty?
2743
+ header_params["bucket"] = request.resource
2744
+ end
2745
+ if request.resource
2746
+ regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)(?:/.*)?$}.match request.resource
2747
+ if regex_match
2748
+ header_params["bucket"] = regex_match["bucket".to_s]
2749
+ end
2750
+ end
2751
+
2752
+ request_params_header = URI.encode_www_form header_params
2753
+ metadata[:"x-goog-request-params"] ||= request_params_header
2754
+
2755
+ options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
2756
+ metadata: metadata,
2757
+ retry_policy: @config.rpcs.set_iam_policy.retry_policy
2758
+
2759
+ options.apply_defaults timeout: @config.timeout,
2760
+ metadata: @config.metadata,
2761
+ retry_policy: @config.retry_policy
2762
+
2763
+ @storage_control_stub.call_rpc :set_iam_policy, request, options: options do |response, operation|
2764
+ yield response, operation if block_given?
2765
+ end
2766
+ rescue ::GRPC::BadStatus => e
2767
+ raise ::Google::Cloud::Error.from_error(e)
2768
+ end
2769
+
2770
+ ##
2771
+ # Tests a set of permissions on the given bucket, object, or managed folder
2772
+ # to see which, if any, are held by the caller.
2773
+ # The `resource` field in the request should be
2774
+ # `projects/_/buckets/{bucket}` for a bucket,
2775
+ # `projects/_/buckets/{bucket}/objects/{object}` for an object, or
2776
+ # `projects/_/buckets/{bucket}/managedFolders/{managedFolder}`
2777
+ # for a managed folder.
2778
+ #
2779
+ # @overload test_iam_permissions(request, options = nil)
2780
+ # Pass arguments to `test_iam_permissions` via a request object, either of type
2781
+ # {::Google::Iam::V1::TestIamPermissionsRequest} or an equivalent Hash.
2782
+ #
2783
+ # @param request [::Google::Iam::V1::TestIamPermissionsRequest, ::Hash]
2784
+ # A request object representing the call parameters. Required. To specify no
2785
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
2786
+ # @param options [::Gapic::CallOptions, ::Hash]
2787
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2788
+ #
2789
+ # @overload test_iam_permissions(resource: nil, permissions: nil)
2790
+ # Pass arguments to `test_iam_permissions` via keyword arguments. Note that at
2791
+ # least one keyword argument is required. To specify no parameters, or to keep all
2792
+ # the default parameter values, pass an empty Hash as a request object (see above).
2793
+ #
2794
+ # @param resource [::String]
2795
+ # REQUIRED: The resource for which the policy detail is being requested.
2796
+ # See the operation documentation for the appropriate value for this field.
2797
+ # @param permissions [::Array<::String>]
2798
+ # The set of permissions to check for the `resource`. Permissions with
2799
+ # wildcards (such as '*' or 'storage.*') are not allowed. For more
2800
+ # information see
2801
+ # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
2802
+ #
2803
+ # @yield [response, operation] Access the result along with the RPC operation
2804
+ # @yieldparam response [::Google::Iam::V1::TestIamPermissionsResponse]
2805
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2806
+ #
2807
+ # @return [::Google::Iam::V1::TestIamPermissionsResponse]
2808
+ #
2809
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2810
+ #
2811
+ # @example Basic example
2812
+ # require "google/cloud/storage/control/v2"
2813
+ #
2814
+ # # Create a client object. The client can be reused for multiple calls.
2815
+ # client = Google::Cloud::Storage::Control::V2::StorageControl::Client.new
2816
+ #
2817
+ # # Create a request. To set request fields, pass in keyword arguments.
2818
+ # request = Google::Iam::V1::TestIamPermissionsRequest.new
2819
+ #
2820
+ # # Call the test_iam_permissions method.
2821
+ # result = client.test_iam_permissions request
2822
+ #
2823
+ # # The returned object is of type Google::Iam::V1::TestIamPermissionsResponse.
2824
+ # p result
2825
+ #
2826
+ def test_iam_permissions request, options = nil
2827
+ raise ::ArgumentError, "request must be provided" if request.nil?
2828
+
2829
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Iam::V1::TestIamPermissionsRequest
2830
+
2831
+ # Converts hash and nil to an options object
2832
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2833
+
2834
+ # Customize the options with defaults
2835
+ metadata = @config.rpcs.test_iam_permissions.metadata.to_h
2836
+
2837
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2838
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2839
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
2840
+ gapic_version: ::Google::Cloud::Storage::Control::V2::VERSION
2841
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2842
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2843
+
2844
+ header_params = {}
2845
+ if request.resource && !request.resource.empty?
2846
+ header_params["bucket"] = request.resource
2847
+ end
2848
+ if request.resource
2849
+ regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)/objects(?:/.*)?$}.match request.resource
2850
+ if regex_match
2851
+ header_params["bucket"] = regex_match["bucket".to_s]
2852
+ end
2853
+ end
2854
+ if request.resource
2855
+ regex_match = %r{^(?<bucket>projects/[^/]+/buckets/[^/]+)/managedFolders(?:/.*)?$}.match request.resource
2856
+ if regex_match
2857
+ header_params["bucket"] = regex_match["bucket".to_s]
2858
+ end
2859
+ end
2860
+
2861
+ request_params_header = URI.encode_www_form header_params
2862
+ metadata[:"x-goog-request-params"] ||= request_params_header
2863
+
2864
+ options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
2865
+ metadata: metadata,
2866
+ retry_policy: @config.rpcs.test_iam_permissions.retry_policy
2867
+
2868
+ options.apply_defaults timeout: @config.timeout,
2869
+ metadata: @config.metadata,
2870
+ retry_policy: @config.retry_policy
2871
+
2872
+ @storage_control_stub.call_rpc :test_iam_permissions, request, options: options do |response, operation|
2873
+ yield response, operation if block_given?
2874
+ end
2875
+ rescue ::GRPC::BadStatus => e
2876
+ raise ::Google::Cloud::Error.from_error(e)
2877
+ end
2878
+
2564
2879
  ##
2565
2880
  # Configuration class for the StorageControl API.
2566
2881
  #
@@ -2842,6 +3157,21 @@ module Google
2842
3157
  # @return [::Gapic::Config::Method]
2843
3158
  #
2844
3159
  attr_reader :update_organization_intelligence_config
3160
+ ##
3161
+ # RPC-specific configuration for `get_iam_policy`
3162
+ # @return [::Gapic::Config::Method]
3163
+ #
3164
+ attr_reader :get_iam_policy
3165
+ ##
3166
+ # RPC-specific configuration for `set_iam_policy`
3167
+ # @return [::Gapic::Config::Method]
3168
+ #
3169
+ attr_reader :set_iam_policy
3170
+ ##
3171
+ # RPC-specific configuration for `test_iam_permissions`
3172
+ # @return [::Gapic::Config::Method]
3173
+ #
3174
+ attr_reader :test_iam_permissions
2845
3175
 
2846
3176
  # @private
2847
3177
  def initialize parent_rpcs = nil
@@ -2891,6 +3221,12 @@ module Google
2891
3221
  @get_organization_intelligence_config = ::Gapic::Config::Method.new get_organization_intelligence_config_config
2892
3222
  update_organization_intelligence_config_config = parent_rpcs.update_organization_intelligence_config if parent_rpcs.respond_to? :update_organization_intelligence_config
2893
3223
  @update_organization_intelligence_config = ::Gapic::Config::Method.new update_organization_intelligence_config_config
3224
+ get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy
3225
+ @get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config
3226
+ set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy
3227
+ @set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config
3228
+ test_iam_permissions_config = parent_rpcs.test_iam_permissions if parent_rpcs.respond_to? :test_iam_permissions
3229
+ @test_iam_permissions = ::Gapic::Config::Method.new test_iam_permissions_config
2894
3230
 
2895
3231
  yield self if block_given?
2896
3232
  end