Struct google_api_proto::google::cloud::bigquery::v2::GetTableRequest
source · pub struct GetTableRequest {
pub project_id: String,
pub dataset_id: String,
pub table_id: String,
pub selected_fields: String,
pub view: i32,
}
Expand description
Request format for getting table metadata.
Fields§
§project_id: String
Required. Project ID of the requested table
dataset_id: String
Required. Dataset ID of the requested table
table_id: String
Required. Table ID of the requested table
selected_fields: String
List of table schema fields to return (comma-separated). If unspecified, all fields are returned. A fieldMask cannot be used here because the fields will automatically be converted from camelCase to snake_case and the conversion will fail if there are underscores. Since these are fields in BigQuery table schemas, underscores are allowed.
view: i32
Optional. Specifies the view that determines which table information is returned. By default, basic table information and storage statistics (STORAGE_STATS) are returned.
Implementations§
source§impl GetTableRequest
impl GetTableRequest
sourcepub fn view(&self) -> TableMetadataView
pub fn view(&self) -> TableMetadataView
Returns the enum value of view
, or the default if the field is set to an invalid enum value.
sourcepub fn set_view(&mut self, value: TableMetadataView)
pub fn set_view(&mut self, value: TableMetadataView)
Sets view
to the provided enum value.
Trait Implementations§
source§impl Clone for GetTableRequest
impl Clone for GetTableRequest
source§fn clone(&self) -> GetTableRequest
fn clone(&self) -> GetTableRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetTableRequest
impl Debug for GetTableRequest
source§impl Default for GetTableRequest
impl Default for GetTableRequest
source§impl Message for GetTableRequest
impl Message for GetTableRequest
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 GetTableRequest
impl PartialEq for GetTableRequest
source§fn eq(&self, other: &GetTableRequest) -> bool
fn eq(&self, other: &GetTableRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetTableRequest
Auto Trait Implementations§
impl Freeze for GetTableRequest
impl RefUnwindSafe for GetTableRequest
impl Send for GetTableRequest
impl Sync for GetTableRequest
impl Unpin for GetTableRequest
impl UnwindSafe for GetTableRequest
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