#[non_exhaustive]pub struct CreateAuthorizedViewRequest {
pub parent: String,
pub authorized_view_id: String,
pub authorized_view: Option<AuthorizedView>,
/* private fields */
}Expand description
The request for CreateAuthorizedView
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.parent: StringRequired. This is the name of the table the AuthorizedView belongs to.
Values are of the form
projects/{project}/instances/{instance}/tables/{table}.
Required. The id of the AuthorizedView to create. This AuthorizedView must
not already exist. The authorized_view_id appended to parent forms the
full AuthorizedView name of the form
projects/{project}/instances/{instance}/tables/{table}/authorizedView/{authorized_view}.
Required. The AuthorizedView to create.
Implementations§
Source§impl CreateAuthorizedViewRequest
impl CreateAuthorizedViewRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of authorized_view_id.
§Example
ⓘ
let x = CreateAuthorizedViewRequest::new().set_authorized_view_id("example");Sets the value of authorized_view.
§Example
ⓘ
use google_cloud_bigtable_admin_v2::model::AuthorizedView;
let x = CreateAuthorizedViewRequest::new().set_authorized_view(AuthorizedView::default()/* use setters */);Sets or clears the value of authorized_view.
§Example
ⓘ
use google_cloud_bigtable_admin_v2::model::AuthorizedView;
let x = CreateAuthorizedViewRequest::new().set_or_clear_authorized_view(Some(AuthorizedView::default()/* use setters */));
let x = CreateAuthorizedViewRequest::new().set_or_clear_authorized_view(None::<AuthorizedView>);Trait Implementations§
Source§impl Clone for CreateAuthorizedViewRequest
impl Clone for CreateAuthorizedViewRequest
Source§fn clone(&self) -> CreateAuthorizedViewRequest
fn clone(&self) -> CreateAuthorizedViewRequest
Returns a duplicate 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 CreateAuthorizedViewRequest
impl Debug for CreateAuthorizedViewRequest
Source§impl Default for CreateAuthorizedViewRequest
impl Default for CreateAuthorizedViewRequest
Source§fn default() -> CreateAuthorizedViewRequest
fn default() -> CreateAuthorizedViewRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for CreateAuthorizedViewRequest
Auto Trait Implementations§
impl Freeze for CreateAuthorizedViewRequest
impl RefUnwindSafe for CreateAuthorizedViewRequest
impl Send for CreateAuthorizedViewRequest
impl Sync for CreateAuthorizedViewRequest
impl Unpin for CreateAuthorizedViewRequest
impl UnwindSafe for CreateAuthorizedViewRequest
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