pub struct QueryTestablePermissionsRequest {
pub full_resource_name: Option<String>,
pub page_size: Option<i32>,
pub page_token: Option<String>,
}Expand description
A request to get permissions which can be tested on a resource.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- query testable permissions permissions (request)
Fields§
§full_resource_name: Option<String>Required. The full resource name to query from the list of testable permissions. The name follows the Google Cloud Platform resource format. For example, a Cloud Platform project with id my-project will be named //cloudresourcemanager.googleapis.com/projects/my-project.
page_size: Option<i32>Optional limit on the number of permissions to include in the response. The default is 100, and the maximum is 1,000.
page_token: Option<String>Optional pagination token returned in an earlier QueryTestablePermissionsRequest.
Trait Implementations§
Source§impl Clone for QueryTestablePermissionsRequest
impl Clone for QueryTestablePermissionsRequest
Source§fn clone(&self) -> QueryTestablePermissionsRequest
fn clone(&self) -> QueryTestablePermissionsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for QueryTestablePermissionsRequest
impl Default for QueryTestablePermissionsRequest
Source§fn default() -> QueryTestablePermissionsRequest
fn default() -> QueryTestablePermissionsRequest
Source§impl<'de> Deserialize<'de> for QueryTestablePermissionsRequest
impl<'de> Deserialize<'de> for QueryTestablePermissionsRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for QueryTestablePermissionsRequest
Auto Trait Implementations§
impl Freeze for QueryTestablePermissionsRequest
impl RefUnwindSafe for QueryTestablePermissionsRequest
impl Send for QueryTestablePermissionsRequest
impl Sync for QueryTestablePermissionsRequest
impl Unpin for QueryTestablePermissionsRequest
impl UnwindSafe for QueryTestablePermissionsRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more