pub struct GoogleLongrunningOperation {
pub done: Option<bool>,
pub response: Option<HashMap<String, Value>>,
pub name: Option<String>,
pub error: Option<GoogleRpcStatus>,
pub metadata: Option<HashMap<String, Value>>,
}Expand description
This resource represents a long-running operation that is the result of a network API call.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations data labeling jobs operations wait projects (response)
- locations data labeling jobs operations get projects (response)
- locations data labeling jobs delete projects (response)
- locations notebook execution jobs operations wait projects (response)
- locations notebook execution jobs operations get projects (response)
- locations notebook execution jobs create projects (response)
- locations notebook execution jobs delete projects (response)
- locations training pipelines operations wait projects (response)
- locations training pipelines operations get projects (response)
- locations training pipelines delete projects (response)
- locations indexes operations get projects (response)
- locations indexes operations wait projects (response)
- locations indexes delete projects (response)
- locations indexes patch projects (response)
- locations indexes create projects (response)
- locations studies trials operations get projects (response)
- locations studies trials operations wait projects (response)
- locations studies trials check trial early stopping state projects (response)
- locations studies trials suggest projects (response)
- locations studies operations wait projects (response)
- locations studies operations get projects (response)
- locations migratable resources operations wait projects (response)
- locations migratable resources operations get projects (response)
- locations migratable resources batch migrate projects (response)
- locations nas jobs delete projects (response)
- locations schedules operations get projects (response)
- locations schedules operations wait projects (response)
- locations schedules delete projects (response)
- locations tensorboards operations wait projects (response)
- locations tensorboards operations get projects (response)
- locations tensorboards experiments runs time series operations wait projects (response)
- locations tensorboards experiments runs time series operations get projects (response)
- locations tensorboards experiments runs time series delete projects (response)
- locations tensorboards experiments runs operations get projects (response)
- locations tensorboards experiments runs operations wait projects (response)
- locations tensorboards experiments runs delete projects (response)
- locations tensorboards experiments operations get projects (response)
- locations tensorboards experiments operations wait projects (response)
- locations tensorboards experiments delete projects (response)
- locations tensorboards delete projects (response)
- locations tensorboards create projects (response)
- locations tensorboards patch projects (response)
- locations feature groups operations wait projects (response)
- locations feature groups operations get projects (response)
- locations feature groups features operations wait projects (response)
- locations feature groups features operations get projects (response)
- locations feature groups features patch projects (response)
- locations feature groups features create projects (response)
- locations feature groups features delete projects (response)
- locations feature groups delete projects (response)
- locations feature groups patch projects (response)
- locations feature groups create projects (response)
- locations feature online stores feature views operations get projects (response)
- locations feature online stores feature views operations wait projects (response)
- locations feature online stores feature views patch projects (response)
- locations feature online stores feature views create projects (response)
- locations feature online stores feature views delete projects (response)
- locations feature online stores operations get projects (response)
- locations feature online stores operations wait projects (response)
- locations feature online stores patch projects (response)
- locations feature online stores create projects (response)
- locations feature online stores delete projects (response)
- locations index endpoints operations get projects (response)
- locations index endpoints operations wait projects (response)
- locations index endpoints mutate deployed index projects (response)
- locations index endpoints undeploy index projects (response)
- locations index endpoints deploy index projects (response)
- locations index endpoints delete projects (response)
- locations index endpoints create projects (response)
- locations endpoints operations get projects (response)
- locations endpoints operations wait projects (response)
- locations endpoints undeploy model projects (response)
- locations endpoints deploy model projects (response)
- locations endpoints delete projects (response)
- locations endpoints mutate deployed model projects (response)
- locations endpoints create projects (response)
- locations specialist pools operations get projects (response)
- locations specialist pools operations wait projects (response)
- locations specialist pools patch projects (response)
- locations specialist pools delete projects (response)
- locations specialist pools create projects (response)
- locations custom jobs operations get projects (response)
- locations custom jobs operations wait projects (response)
- locations custom jobs delete projects (response)
- locations model deployment monitoring jobs operations get projects (response)
- locations model deployment monitoring jobs operations wait projects (response)
- locations model deployment monitoring jobs patch projects (response)
- locations model deployment monitoring jobs delete projects (response)
- locations datasets data items operations wait projects (response)
- locations datasets data items operations get projects (response)
- locations datasets data items annotations operations get projects (response)
- locations datasets data items annotations operations wait projects (response)
- locations datasets annotation specs operations wait projects (response)
- locations datasets annotation specs operations get projects (response)
- locations datasets dataset versions delete projects (response)
- locations datasets dataset versions create projects (response)
- locations datasets dataset versions restore projects (response)
- locations datasets saved queries operations wait projects (response)
- locations datasets saved queries operations get projects (response)
- locations datasets saved queries delete projects (response)
- locations datasets operations wait projects (response)
- locations datasets operations get projects (response)
- locations datasets delete projects (response)
- locations datasets export projects (response)
- locations datasets import projects (response)
- locations datasets create projects (response)
- locations featurestores operations wait projects (response)
- locations featurestores operations get projects (response)
- locations featurestores entity types operations get projects (response)
- locations featurestores entity types operations wait projects (response)
- locations featurestores entity types features operations get projects (response)
- locations featurestores entity types features operations wait projects (response)
- locations featurestores entity types features delete projects (response)
- locations featurestores entity types features create projects (response)
- locations featurestores entity types features batch create projects (response)
- locations featurestores entity types delete projects (response)
- locations featurestores entity types export feature values projects (response)
- locations featurestores entity types create projects (response)
- locations featurestores entity types delete feature values projects (response)
- locations featurestores entity types import feature values projects (response)
- locations featurestores patch projects (response)
- locations featurestores create projects (response)
- locations featurestores delete projects (response)
- locations featurestores batch read feature values projects (response)
- locations notebook runtimes operations wait projects (response)
- locations notebook runtimes operations get projects (response)
- locations notebook runtimes upgrade projects (response)
- locations notebook runtimes delete projects (response)
- locations notebook runtimes start projects (response)
- locations notebook runtimes assign projects (response)
- locations metadata stores executions operations wait projects (response)
- locations metadata stores executions operations get projects (response)
- locations metadata stores executions purge projects (response)
- locations metadata stores executions delete projects (response)
- locations metadata stores contexts operations get projects (response)
- locations metadata stores contexts operations wait projects (response)
- locations metadata stores contexts delete projects (response)
- locations metadata stores contexts purge projects (response)
- locations metadata stores artifacts operations wait projects (response)
- locations metadata stores artifacts operations get projects (response)
- locations metadata stores artifacts delete projects (response)
- locations metadata stores artifacts purge projects (response)
- locations metadata stores operations get projects (response)
- locations metadata stores operations wait projects (response)
- locations metadata stores delete projects (response)
- locations metadata stores create projects (response)
- locations operations wait projects (response)
- locations operations get projects (response)
- locations hyperparameter tuning jobs operations get projects (response)
- locations hyperparameter tuning jobs operations wait projects (response)
- locations hyperparameter tuning jobs delete projects (response)
- locations persistent resources operations get projects (response)
- locations persistent resources operations wait projects (response)
- locations persistent resources patch projects (response)
- locations persistent resources reboot projects (response)
- locations persistent resources delete projects (response)
- locations persistent resources create projects (response)
- locations models evaluations operations wait projects (response)
- locations models evaluations operations get projects (response)
- locations models operations wait projects (response)
- locations models operations get projects (response)
- locations models delete projects (response)
- locations models update explanation dataset projects (response)
- locations models copy projects (response)
- locations models upload projects (response)
- locations models export projects (response)
- locations models delete version projects (response)
- locations notebook runtime templates operations get projects (response)
- locations notebook runtime templates operations wait projects (response)
- locations notebook runtime templates create projects (response)
- locations notebook runtime templates delete projects (response)
- locations batch prediction jobs delete projects (response)
- locations tuning jobs operations get projects (response)
- locations deployment resource pools operations get projects (response)
- locations deployment resource pools operations wait projects (response)
- locations deployment resource pools patch projects (response)
- locations deployment resource pools create projects (response)
- locations deployment resource pools delete projects (response)
- locations pipeline jobs operations get projects (response)
- locations pipeline jobs operations wait projects (response)
- locations pipeline jobs delete projects (response)
- locations pipeline jobs batch delete projects (response)
- locations pipeline jobs batch cancel projects (response)
Fields§
§done: Option<bool>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.
response: Option<HashMap<String, Value>>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.
name: Option<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}.
error: Option<GoogleRpcStatus>The error result of the operation in case of failure or cancellation.
metadata: Option<HashMap<String, Value>>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.
Trait Implementations§
Source§impl Clone for GoogleLongrunningOperation
impl Clone for GoogleLongrunningOperation
Source§fn clone(&self) -> GoogleLongrunningOperation
fn clone(&self) -> GoogleLongrunningOperation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GoogleLongrunningOperation
impl Debug for GoogleLongrunningOperation
Source§impl Default for GoogleLongrunningOperation
impl Default for GoogleLongrunningOperation
Source§fn default() -> GoogleLongrunningOperation
fn default() -> GoogleLongrunningOperation
Source§impl<'de> Deserialize<'de> for GoogleLongrunningOperation
impl<'de> Deserialize<'de> for GoogleLongrunningOperation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl ResponseResult for GoogleLongrunningOperation
Auto Trait Implementations§
impl Freeze for GoogleLongrunningOperation
impl RefUnwindSafe for GoogleLongrunningOperation
impl Send for GoogleLongrunningOperation
impl Sync for GoogleLongrunningOperation
impl Unpin for GoogleLongrunningOperation
impl UnwindSafe for GoogleLongrunningOperation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more