Lists the TagBindings for the given cloud resource, as specified with
parent
. NOTE: The parent
field is expected to be a full resource
name:
https://cloud.google.com/apis/design/resource_names#full_resource_name
Arguments
Parameters | |
---|---|
pageSize |
Optional. The maximum number of TagBindings to return in the response. The server allows a maximum of 300 TagBindings to return. If unspecified, the server will use 100 as the default. |
pageToken |
Optional. A pagination token returned from a previous call to |
parent |
Required. The full resource name of a resource for which you want to list existing TagBindings. E.g. "//cloudresourcemanager.googleapis.com/projects/123" |
Raised exceptions
Exceptions | |
---|---|
ConnectionError |
In case of a network problem (such as DNS failure or refused connection). |
HttpError |
If the response status is >= 400 (excluding 429 and 503). |
TimeoutError |
If a long-running operation takes longer to finish than the specified timeout limit. |
TypeError |
If an operation or function receives an argument of the wrong type. |
ValueError |
If an operation or function receives an argument of the right type but an inappropriate value. For example, a negative timeout. |
Response
If successful, the response contains an instance of ListTagBindingsResponse
.
Subworkflow snippet
Some fields might be optional or required. To identify required fields, refer to the API documentation.
YAML
- list: call: googleapis.cloudresourcemanager.v3.tagBindings.list args: pageSize: ... pageToken: ... parent: ... result: listResult
JSON
[ { "list": { "call": "googleapis.cloudresourcemanager.v3.tagBindings.list", "args": { "pageSize": "...", "pageToken": "...", "parent": "..." }, "result": "listResult" } } ]