grpc-google-iam-v1 0.6.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/google/iam/v1/iam_policy_pb.rb +33 -0
- data/lib/google/iam/v1/iam_policy_services_pb.rb +71 -0
- data/lib/google/iam/v1/policy_pb.rb +25 -0
- metadata +117 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d9acdc267e6c0d2c9845ba0d6b862235e6b08755
|
4
|
+
data.tar.gz: 43ad335b501c781cf566a8edeabbee6a397cfd4a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e992d622daf79428a8bd72acb70e9cb042a64eb0ee4b382a29fdcd39aeff68cba4fa5ffddaa01a896227c773d33c5c3ab3f1fded01810dc4d1c3433d37956e2c
|
7
|
+
data.tar.gz: 89677570683222c187124cfc2f14fcae68bbf2c7e14749fc03e8c3c0cd257a61c692988271a455e085b919f5f47342f53e735b727a907508d8d3f76b898d408f
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/iam/v1/iam_policy.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/iam/v1/policy_pb'
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_message "google.iam.v1.SetIamPolicyRequest" do
|
9
|
+
optional :resource, :string, 1
|
10
|
+
optional :policy, :message, 2, "google.iam.v1.Policy"
|
11
|
+
end
|
12
|
+
add_message "google.iam.v1.GetIamPolicyRequest" do
|
13
|
+
optional :resource, :string, 1
|
14
|
+
end
|
15
|
+
add_message "google.iam.v1.TestIamPermissionsRequest" do
|
16
|
+
optional :resource, :string, 1
|
17
|
+
repeated :permissions, :string, 2
|
18
|
+
end
|
19
|
+
add_message "google.iam.v1.TestIamPermissionsResponse" do
|
20
|
+
repeated :permissions, :string, 1
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
module Google
|
25
|
+
module Iam
|
26
|
+
module V1
|
27
|
+
SetIamPolicyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.SetIamPolicyRequest").msgclass
|
28
|
+
GetIamPolicyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.GetIamPolicyRequest").msgclass
|
29
|
+
TestIamPermissionsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.TestIamPermissionsRequest").msgclass
|
30
|
+
TestIamPermissionsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.TestIamPermissionsResponse").msgclass
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/iam/v1/iam_policy.proto for package 'google.iam.v1'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright (c) 2015, Google Inc.
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require 'grpc'
|
20
|
+
require 'google/iam/v1/iam_policy_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Iam
|
24
|
+
module V1
|
25
|
+
module IAMPolicy
|
26
|
+
# ## API Overview
|
27
|
+
#
|
28
|
+
# Any implementation of an API that offers access control features
|
29
|
+
# implements the google.iam.v1.IAMPolicy interface.
|
30
|
+
#
|
31
|
+
# ## Data model
|
32
|
+
#
|
33
|
+
# Access control is applied when a principal (user or service account), takes
|
34
|
+
# some action on a resource exposed by a service. Resources, identified by
|
35
|
+
# URI-like names, are the unit of access control specification. Service
|
36
|
+
# implementations can choose the granularity of access control and the
|
37
|
+
# supported permissions for their resources.
|
38
|
+
# For example one database service may allow access control to be
|
39
|
+
# specified only at the Table level, whereas another might allow access control
|
40
|
+
# to also be specified at the Column level.
|
41
|
+
#
|
42
|
+
# ## Policy Structure
|
43
|
+
#
|
44
|
+
# See google.iam.v1.Policy
|
45
|
+
#
|
46
|
+
# This is intentionally not a CRUD style API because access control policies
|
47
|
+
# are created and deleted implicitly with the resources to which they are
|
48
|
+
# attached.
|
49
|
+
class Service
|
50
|
+
|
51
|
+
include GRPC::GenericService
|
52
|
+
|
53
|
+
self.marshal_class_method = :encode
|
54
|
+
self.unmarshal_class_method = :decode
|
55
|
+
self.service_name = 'google.iam.v1.IAMPolicy'
|
56
|
+
|
57
|
+
# Sets the access control policy on the specified resource. Replaces any
|
58
|
+
# existing policy.
|
59
|
+
rpc :SetIamPolicy, SetIamPolicyRequest, Policy
|
60
|
+
# Gets the access control policy for a resource. Is empty if the
|
61
|
+
# policy or the resource does not exist.
|
62
|
+
rpc :GetIamPolicy, GetIamPolicyRequest, Policy
|
63
|
+
# Returns permissions that a caller has on the specified resource.
|
64
|
+
rpc :TestIamPermissions, TestIamPermissionsRequest, TestIamPermissionsResponse
|
65
|
+
end
|
66
|
+
|
67
|
+
Stub = Service.rpc_stub_class
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/iam/v1/policy.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_message "google.iam.v1.Policy" do
|
8
|
+
optional :version, :int32, 1
|
9
|
+
repeated :bindings, :message, 4, "google.iam.v1.Binding"
|
10
|
+
optional :etag, :bytes, 3
|
11
|
+
end
|
12
|
+
add_message "google.iam.v1.Binding" do
|
13
|
+
optional :role, :string, 1
|
14
|
+
repeated :members, :string, 2
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
module Google
|
19
|
+
module Iam
|
20
|
+
module V1
|
21
|
+
Policy = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.Policy").msgclass
|
22
|
+
Binding = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.Binding").msgclass
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,117 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: grpc-google-iam-v1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.6.8
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Google Inc
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-09-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: grpc
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: googleauth
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.5.1
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.5.1
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: googleapis-common-protos
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.3.1
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.3.1
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.9'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.9'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '10.4'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '10.4'
|
83
|
+
description: a grpc-based api
|
84
|
+
email: googleapis-packages@google.com
|
85
|
+
executables: []
|
86
|
+
extensions: []
|
87
|
+
extra_rdoc_files: []
|
88
|
+
files:
|
89
|
+
- lib/google/iam/v1/iam_policy_pb.rb
|
90
|
+
- lib/google/iam/v1/iam_policy_services_pb.rb
|
91
|
+
- lib/google/iam/v1/policy_pb.rb
|
92
|
+
homepage: https://github.com/googleapis/googleapis
|
93
|
+
licenses:
|
94
|
+
- Apache-2.0
|
95
|
+
metadata: {}
|
96
|
+
post_install_message:
|
97
|
+
rdoc_options: []
|
98
|
+
require_paths:
|
99
|
+
- lib
|
100
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: 2.0.0
|
105
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
requirements:
|
111
|
+
- libgrpc ~> 0.9.0 needs to be installed
|
112
|
+
rubyforge_project:
|
113
|
+
rubygems_version: 2.4.8
|
114
|
+
signing_key:
|
115
|
+
specification_version: 4
|
116
|
+
summary: GRPC library for service grpc-google-iam-v1
|
117
|
+
test_files: []
|