google-cloud-resource_manager-v3 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +169 -0
- data/LICENSE.md +201 -0
- data/README.md +139 -0
- data/lib/google-cloud-resource_manager-v3.rb +21 -0
- data/lib/google/cloud/resource_manager/v3.rb +43 -0
- data/lib/google/cloud/resource_manager/v3/folders.rb +52 -0
- data/lib/google/cloud/resource_manager/v3/folders/client.rb +1328 -0
- data/lib/google/cloud/resource_manager/v3/folders/credentials.rb +52 -0
- data/lib/google/cloud/resource_manager/v3/folders/operations.rb +664 -0
- data/lib/google/cloud/resource_manager/v3/folders/paths.rb +47 -0
- data/lib/google/cloud/resource_manager/v3/organizations.rb +49 -0
- data/lib/google/cloud/resource_manager/v3/organizations/client.rb +739 -0
- data/lib/google/cloud/resource_manager/v3/organizations/credentials.rb +52 -0
- data/lib/google/cloud/resource_manager/v3/organizations/paths.rb +47 -0
- data/lib/google/cloud/resource_manager/v3/projects.rb +50 -0
- data/lib/google/cloud/resource_manager/v3/projects/client.rb +1356 -0
- data/lib/google/cloud/resource_manager/v3/projects/credentials.rb +52 -0
- data/lib/google/cloud/resource_manager/v3/projects/operations.rb +664 -0
- data/lib/google/cloud/resource_manager/v3/projects/paths.rb +47 -0
- data/lib/google/cloud/resource_manager/v3/tag_bindings.rb +51 -0
- data/lib/google/cloud/resource_manager/v3/tag_bindings/client.rb +552 -0
- data/lib/google/cloud/resource_manager/v3/tag_bindings/credentials.rb +52 -0
- data/lib/google/cloud/resource_manager/v3/tag_bindings/operations.rb +664 -0
- data/lib/google/cloud/resource_manager/v3/tag_bindings/paths.rb +47 -0
- data/lib/google/cloud/resource_manager/v3/tag_keys.rb +50 -0
- data/lib/google/cloud/resource_manager/v3/tag_keys/client.rb +987 -0
- data/lib/google/cloud/resource_manager/v3/tag_keys/credentials.rb +52 -0
- data/lib/google/cloud/resource_manager/v3/tag_keys/operations.rb +664 -0
- data/lib/google/cloud/resource_manager/v3/tag_keys/paths.rb +47 -0
- data/lib/google/cloud/resource_manager/v3/tag_values.rb +50 -0
- data/lib/google/cloud/resource_manager/v3/tag_values/client.rb +983 -0
- data/lib/google/cloud/resource_manager/v3/tag_values/credentials.rb +52 -0
- data/lib/google/cloud/resource_manager/v3/tag_values/operations.rb +664 -0
- data/lib/google/cloud/resource_manager/v3/tag_values/paths.rb +47 -0
- data/lib/google/cloud/resource_manager/v3/version.rb +28 -0
- data/lib/google/cloud/resourcemanager/v3/folders_pb.rb +113 -0
- data/lib/google/cloud/resourcemanager/v3/folders_services_pb.rb +166 -0
- data/lib/google/cloud/resourcemanager/v3/organizations_pb.rb +66 -0
- data/lib/google/cloud/resourcemanager/v3/organizations_services_pb.rb +73 -0
- data/lib/google/cloud/resourcemanager/v3/projects_pb.rb +113 -0
- data/lib/google/cloud/resourcemanager/v3/projects_services_pb.rb +187 -0
- data/lib/google/cloud/resourcemanager/v3/tag_bindings_pb.rb +55 -0
- data/lib/google/cloud/resourcemanager/v3/tag_bindings_services_pb.rb +55 -0
- data/lib/google/cloud/resourcemanager/v3/tag_keys_pb.rb +79 -0
- data/lib/google/cloud/resourcemanager/v3/tag_keys_services_pb.rb +77 -0
- data/lib/google/cloud/resourcemanager/v3/tag_values_pb.rb +79 -0
- data/lib/google/cloud/resourcemanager/v3/tag_values_services_pb.rb +78 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +71 -0
- data/proto_docs/google/api/resource.rb +283 -0
- data/proto_docs/google/cloud/resourcemanager/v3/folders.rb +307 -0
- data/proto_docs/google/cloud/resourcemanager/v3/organizations.rb +152 -0
- data/proto_docs/google/cloud/resourcemanager/v3/projects.rb +395 -0
- data/proto_docs/google/cloud/resourcemanager/v3/tag_bindings.rb +127 -0
- data/proto_docs/google/cloud/resourcemanager/v3/tag_keys.rb +181 -0
- data/proto_docs/google/cloud/resourcemanager/v3/tag_values.rb +179 -0
- data/proto_docs/google/iam/v1/iam_policy.rb +80 -0
- data/proto_docs/google/iam/v1/options.rb +40 -0
- data/proto_docs/google/iam/v1/policy.rb +248 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +141 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +129 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +283 -0
@@ -0,0 +1,181 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 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
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module ResourceManager
|
23
|
+
module V3
|
24
|
+
# A TagKey, used to group a set of TagValues.
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# Immutable. The resource name for a TagKey. Must be in the format
|
28
|
+
# `tagKeys/{tag_key_id}`, where `tag_key_id` is the generated numeric id for
|
29
|
+
# the TagKey.
|
30
|
+
# @!attribute [rw] parent
|
31
|
+
# @return [::String]
|
32
|
+
# Immutable. The resource name of the new TagKey's parent.
|
33
|
+
# Must be of the form `organizations/{org_id}`.
|
34
|
+
# @!attribute [rw] short_name
|
35
|
+
# @return [::String]
|
36
|
+
# Required. Immutable. The user friendly name for a TagKey. The short name should be
|
37
|
+
# unique for TagKeys within the same tag namespace.
|
38
|
+
#
|
39
|
+
# The short name must be 1-63 characters, beginning and ending with
|
40
|
+
# an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_),
|
41
|
+
# dots (.), and alphanumerics between.
|
42
|
+
# @!attribute [r] namespaced_name
|
43
|
+
# @return [::String]
|
44
|
+
# Output only. Immutable. Namespaced name of the TagKey.
|
45
|
+
# @!attribute [rw] description
|
46
|
+
# @return [::String]
|
47
|
+
# Optional. User-assigned description of the TagKey. Must not exceed 256 characters.
|
48
|
+
#
|
49
|
+
# Read-write.
|
50
|
+
# @!attribute [r] create_time
|
51
|
+
# @return [::Google::Protobuf::Timestamp]
|
52
|
+
# Output only. Creation time.
|
53
|
+
# @!attribute [r] update_time
|
54
|
+
# @return [::Google::Protobuf::Timestamp]
|
55
|
+
# Output only. Update time.
|
56
|
+
# @!attribute [rw] etag
|
57
|
+
# @return [::String]
|
58
|
+
# Optional. Entity tag which users can pass to prevent race conditions. This field is
|
59
|
+
# always set in server responses. See UpdateTagKeyRequest for details.
|
60
|
+
class TagKey
|
61
|
+
include ::Google::Protobuf::MessageExts
|
62
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
63
|
+
end
|
64
|
+
|
65
|
+
# The request message for listing all TagKeys under a parent resource.
|
66
|
+
# @!attribute [rw] parent
|
67
|
+
# @return [::String]
|
68
|
+
# Required. The resource name of the new TagKey's parent.
|
69
|
+
# Must be of the form `folders/{folder_id}` or `organizations/{org_id}`.
|
70
|
+
# @!attribute [rw] page_size
|
71
|
+
# @return [::Integer]
|
72
|
+
# Optional. The maximum number of TagKeys to return in the response. The server allows
|
73
|
+
# a maximum of 300 TagKeys to return. If unspecified, the server will use 100
|
74
|
+
# as the default.
|
75
|
+
# @!attribute [rw] page_token
|
76
|
+
# @return [::String]
|
77
|
+
# Optional. A pagination token returned from a previous call to `ListTagKey`
|
78
|
+
# that indicates where this listing should continue from.
|
79
|
+
class ListTagKeysRequest
|
80
|
+
include ::Google::Protobuf::MessageExts
|
81
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
82
|
+
end
|
83
|
+
|
84
|
+
# The ListTagKeys response message.
|
85
|
+
# @!attribute [rw] tag_keys
|
86
|
+
# @return [::Array<::Google::Cloud::ResourceManager::V3::TagKey>]
|
87
|
+
# List of TagKeys that live under the specified parent in the request.
|
88
|
+
# @!attribute [rw] next_page_token
|
89
|
+
# @return [::String]
|
90
|
+
# A pagination token returned from a previous call to `ListTagKeys`
|
91
|
+
# that indicates from where listing should continue.
|
92
|
+
class ListTagKeysResponse
|
93
|
+
include ::Google::Protobuf::MessageExts
|
94
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
95
|
+
end
|
96
|
+
|
97
|
+
# The request message for getting a TagKey.
|
98
|
+
# @!attribute [rw] name
|
99
|
+
# @return [::String]
|
100
|
+
# Required. A resource name in the format `tagKeys/{id}`, such as
|
101
|
+
# `tagKeys/123`.
|
102
|
+
class GetTagKeyRequest
|
103
|
+
include ::Google::Protobuf::MessageExts
|
104
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
105
|
+
end
|
106
|
+
|
107
|
+
# The request message for creating a TagKey.
|
108
|
+
# @!attribute [rw] tag_key
|
109
|
+
# @return [::Google::Cloud::ResourceManager::V3::TagKey]
|
110
|
+
# Required. The TagKey to be created. Only fields `short_name`, `description`,
|
111
|
+
# and `parent` are considered during the creation request.
|
112
|
+
# @!attribute [rw] validate_only
|
113
|
+
# @return [::Boolean]
|
114
|
+
# Optional. Set to true to perform validations necessary for creating the resource, but
|
115
|
+
# not actually perform the action.
|
116
|
+
class CreateTagKeyRequest
|
117
|
+
include ::Google::Protobuf::MessageExts
|
118
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
119
|
+
end
|
120
|
+
|
121
|
+
# Runtime operation information for creating a TagKey.
|
122
|
+
class CreateTagKeyMetadata
|
123
|
+
include ::Google::Protobuf::MessageExts
|
124
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
125
|
+
end
|
126
|
+
|
127
|
+
# The request message for updating a TagKey.
|
128
|
+
# @!attribute [rw] tag_key
|
129
|
+
# @return [::Google::Cloud::ResourceManager::V3::TagKey]
|
130
|
+
# Required. The new definition of the TagKey. Only the `description` and `etag` fields
|
131
|
+
# can be updated by this request. If the `etag` field is not empty, it
|
132
|
+
# must match the `etag` field of the existing tag key. Otherwise,
|
133
|
+
# `FAILED_PRECONDITION` will be returned.
|
134
|
+
# @!attribute [rw] update_mask
|
135
|
+
# @return [::Google::Protobuf::FieldMask]
|
136
|
+
# Fields to be updated. The mask may only contain `description` or
|
137
|
+
# `etag`. If omitted entirely, both `description` and `etag` are assumed to
|
138
|
+
# be significant.
|
139
|
+
# @!attribute [rw] validate_only
|
140
|
+
# @return [::Boolean]
|
141
|
+
# Set as true to perform validations necessary for updating the resource, but
|
142
|
+
# not actually perform the action.
|
143
|
+
class UpdateTagKeyRequest
|
144
|
+
include ::Google::Protobuf::MessageExts
|
145
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
146
|
+
end
|
147
|
+
|
148
|
+
# Runtime operation information for updating a TagKey.
|
149
|
+
class UpdateTagKeyMetadata
|
150
|
+
include ::Google::Protobuf::MessageExts
|
151
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
152
|
+
end
|
153
|
+
|
154
|
+
# The request message for deleting a TagKey.
|
155
|
+
# @!attribute [rw] name
|
156
|
+
# @return [::String]
|
157
|
+
# Required. The resource name of a TagKey to be deleted in the format `tagKeys/123`.
|
158
|
+
# The TagKey cannot be a parent of any existing TagValues or it will not be
|
159
|
+
# deleted successfully.
|
160
|
+
# @!attribute [rw] validate_only
|
161
|
+
# @return [::Boolean]
|
162
|
+
# Optional. Set as true to perform validations necessary for deletion, but not actually
|
163
|
+
# perform the action.
|
164
|
+
# @!attribute [rw] etag
|
165
|
+
# @return [::String]
|
166
|
+
# Optional. The etag known to the client for the expected state of the TagKey. This is
|
167
|
+
# to be used for optimistic concurrency.
|
168
|
+
class DeleteTagKeyRequest
|
169
|
+
include ::Google::Protobuf::MessageExts
|
170
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
171
|
+
end
|
172
|
+
|
173
|
+
# Runtime operation information for deleting a TagKey.
|
174
|
+
class DeleteTagKeyMetadata
|
175
|
+
include ::Google::Protobuf::MessageExts
|
176
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
177
|
+
end
|
178
|
+
end
|
179
|
+
end
|
180
|
+
end
|
181
|
+
end
|
@@ -0,0 +1,179 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 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
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module ResourceManager
|
23
|
+
module V3
|
24
|
+
# A TagValue is a child of a particular TagKey. This is used to group
|
25
|
+
# cloud resources for the purpose of controlling them using policies.
|
26
|
+
# @!attribute [rw] name
|
27
|
+
# @return [::String]
|
28
|
+
# Immutable. Resource name for TagValue in the format `tagValues/456`.
|
29
|
+
# @!attribute [rw] parent
|
30
|
+
# @return [::String]
|
31
|
+
# Immutable. The resource name of the new TagValue's parent TagKey.
|
32
|
+
# Must be of the form `tagKeys/{tag_key_id}`.
|
33
|
+
# @!attribute [rw] short_name
|
34
|
+
# @return [::String]
|
35
|
+
# Required. Immutable. User-assigned short name for TagValue. The short name should be
|
36
|
+
# unique for TagValues within the same parent TagKey.
|
37
|
+
#
|
38
|
+
# The short name must be 63 characters or less, beginning and ending with
|
39
|
+
# an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_),
|
40
|
+
# dots (.), and alphanumerics between.
|
41
|
+
# @!attribute [r] namespaced_name
|
42
|
+
# @return [::String]
|
43
|
+
# Output only. Namespaced name of the TagValue. Must be in the format
|
44
|
+
# `{organization_id}/{tag_key_short_name}/{short_name}`.
|
45
|
+
# @!attribute [rw] description
|
46
|
+
# @return [::String]
|
47
|
+
# Optional. User-assigned description of the TagValue.
|
48
|
+
# Must not exceed 256 characters.
|
49
|
+
#
|
50
|
+
# Read-write.
|
51
|
+
# @!attribute [r] create_time
|
52
|
+
# @return [::Google::Protobuf::Timestamp]
|
53
|
+
# Output only. Creation time.
|
54
|
+
# @!attribute [r] update_time
|
55
|
+
# @return [::Google::Protobuf::Timestamp]
|
56
|
+
# Output only. Update time.
|
57
|
+
# @!attribute [rw] etag
|
58
|
+
# @return [::String]
|
59
|
+
# Optional. Entity tag which users can pass to prevent race conditions. This field is
|
60
|
+
# always set in server responses. See UpdateTagValueRequest for details.
|
61
|
+
class TagValue
|
62
|
+
include ::Google::Protobuf::MessageExts
|
63
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
64
|
+
end
|
65
|
+
|
66
|
+
# The request message for listing TagValues for the specified TagKey.
|
67
|
+
# @!attribute [rw] parent
|
68
|
+
# @return [::String]
|
69
|
+
# Required. Resource name for TagKey, parent of the TagValues to be listed,
|
70
|
+
# in the format `tagKeys/123`.
|
71
|
+
# @!attribute [rw] page_size
|
72
|
+
# @return [::Integer]
|
73
|
+
# Optional. The maximum number of TagValues to return in the response. The server
|
74
|
+
# allows a maximum of 300 TagValues to return. If unspecified, the server
|
75
|
+
# will use 100 as the default.
|
76
|
+
# @!attribute [rw] page_token
|
77
|
+
# @return [::String]
|
78
|
+
# Optional. A pagination token returned from a previous call to `ListTagValues`
|
79
|
+
# that indicates where this listing should continue from.
|
80
|
+
class ListTagValuesRequest
|
81
|
+
include ::Google::Protobuf::MessageExts
|
82
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
|
+
end
|
84
|
+
|
85
|
+
# The ListTagValues response.
|
86
|
+
# @!attribute [rw] tag_values
|
87
|
+
# @return [::Array<::Google::Cloud::ResourceManager::V3::TagValue>]
|
88
|
+
# A possibly paginated list of TagValues that are direct descendants of
|
89
|
+
# the specified parent TagKey.
|
90
|
+
# @!attribute [rw] next_page_token
|
91
|
+
# @return [::String]
|
92
|
+
# A pagination token returned from a previous call to `ListTagValues`
|
93
|
+
# that indicates from where listing should continue. This is currently not
|
94
|
+
# used, but the server may at any point start supplying a valid token.
|
95
|
+
class ListTagValuesResponse
|
96
|
+
include ::Google::Protobuf::MessageExts
|
97
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
98
|
+
end
|
99
|
+
|
100
|
+
# The request message for getting a TagValue.
|
101
|
+
# @!attribute [rw] name
|
102
|
+
# @return [::String]
|
103
|
+
# Required. Resource name for TagValue to be fetched in the format `tagValues/456`.
|
104
|
+
class GetTagValueRequest
|
105
|
+
include ::Google::Protobuf::MessageExts
|
106
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
107
|
+
end
|
108
|
+
|
109
|
+
# The request message for creating a TagValue.
|
110
|
+
# @!attribute [rw] tag_value
|
111
|
+
# @return [::Google::Cloud::ResourceManager::V3::TagValue]
|
112
|
+
# Required. The TagValue to be created. Only fields `short_name`, `description`,
|
113
|
+
# and `parent` are considered during the creation request.
|
114
|
+
# @!attribute [rw] validate_only
|
115
|
+
# @return [::Boolean]
|
116
|
+
# Optional. Set as true to perform the validations necessary for creating the resource,
|
117
|
+
# but not actually perform the action.
|
118
|
+
class CreateTagValueRequest
|
119
|
+
include ::Google::Protobuf::MessageExts
|
120
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
121
|
+
end
|
122
|
+
|
123
|
+
# Runtime operation information for creating a TagValue.
|
124
|
+
class CreateTagValueMetadata
|
125
|
+
include ::Google::Protobuf::MessageExts
|
126
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
127
|
+
end
|
128
|
+
|
129
|
+
# The request message for updating a TagValue.
|
130
|
+
# @!attribute [rw] tag_value
|
131
|
+
# @return [::Google::Cloud::ResourceManager::V3::TagValue]
|
132
|
+
# Required. The new definition of the TagValue. Only fields `description` and `etag`
|
133
|
+
# fields can be updated by this request. If the `etag` field is nonempty, it
|
134
|
+
# must match the `etag` field of the existing ControlGroup. Otherwise,
|
135
|
+
# `FAILED_PRECONDITION` will be returned.
|
136
|
+
# @!attribute [rw] update_mask
|
137
|
+
# @return [::Google::Protobuf::FieldMask]
|
138
|
+
# Optional. Fields to be updated.
|
139
|
+
# @!attribute [rw] validate_only
|
140
|
+
# @return [::Boolean]
|
141
|
+
# Optional. True to perform validations necessary for updating the resource, but not
|
142
|
+
# actually perform the action.
|
143
|
+
class UpdateTagValueRequest
|
144
|
+
include ::Google::Protobuf::MessageExts
|
145
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
146
|
+
end
|
147
|
+
|
148
|
+
# Runtime operation information for updating a TagValue.
|
149
|
+
class UpdateTagValueMetadata
|
150
|
+
include ::Google::Protobuf::MessageExts
|
151
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
152
|
+
end
|
153
|
+
|
154
|
+
# The request message for deleting a TagValue.
|
155
|
+
# @!attribute [rw] name
|
156
|
+
# @return [::String]
|
157
|
+
# Required. Resource name for TagValue to be deleted in the format tagValues/456.
|
158
|
+
# @!attribute [rw] validate_only
|
159
|
+
# @return [::Boolean]
|
160
|
+
# Optional. Set as true to perform the validations necessary for deletion, but not
|
161
|
+
# actually perform the action.
|
162
|
+
# @!attribute [rw] etag
|
163
|
+
# @return [::String]
|
164
|
+
# Optional. The etag known to the client for the expected state of the TagValue. This
|
165
|
+
# is to be used for optimistic concurrency.
|
166
|
+
class DeleteTagValueRequest
|
167
|
+
include ::Google::Protobuf::MessageExts
|
168
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
169
|
+
end
|
170
|
+
|
171
|
+
# Runtime operation information for deleting a TagValue.
|
172
|
+
class DeleteTagValueMetadata
|
173
|
+
include ::Google::Protobuf::MessageExts
|
174
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
175
|
+
end
|
176
|
+
end
|
177
|
+
end
|
178
|
+
end
|
179
|
+
end
|
@@ -0,0 +1,80 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 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
|
+
|
20
|
+
module Google
|
21
|
+
module Iam
|
22
|
+
module V1
|
23
|
+
# Request message for `SetIamPolicy` method.
|
24
|
+
# @!attribute [rw] resource
|
25
|
+
# @return [::String]
|
26
|
+
# REQUIRED: The resource for which the policy is being specified.
|
27
|
+
# See the operation documentation for the appropriate value for this field.
|
28
|
+
# @!attribute [rw] policy
|
29
|
+
# @return [::Google::Iam::V1::Policy]
|
30
|
+
# REQUIRED: The complete policy to be applied to the `resource`. The size of
|
31
|
+
# the policy is limited to a few 10s of KB. An empty policy is a
|
32
|
+
# valid policy but certain Cloud Platform services (such as Projects)
|
33
|
+
# might reject them.
|
34
|
+
class SetIamPolicyRequest
|
35
|
+
include ::Google::Protobuf::MessageExts
|
36
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
37
|
+
end
|
38
|
+
|
39
|
+
# Request message for `GetIamPolicy` method.
|
40
|
+
# @!attribute [rw] resource
|
41
|
+
# @return [::String]
|
42
|
+
# REQUIRED: The resource for which the policy is being requested.
|
43
|
+
# See the operation documentation for the appropriate value for this field.
|
44
|
+
# @!attribute [rw] options
|
45
|
+
# @return [::Google::Iam::V1::GetPolicyOptions]
|
46
|
+
# OPTIONAL: A `GetPolicyOptions` object for specifying options to
|
47
|
+
# `GetIamPolicy`. This field is only used by Cloud IAM.
|
48
|
+
class GetIamPolicyRequest
|
49
|
+
include ::Google::Protobuf::MessageExts
|
50
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
51
|
+
end
|
52
|
+
|
53
|
+
# Request message for `TestIamPermissions` method.
|
54
|
+
# @!attribute [rw] resource
|
55
|
+
# @return [::String]
|
56
|
+
# REQUIRED: The resource for which the policy detail is being requested.
|
57
|
+
# See the operation documentation for the appropriate value for this field.
|
58
|
+
# @!attribute [rw] permissions
|
59
|
+
# @return [::Array<::String>]
|
60
|
+
# The set of permissions to check for the `resource`. Permissions with
|
61
|
+
# wildcards (such as '*' or 'storage.*') are not allowed. For more
|
62
|
+
# information see
|
63
|
+
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
64
|
+
class TestIamPermissionsRequest
|
65
|
+
include ::Google::Protobuf::MessageExts
|
66
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
67
|
+
end
|
68
|
+
|
69
|
+
# Response message for `TestIamPermissions` method.
|
70
|
+
# @!attribute [rw] permissions
|
71
|
+
# @return [::Array<::String>]
|
72
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
73
|
+
# allowed.
|
74
|
+
class TestIamPermissionsResponse
|
75
|
+
include ::Google::Protobuf::MessageExts
|
76
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 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
|
+
|
20
|
+
module Google
|
21
|
+
module Iam
|
22
|
+
module V1
|
23
|
+
# Encapsulates settings provided to GetIamPolicy.
|
24
|
+
# @!attribute [rw] requested_policy_version
|
25
|
+
# @return [::Integer]
|
26
|
+
# Optional. The policy format version to be returned.
|
27
|
+
#
|
28
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
29
|
+
# rejected.
|
30
|
+
#
|
31
|
+
# Requests for policies with any conditional bindings must specify version 3.
|
32
|
+
# Policies without any conditional bindings may specify any valid value or
|
33
|
+
# leave the field unset.
|
34
|
+
class GetPolicyOptions
|
35
|
+
include ::Google::Protobuf::MessageExts
|
36
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|