[−][src]Struct google_iap1::MethodMethods
A builder providing access to all free methods, which are not associated with a particular resource.
It is not used directly, but through the CloudIAP
hub.
Example
Instantiate a resource builder
extern crate hyper; extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_iap1 as iap1; use std::default::Default; use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage}; use iap1::CloudIAP; let secret: ApplicationSecret = Default::default(); let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), <MemoryStorage as Default>::default(), None); let mut hub = CloudIAP::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* // like `get_iam_policy(...)`, `set_iam_policy(...)` and `test_iam_permissions(...)` // to build up your call. let rb = hub.methods();
Methods
impl<'a, C, A> MethodMethods<'a, C, A>
[src]
pub fn get_iam_policy(
&self,
request: GetIamPolicyRequest,
resource: &str
) -> MethodGetIamPolicyCall<'a, C, A>
[src]
&self,
request: GetIamPolicyRequest,
resource: &str
) -> MethodGetIamPolicyCall<'a, C, A>
Create a builder to help you perform the following task:
Gets the access control policy for an Identity-Aware Proxy protected resource. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
Arguments
request
- No description provided.resource
- REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
pub fn test_iam_permissions(
&self,
request: TestIamPermissionsRequest,
resource: &str
) -> MethodTestIamPermissionCall<'a, C, A>
[src]
&self,
request: TestIamPermissionsRequest,
resource: &str
) -> MethodTestIamPermissionCall<'a, C, A>
Create a builder to help you perform the following task:
Returns permissions that a caller has on the Identity-Aware Proxy protected resource. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
Arguments
request
- No description provided.resource
- REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
pub fn set_iam_policy(
&self,
request: SetIamPolicyRequest,
resource: &str
) -> MethodSetIamPolicyCall<'a, C, A>
[src]
&self,
request: SetIamPolicyRequest,
resource: &str
) -> MethodSetIamPolicyCall<'a, C, A>
Create a builder to help you perform the following task:
Sets the access control policy for an Identity-Aware Proxy protected resource. Replaces any existing policy. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
Arguments
request
- No description provided.resource
- REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.
Trait Implementations
impl<'a, C, A> MethodsBuilder for MethodMethods<'a, C, A>
[src]
Auto Trait Implementations
impl<'a, C, A> !Send for MethodMethods<'a, C, A>
impl<'a, C, A> Unpin for MethodMethods<'a, C, A>
impl<'a, C, A> !Sync for MethodMethods<'a, C, A>
impl<'a, C, A> !UnwindSafe for MethodMethods<'a, C, A>
impl<'a, C, A> !RefUnwindSafe for MethodMethods<'a, C, A>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,