Debian Codegraph @

docs/dyn/gkehub_v1beta.projects.locations.scopes.rbacrolebindings.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="gkehub_v1beta.html">GKE Hub API</a> . <a href="gkehub_v1beta.projects.html">projects</a> . <a href="gkehub_v1beta.projects.locations.html">locations</a> . <a href="gkehub_v1beta.projects.locations.scopes.html">scopes</a> . <a href="gkehub_v1beta.projects.locations.scopes.rbacrolebindings.html">rbacrolebindings</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(parent, body=None, rbacrolebindingId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a Scope RBACRoleBinding.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a Scope RBACRoleBinding.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Returns the details of a Scope RBACRoleBinding.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists all Scope RBACRoleBindings.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates a Scope RBACRoleBinding.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="create">create(parent, body=None, rbacrolebindingId=None, x__xgafv=None)</code>
106 <pre>Creates a Scope RBACRoleBinding.
107
108 Args:
109 parent: string, Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*/locations/*/scopes/*`. (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # RBACRoleBinding represents a rbacrolebinding across the Fleet
114 &quot;createTime&quot;: &quot;A String&quot;, # Output only. When the rbacrolebinding was created.
115 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the rbacrolebinding was deleted.
116 &quot;group&quot;: &quot;A String&quot;, # group is the group, as seen by the kubernetes cluster.
117 &quot;labels&quot;: { # Optional. Labels for this RBACRolebinding.
118 &quot;a_key&quot;: &quot;A String&quot;,
119 },
120 &quot;name&quot;: &quot;A String&quot;, # The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
121 &quot;role&quot;: { # Role is the type for Kubernetes roles # Required. Role to bind to the principal
122 &quot;customRole&quot;: &quot;A String&quot;, # Optional. custom_role is the name of a custom KubernetesClusterRole to use.
123 &quot;predefinedRole&quot;: &quot;A String&quot;, # predefined_role is the Kubernetes default role to use
124 },
125 &quot;state&quot;: { # RBACRoleBindingLifecycleState describes the state of a RbacRoleBinding resource. # Output only. State of the rbacrolebinding resource.
126 &quot;code&quot;: &quot;A String&quot;, # Output only. The current state of the rbacrolebinding resource.
127 },
128 &quot;uid&quot;: &quot;A String&quot;, # Output only. Google-generated UUID for this resource. This is unique across all rbacrolebinding resources. If a rbacrolebinding resource is deleted and another resource with the same name is created, it gets a different uid.
129 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the rbacrolebinding was last updated.
130 &quot;user&quot;: &quot;A String&quot;, # user is the name of the user as seen by the kubernetes cluster, example &quot;alice&quot; or &quot;[email protected]&quot;
131 }
132
133 rbacrolebindingId: string, Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
134 x__xgafv: string, V1 error format.
135 Allowed values
136 1 - v1 error format
137 2 - v2 error format
138
139 Returns:
140 An object of the form:
141
142 { # This resource represents a long-running operation that is the result of a network API call.
143 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
144 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
145 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
146 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
147 {
148 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
149 },
150 ],
151 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
152 },
153 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
154 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
155 },
156 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
157 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
158 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
159 },
160 }</pre>
161 </div>
162
163 <div class="method">
164 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
165 <pre>Deletes a Scope RBACRoleBinding.
166
167 Args:
168 name: string, Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/scopes/*/rbacrolebindings/*`. (required)
169 x__xgafv: string, V1 error format.
170 Allowed values
171 1 - v1 error format
172 2 - v2 error format
173
174 Returns:
175 An object of the form:
176
177 { # This resource represents a long-running operation that is the result of a network API call.
178 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
179 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
180 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
181 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
182 {
183 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
184 },
185 ],
186 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
187 },
188 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
189 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
190 },
191 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
192 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
193 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
194 },
195 }</pre>
196 </div>
197
198 <div class="method">
199 <code class="details" id="get">get(name, x__xgafv=None)</code>
200 <pre>Returns the details of a Scope RBACRoleBinding.
201
202 Args:
203 name: string, Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/scopes/*/rbacrolebindings/*`. (required)
204 x__xgafv: string, V1 error format.
205 Allowed values
206 1 - v1 error format
207 2 - v2 error format
208
209 Returns:
210 An object of the form:
211
212 { # RBACRoleBinding represents a rbacrolebinding across the Fleet
213 &quot;createTime&quot;: &quot;A String&quot;, # Output only. When the rbacrolebinding was created.
214 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the rbacrolebinding was deleted.
215 &quot;group&quot;: &quot;A String&quot;, # group is the group, as seen by the kubernetes cluster.
216 &quot;labels&quot;: { # Optional. Labels for this RBACRolebinding.
217 &quot;a_key&quot;: &quot;A String&quot;,
218 },
219 &quot;name&quot;: &quot;A String&quot;, # The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
220 &quot;role&quot;: { # Role is the type for Kubernetes roles # Required. Role to bind to the principal
221 &quot;customRole&quot;: &quot;A String&quot;, # Optional. custom_role is the name of a custom KubernetesClusterRole to use.
222 &quot;predefinedRole&quot;: &quot;A String&quot;, # predefined_role is the Kubernetes default role to use
223 },
224 &quot;state&quot;: { # RBACRoleBindingLifecycleState describes the state of a RbacRoleBinding resource. # Output only. State of the rbacrolebinding resource.
225 &quot;code&quot;: &quot;A String&quot;, # Output only. The current state of the rbacrolebinding resource.
226 },
227 &quot;uid&quot;: &quot;A String&quot;, # Output only. Google-generated UUID for this resource. This is unique across all rbacrolebinding resources. If a rbacrolebinding resource is deleted and another resource with the same name is created, it gets a different uid.
228 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the rbacrolebinding was last updated.
229 &quot;user&quot;: &quot;A String&quot;, # user is the name of the user as seen by the kubernetes cluster, example &quot;alice&quot; or &quot;[email protected]&quot;
230 }</pre>
231 </div>
232
233 <div class="method">
234 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
235 <pre>Lists all Scope RBACRoleBindings.
236
237 Args:
238 parent: string, Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*/scopes/*`. (required)
239 pageSize: integer, Optional. When requesting a &#x27;page&#x27; of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.
240 pageToken: string, Optional. Token returned by previous call to `ListScopeRBACRoleBindings` which specifies the position in the list from where to continue listing the resources.
241 x__xgafv: string, V1 error format.
242 Allowed values
243 1 - v1 error format
244 2 - v2 error format
245
246 Returns:
247 An object of the form:
248
249 { # List of Scope RBACRoleBindings.
250 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to request the next page of resources from the `ListScopeRBACRoleBindings` method. The value of an empty string means that there are no more resources to return.
251 &quot;rbacrolebindings&quot;: [ # The list of Scope RBACRoleBindings.
252 { # RBACRoleBinding represents a rbacrolebinding across the Fleet
253 &quot;createTime&quot;: &quot;A String&quot;, # Output only. When the rbacrolebinding was created.
254 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the rbacrolebinding was deleted.
255 &quot;group&quot;: &quot;A String&quot;, # group is the group, as seen by the kubernetes cluster.
256 &quot;labels&quot;: { # Optional. Labels for this RBACRolebinding.
257 &quot;a_key&quot;: &quot;A String&quot;,
258 },
259 &quot;name&quot;: &quot;A String&quot;, # The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
260 &quot;role&quot;: { # Role is the type for Kubernetes roles # Required. Role to bind to the principal
261 &quot;customRole&quot;: &quot;A String&quot;, # Optional. custom_role is the name of a custom KubernetesClusterRole to use.
262 &quot;predefinedRole&quot;: &quot;A String&quot;, # predefined_role is the Kubernetes default role to use
263 },
264 &quot;state&quot;: { # RBACRoleBindingLifecycleState describes the state of a RbacRoleBinding resource. # Output only. State of the rbacrolebinding resource.
265 &quot;code&quot;: &quot;A String&quot;, # Output only. The current state of the rbacrolebinding resource.
266 },
267 &quot;uid&quot;: &quot;A String&quot;, # Output only. Google-generated UUID for this resource. This is unique across all rbacrolebinding resources. If a rbacrolebinding resource is deleted and another resource with the same name is created, it gets a different uid.
268 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the rbacrolebinding was last updated.
269 &quot;user&quot;: &quot;A String&quot;, # user is the name of the user as seen by the kubernetes cluster, example &quot;alice&quot; or &quot;[email protected]&quot;
270 },
271 ],
272 }</pre>
273 </div>
274
275 <div class="method">
276 <code class="details" id="list_next">list_next()</code>
277 <pre>Retrieves the next page of results.
278
279 Args:
280 previous_request: The request for the previous page. (required)
281 previous_response: The response from the request for the previous page. (required)
282
283 Returns:
284 A request object that you can call &#x27;execute()&#x27; on to request the next
285 page. Returns None if there are no more items in the collection.
286 </pre>
287 </div>
288
289 <div class="method">
290 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
291 <pre>Updates a Scope RBACRoleBinding.
292
293 Args:
294 name: string, The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}` (required)
295 body: object, The request body.
296 The object takes the form of:
297
298 { # RBACRoleBinding represents a rbacrolebinding across the Fleet
299 &quot;createTime&quot;: &quot;A String&quot;, # Output only. When the rbacrolebinding was created.
300 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the rbacrolebinding was deleted.
301 &quot;group&quot;: &quot;A String&quot;, # group is the group, as seen by the kubernetes cluster.
302 &quot;labels&quot;: { # Optional. Labels for this RBACRolebinding.
303 &quot;a_key&quot;: &quot;A String&quot;,
304 },
305 &quot;name&quot;: &quot;A String&quot;, # The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
306 &quot;role&quot;: { # Role is the type for Kubernetes roles # Required. Role to bind to the principal
307 &quot;customRole&quot;: &quot;A String&quot;, # Optional. custom_role is the name of a custom KubernetesClusterRole to use.
308 &quot;predefinedRole&quot;: &quot;A String&quot;, # predefined_role is the Kubernetes default role to use
309 },
310 &quot;state&quot;: { # RBACRoleBindingLifecycleState describes the state of a RbacRoleBinding resource. # Output only. State of the rbacrolebinding resource.
311 &quot;code&quot;: &quot;A String&quot;, # Output only. The current state of the rbacrolebinding resource.
312 },
313 &quot;uid&quot;: &quot;A String&quot;, # Output only. Google-generated UUID for this resource. This is unique across all rbacrolebinding resources. If a rbacrolebinding resource is deleted and another resource with the same name is created, it gets a different uid.
314 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the rbacrolebinding was last updated.
315 &quot;user&quot;: &quot;A String&quot;, # user is the name of the user as seen by the kubernetes cluster, example &quot;alice&quot; or &quot;[email protected]&quot;
316 }
317
318 updateMask: string, Required. The fields to be updated.
319 x__xgafv: string, V1 error format.
320 Allowed values
321 1 - v1 error format
322 2 - v2 error format
323
324 Returns:
325 An object of the form:
326
327 { # This resource represents a long-running operation that is the result of a network API call.
328 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
329 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
330 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
331 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
332 {
333 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
334 },
335 ],
336 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
337 },
338 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
339 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
340 },
341 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
342 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
343 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
344 },
345 }</pre>
346 </div>
347
348 </body></html>