[][src]Struct google_compute1::TargetHttpsProxyMethods

pub struct TargetHttpsProxyMethods<'a, C, A> where
    C: 'a,
    A: 'a, 
{ /* fields omitted */ }

A builder providing access to all methods supported on targetHttpsProxy 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(...)`, `set_quic_override(...)`, `set_ssl_certificates(...)`, `set_ssl_policy(...)` and `set_url_map(...)`
// to build up your call.
let rb = hub.target_https_proxies();

Methods

impl<'a, C, A> TargetHttpsProxyMethods<'a, C, A>[src]

pub fn get(
    &self,
    project: &str,
    target_https_proxy: &str
) -> TargetHttpsProxyGetCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Returns the specified TargetHttpsProxy resource. Gets a list of available target HTTPS proxies by making a list() request.

Arguments

  • project - Project ID for this request.
  • targetHttpsProxy - Name of the TargetHttpsProxy resource to return.

pub fn set_quic_override(
    &self,
    request: TargetHttpsProxiesSetQuicOverrideRequest,
    project: &str,
    target_https_proxy: &str
) -> TargetHttpsProxySetQuicOverrideCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Sets the QUIC override policy for TargetHttpsProxy.

Arguments

  • request - No description provided.
  • project - Project ID for this request.
  • targetHttpsProxy - Name of the TargetHttpsProxy resource to set the QUIC override policy for. The name should conform to RFC1035.

pub fn list(&self, project: &str) -> TargetHttpsProxyListCall<'a, C, A>[src]

Create a builder to help you perform the following task:

Retrieves the list of TargetHttpsProxy resources available to the specified project.

Arguments

  • project - Project ID for this request.

pub fn delete(
    &self,
    project: &str,
    target_https_proxy: &str
) -> TargetHttpsProxyDeleteCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Deletes the specified TargetHttpsProxy resource.

Arguments

  • project - Project ID for this request.
  • targetHttpsProxy - Name of the TargetHttpsProxy resource to delete.

pub fn set_url_map(
    &self,
    request: UrlMapReference,
    project: &str,
    target_https_proxy: &str
) -> TargetHttpsProxySetUrlMapCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Changes the URL map for TargetHttpsProxy.

Arguments

  • request - No description provided.
  • project - Project ID for this request.
  • targetHttpsProxy - Name of the TargetHttpsProxy resource whose URL map is to be set.

pub fn insert(
    &self,
    request: TargetHttpsProxy,
    project: &str
) -> TargetHttpsProxyInsertCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Creates a TargetHttpsProxy resource in the specified project using the data included in the request.

Arguments

  • request - No description provided.
  • project - Project ID for this request.

pub fn set_ssl_certificates(
    &self,
    request: TargetHttpsProxiesSetSslCertificatesRequest,
    project: &str,
    target_https_proxy: &str
) -> TargetHttpsProxySetSslCertificateCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Replaces SslCertificates for TargetHttpsProxy.

Arguments

  • request - No description provided.
  • project - Project ID for this request.
  • targetHttpsProxy - Name of the TargetHttpsProxy resource to set an SslCertificates resource for.

pub fn set_ssl_policy(
    &self,
    request: SslPolicyReference,
    project: &str,
    target_https_proxy: &str
) -> TargetHttpsProxySetSslPolicyCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the HTTPS proxy load balancer. They do not affect the connection between the load balancer and the backends.

Arguments

  • request - No description provided.
  • project - Project ID for this request.
  • targetHttpsProxy - Name of the TargetHttpsProxy resource whose SSL policy is to be set. The name must be 1-63 characters long, and comply with RFC1035.

Trait Implementations

impl<'a, C, A> MethodsBuilder for TargetHttpsProxyMethods<'a, C, A>[src]

Auto Trait Implementations

impl<'a, C, A> !Send for TargetHttpsProxyMethods<'a, C, A>

impl<'a, C, A> Unpin for TargetHttpsProxyMethods<'a, C, A>

impl<'a, C, A> !Sync for TargetHttpsProxyMethods<'a, C, A>

impl<'a, C, A> !UnwindSafe for TargetHttpsProxyMethods<'a, C, A>

impl<'a, C, A> !RefUnwindSafe for TargetHttpsProxyMethods<'a, C, A>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.