You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="firstline">Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.</p>
<pclass="firstline">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.</p>
<pre>Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.
93
+
94
+
Args:
95
+
name: string, The name of the operation resource to be cancelled. (required)
96
+
body: object, The request body.
97
+
The object takes the form of:
98
+
99
+
{ # The request message for Operations.CancelOperation.
100
+
}
101
+
102
+
x__xgafv: string, V1 error format.
103
+
Allowed values
104
+
1 - v1 error format
105
+
2 - v2 error format
106
+
107
+
Returns:
108
+
An object of the form:
109
+
110
+
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for Empty is empty JSON object {}.
<pre>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.
122
+
123
+
Args:
124
+
name: string, The name of the operation's parent resource. (required)
125
+
filter: string, The standard list filter.
126
+
pageSize: integer, The standard list page size.
127
+
pageToken: string, The standard list page token.
128
+
x__xgafv: string, V1 error format.
129
+
Allowed values
130
+
1 - v1 error format
131
+
2 - v2 error format
132
+
133
+
Returns:
134
+
An object of the form:
135
+
136
+
{ # The response message for Operations.ListOperations.
137
+
"nextPageToken": "A String", # The standard List next-page token.
138
+
"operations": [ # A list of operations that matches the specified filter in the request.
139
+
{ # This resource represents a long-running operation that is the result of a network API call.
140
+
"done": 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.
141
+
"error": { # 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.
142
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
143
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
144
+
{
145
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
146
+
},
147
+
],
148
+
"message": "A 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.
149
+
},
150
+
"metadata": { # 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.
151
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
152
+
},
153
+
"name": "A 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 name should be a resource name ending with operations/{unique_id}.
154
+
"response": { # The normal response of the operation in case of success. 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.
155
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
<pclass="firstline">Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.</p>
<pre>Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
92
+
93
+
Args:
94
+
name: string, The name of the operation resource. (required)
95
+
x__xgafv: string, V1 error format.
96
+
Allowed values
97
+
1 - v1 error format
98
+
2 - v2 error format
99
+
100
+
Returns:
101
+
An object of the form:
102
+
103
+
{ # This resource represents a long-running operation that is the result of a network API call.
104
+
"done": 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.
105
+
"error": { # 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.
106
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
107
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
108
+
{
109
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
110
+
},
111
+
],
112
+
"message": "A 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.
113
+
},
114
+
"metadata": { # 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.
115
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
116
+
},
117
+
"name": "A 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 name should be a resource name ending with operations/{unique_id}.
118
+
"response": { # The normal response of the operation in case of success. 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.
119
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
<pclass="firstline">Lists log entries. Use this method to retrieve log entries that originated from a project/folder/organization/billing account. For ways to export log entries, see Exporting Logs (https://cloud.google.com/logging/docs/export).</p>
<pre>Copies a set of log entries from a logging bucket to a Cloud Storage bucket.
104
+
105
+
Args:
106
+
body: object, The request body.
107
+
The object takes the form of:
108
+
109
+
{ # The parameters to CopyLogEntries.
110
+
"destination": "A String", # Required. Destination to which to copy logs.
111
+
"filter": "A String", # Optional. A filter specifying which log entries to copy. The filter must be no more than 20k characters. An empty filter matches all log entries.
112
+
"name": "A String", # Required. Bucket from which to copy logs. e.g. "projects/my-project/locations/my-location/buckets/my-source-bucket
113
+
}
114
+
115
+
x__xgafv: string, V1 error format.
116
+
Allowed values
117
+
1 - v1 error format
118
+
2 - v2 error format
119
+
120
+
Returns:
121
+
An object of the form:
122
+
123
+
{ # This resource represents a long-running operation that is the result of a network API call.
124
+
"done": 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.
125
+
"error": { # 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.
126
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
127
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
128
+
{
129
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
130
+
},
131
+
],
132
+
"message": "A 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.
133
+
},
134
+
"metadata": { # 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.
135
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
136
+
},
137
+
"name": "A 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 name should be a resource name ending with operations/{unique_id}.
138
+
"response": { # The normal response of the operation in case of success. 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.
139
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
<pre>Lists log entries. Use this method to retrieve log entries that originated from a project/folder/organization/billing account. For ways to export log entries, see Exporting Logs (https://cloud.google.com/logging/docs/export).
0 commit comments