Sha256: 3bf3c96e02f94b99aaa32ca9b161522ac84158113710187baa50b211a0c0763a

Contents?: true

Size: 1.76 KB

Versions: 5

Compression:

Stored size: 1.76 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: google/cloud/policytroubleshooter/v1/checker.proto for package 'Google.Cloud.PolicyTroubleshooter.V1'
# Original file comments:
# Copyright 2019 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#

require 'grpc'
require 'google/cloud/policytroubleshooter/v1/checker_pb'

module Google
  module Cloud
    module PolicyTroubleshooter
      module V1
        module IamChecker
          # IAM Policy Troubleshooter service.
          #
          # This service helps you troubleshoot access issues for Google Cloud resources.
          class Service

            include GRPC::GenericService

            self.marshal_class_method = :encode
            self.unmarshal_class_method = :decode
            self.service_name = 'google.cloud.policytroubleshooter.v1.IamChecker'

            # Checks whether a member has a specific permission for a specific resource,
            # and explains why the member does or does not have that permission.
            rpc :TroubleshootIamPolicy, ::Google::Cloud::PolicyTroubleshooter::V1::TroubleshootIamPolicyRequest, ::Google::Cloud::PolicyTroubleshooter::V1::TroubleshootIamPolicyResponse
          end

          Stub = Service.rpc_stub_class
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
google-cloud-policy_troubleshooter-v1-0.3.3 lib/google/cloud/policytroubleshooter/v1/checker_services_pb.rb
google-cloud-policy_troubleshooter-v1-0.3.2 lib/google/cloud/policytroubleshooter/v1/checker_services_pb.rb
google-cloud-policy_troubleshooter-v1-0.3.0 lib/google/cloud/policytroubleshooter/v1/checker_services_pb.rb
google-cloud-policy_troubleshooter-v1-0.2.0 lib/google/cloud/policytroubleshooter/v1/checker_services_pb.rb
google-cloud-policy_troubleshooter-v1-0.1.1 lib/google/cloud/policytroubleshooter/v1/checker_services_pb.rb