[−][src]Struct google_compute1::SslPolicyMethods
A builder providing access to all methods supported on sslPolicy resources.
It is not used directly, but through the Compute
hub.
Example
Instantiate a resource builder
extern crate hyper; extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_compute1 as compute1; use std::default::Default; use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage}; use compute1::Compute; 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 = Compute::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 `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `list_available_features(...)` and `patch(...)` // to build up your call. let rb = hub.ssl_policies();
Methods
impl<'a, C, A> SslPolicyMethods<'a, C, A>
[src]
pub fn get(&self, project: &str, ssl_policy: &str) -> SslPolicyGetCall<'a, C, A>
[src]
Create a builder to help you perform the following task:
Lists all of the ordered rules present in a single specified policy.
Arguments
project
- Project ID for this request.sslPolicy
- Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035.
pub fn list(&self, project: &str) -> SslPolicyListCall<'a, C, A>
[src]
Create a builder to help you perform the following task:
Lists all the SSL policies that have been configured for the specified project.
Arguments
project
- Project ID for this request.
pub fn insert(
&self,
request: SslPolicy,
project: &str
) -> SslPolicyInsertCall<'a, C, A>
[src]
&self,
request: SslPolicy,
project: &str
) -> SslPolicyInsertCall<'a, C, A>
Create a builder to help you perform the following task:
Returns the specified SSL policy resource. Gets a list of available SSL policies by making a list() request.
Arguments
request
- No description provided.project
- Project ID for this request.
pub fn list_available_features(
&self,
project: &str
) -> SslPolicyListAvailableFeatureCall<'a, C, A>
[src]
&self,
project: &str
) -> SslPolicyListAvailableFeatureCall<'a, C, A>
Create a builder to help you perform the following task:
Lists all features that can be specified in the SSL policy when using custom profile.
Arguments
project
- Project ID for this request.
pub fn patch(
&self,
request: SslPolicy,
project: &str,
ssl_policy: &str
) -> SslPolicyPatchCall<'a, C, A>
[src]
&self,
request: SslPolicy,
project: &str,
ssl_policy: &str
) -> SslPolicyPatchCall<'a, C, A>
Create a builder to help you perform the following task:
Patches the specified SSL policy with the data included in the request.
Arguments
request
- No description provided.project
- Project ID for this request.sslPolicy
- Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035.
pub fn delete(
&self,
project: &str,
ssl_policy: &str
) -> SslPolicyDeleteCall<'a, C, A>
[src]
&self,
project: &str,
ssl_policy: &str
) -> SslPolicyDeleteCall<'a, C, A>
Create a builder to help you perform the following task:
Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.
Arguments
project
- Project ID for this request.sslPolicy
- Name of the SSL policy to delete. The name must be 1-63 characters long, and comply with RFC1035.
Trait Implementations
impl<'a, C, A> MethodsBuilder for SslPolicyMethods<'a, C, A>
[src]
Auto Trait Implementations
impl<'a, C, A> !Send for SslPolicyMethods<'a, C, A>
impl<'a, C, A> Unpin for SslPolicyMethods<'a, C, A>
impl<'a, C, A> !Sync for SslPolicyMethods<'a, C, A>
impl<'a, C, A> !UnwindSafe for SslPolicyMethods<'a, C, A>
impl<'a, C, A> !RefUnwindSafe for SslPolicyMethods<'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,