List
|
|||||
|
|
Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
.
NOTE: the name
binding allows API services to override the binding
to use different resource name schemes, such as users/*/operations
. To
override the binding, API services can add a binding such as
"/v1/{name=users/*}/operations"
to their service configuration.
For backwards compatibility, the default name includes the operations
collection id, however overriding users must ensure the name binding
is the parent resource, without the operations collection id
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- View and manage your data across Google Cloud Platform services
Input
This building block consumes 4 input parameters
Name | Format | Description |
---|---|---|
name Required |
STRING |
The name of the operation's parent resource |
filter |
STRING |
The standard list filter |
pageToken |
STRING |
The standard list page token |
pageSize |
INTEGER |
The standard list page size |
= Parameter name
= Format
name STRING Required The name of the operation's parent resource |
filter STRING The standard list filter |
pageToken STRING The standard list page token |
pageSize INTEGER The standard list page size |
Output
This building block provides 13 output parameters
Name | Format | Description |
---|---|---|
operations[] |
OBJECT |
This resource represents a long-running operation that is the result of a network API call |
operations[].response |
OBJECT |
The normal response of the operation in case of success. If the original
method returns no data on success, such as |
operations[].response.customKey.value |
ANY |
The normal response of the operation in case of success. If the original
method returns no data on success, such as |
operations[].name |
STRING |
The server-assigned name, which is only unique within the same service that
originally returns it. If you use the default HTTP mapping, the
|
operations[].error |
OBJECT |
The You can find out more about this error model and how to work with it in the API Design Guide |
operations[].error.message |
STRING |
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 |
operations[].error.details[] |
OBJECT |
|
operations[].error.details[].customKey.value |
ANY |
|
operations[].error.code |
INTEGER |
The status code, which should be an enum value of google.rpc.Code |
operations[].metadata |
OBJECT |
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 |
operations[].metadata.customKey.value |
ANY |
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 |
operations[].done |
BOOLEAN |
If the value is |
nextPageToken |
STRING |
The standard List next-page token |
= Parameter name
= Format
operations[] OBJECT This resource represents a long-running operation that is the result of a network API call |
operations[].response OBJECT The normal response of the operation in case of success. If the original
method returns no data on success, such as |
operations[].response.customKey.value ANY The normal response of the operation in case of success. If the original
method returns no data on success, such as |
operations[].name STRING The server-assigned name, which is only unique within the same service that
originally returns it. If you use the default HTTP mapping, the
|
operations[].error OBJECT The You can find out more about this error model and how to work with it in the API Design Guide |
operations[].error.message STRING 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 |
operations[].error.details[] OBJECT |
operations[].error.details[].customKey.value ANY |
operations[].error.code INTEGER The status code, which should be an enum value of google.rpc.Code |
operations[].metadata OBJECT 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 |
operations[].metadata.customKey.value ANY 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 |
operations[].done BOOLEAN If the value is |
nextPageToken STRING The standard List next-page token |