Struct google_api_proto::google::cloud::functions::v1::OperationMetadataV1
source · 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,
pub source_token: String,
pub build_name: String,
}
Expand description
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.
source_token: String
An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
build_name: String
The Cloud Build Name of the function deployment.
This field is only populated for Create and Update operations.
projects/<project-number>/locations/<region>/builds/<build-id>
.
Implementations§
source§impl OperationMetadataV1
impl OperationMetadataV1
sourcepub fn type(&self) -> OperationType
pub fn type(&self) -> OperationType
Returns the enum value of type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_type(&mut self, value: OperationType)
pub fn set_type(&mut self, value: OperationType)
Sets type
to the provided enum value.
Trait Implementations§
source§impl Clone for OperationMetadataV1
impl Clone for OperationMetadataV1
source§fn clone(&self) -> OperationMetadataV1
fn clone(&self) -> OperationMetadataV1
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OperationMetadataV1
impl Debug for OperationMetadataV1
source§impl Default for OperationMetadataV1
impl Default for OperationMetadataV1
source§impl Message for OperationMetadataV1
impl Message for OperationMetadataV1
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for OperationMetadataV1
impl PartialEq for OperationMetadataV1
source§fn eq(&self, other: &OperationMetadataV1) -> bool
fn eq(&self, other: &OperationMetadataV1) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OperationMetadataV1
Auto Trait Implementations§
impl Freeze for OperationMetadataV1
impl RefUnwindSafe for OperationMetadataV1
impl Send for OperationMetadataV1
impl Sync for OperationMetadataV1
impl Unpin for OperationMetadataV1
impl UnwindSafe for OperationMetadataV1
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request