Enum google_api_proto::google::cloud::dataplex::v1::data_attribute_binding::ResourceReference
source · pub enum ResourceReference {
Resource(String),
}
Expand description
The reference to the resource that is associated to attributes, or the query to match resources and associate attributes.
Variants§
Resource(String)
Optional. Immutable. The resource name of the resource that is associated to attributes. Presently, only entity resource is supported in the form: projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity_id} Must belong in the same project and region as the attribute binding, and there can only exist one active binding for a resource.
Implementations§
source§impl ResourceReference
impl ResourceReference
sourcepub fn merge(
field: &mut Option<ResourceReference>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<ResourceReference>, 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 Clone for ResourceReference
impl Clone for ResourceReference
source§fn clone(&self) -> ResourceReference
fn clone(&self) -> ResourceReference
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ResourceReference
impl Debug for ResourceReference
source§impl PartialEq for ResourceReference
impl PartialEq for ResourceReference
source§fn eq(&self, other: &ResourceReference) -> bool
fn eq(&self, other: &ResourceReference) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResourceReference
Auto Trait Implementations§
impl Freeze for ResourceReference
impl RefUnwindSafe for ResourceReference
impl Send for ResourceReference
impl Sync for ResourceReference
impl Unpin for ResourceReference
impl UnwindSafe for ResourceReference
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
Mutably borrows from an owned value. Read more
§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>
Wrap the input message
T
in a tonic::Request