Struct google_api_proto::google::cloud::bigquery::v2::RowAccessPolicy
source · pub struct RowAccessPolicy {
pub etag: String,
pub row_access_policy_reference: Option<RowAccessPolicyReference>,
pub filter_predicate: String,
pub creation_time: Option<Timestamp>,
pub last_modified_time: Option<Timestamp>,
}
Expand description
Represents access on a subset of rows on the specified table, defined by its filter predicate. Access to the subset of rows is controlled by its IAM policy.
Fields§
§etag: String
Output only. A hash of this resource.
row_access_policy_reference: Option<RowAccessPolicyReference>
Required. Reference describing the ID of this row access policy.
filter_predicate: String
Required. A SQL boolean expression that represents the rows defined by this row access policy, similar to the boolean expression in a WHERE clause of a SELECT query on a table. References to other tables, routines, and temporary functions are not supported.
Examples: region=“EU” date_field = CAST(‘2019-9-27’ as DATE) nullable_field is not NULL numeric_field BETWEEN 1.0 AND 5.0
creation_time: Option<Timestamp>
Output only. The time when this row access policy was created, in milliseconds since the epoch.
last_modified_time: Option<Timestamp>
Output only. The time when this row access policy was last modified, in milliseconds since the epoch.
Trait Implementations§
source§impl Clone for RowAccessPolicy
impl Clone for RowAccessPolicy
source§fn clone(&self) -> RowAccessPolicy
fn clone(&self) -> RowAccessPolicy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RowAccessPolicy
impl Debug for RowAccessPolicy
source§impl Default for RowAccessPolicy
impl Default for RowAccessPolicy
source§impl Message for RowAccessPolicy
impl Message for RowAccessPolicy
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 RowAccessPolicy
impl PartialEq for RowAccessPolicy
source§fn eq(&self, other: &RowAccessPolicy) -> bool
fn eq(&self, other: &RowAccessPolicy) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RowAccessPolicy
Auto Trait Implementations§
impl Freeze for RowAccessPolicy
impl RefUnwindSafe for RowAccessPolicy
impl Send for RowAccessPolicy
impl Sync for RowAccessPolicy
impl Unpin for RowAccessPolicy
impl UnwindSafe for RowAccessPolicy
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