Enum google_api_proto::google::cloud::asset::v1p7beta1::gcs_destination::ObjectUri
source · pub enum ObjectUri {
Uri(String),
UriPrefix(String),
}
Expand description
Required.
Variants§
Uri(String)
The URI of the Cloud Storage object. It’s the same URI that is used by gsutil. Example: “gs://bucket_name/object_name”. See Viewing and Editing Object Metadata for more information.
UriPrefix(String)
The URI prefix of all generated Cloud Storage objects. Example:
“gs://bucket_name/object_name_prefix”. Each object URI is in format:
“gs://bucket_name/object_name_prefix/{ASSET_TYPE}/{SHARD_NUMBER} and only
contains assets for that type.
Implementations§
source§impl ObjectUri
impl ObjectUri
sourcepub fn merge(
field: &mut Option<ObjectUri>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<ObjectUri>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl PartialEq for ObjectUri
impl PartialEq for ObjectUri
impl StructuralPartialEq for ObjectUri
Auto Trait Implementations§
impl Freeze for ObjectUri
impl RefUnwindSafe for ObjectUri
impl Send for ObjectUri
impl Sync for ObjectUri
impl Unpin for ObjectUri
impl UnwindSafe for ObjectUri
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