Struct gapi_grpc::google::cloud::functions::v1::OperationMetadataV1[][src]

pub struct OperationMetadataV1 {
    pub target: String,
    pub type: i32,
    pub request: Option<Any>,
    pub version_id: i64,
    pub update_time: Option<Timestamp>,
    pub build_id: String,
}

Metadata describing an [Operation][google.longrunning.Operation]

Fields

target: String

Target of the operation - for example projects/project-1/locations/region-1/functions/function-1

type: i32

Type of operation.

request: Option<Any>

The original request that started the operation.

version_id: i64

Version id of the function created or updated by an API call. This field is only populated for Create and Update operations.

update_time: Option<Timestamp>

The last update timestamp of the operation.

build_id: String

The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations.

Implementations

impl OperationMetadataV1[src]

pub fn type(&self) -> OperationType[src]

Returns the enum value of type, or the default if the field is set to an invalid enum value.

pub fn set_type(&mut self, value: OperationType)[src]

Sets type to the provided enum value.

Trait Implementations

impl Clone for OperationMetadataV1[src]

impl Debug for OperationMetadataV1[src]

impl Default for OperationMetadataV1[src]

impl Message for OperationMetadataV1[src]

impl PartialEq<OperationMetadataV1> for OperationMetadataV1[src]

impl StructuralPartialEq for OperationMetadataV1[src]

Auto Trait Implementations

impl RefUnwindSafe for OperationMetadataV1

impl Send for OperationMetadataV1

impl Sync for OperationMetadataV1

impl Unpin for OperationMetadataV1

impl UnwindSafe for OperationMetadataV1

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]