[][src]Struct google_prod_tt_sasportal1_alpha1::CustomerMethods

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

A builder providing access to all methods supported on customer resources. It is not used directly, but through the SASPortalTesting hub.

Example

Instantiate a resource builder

extern crate hyper;
extern crate hyper_rustls;
extern crate yup_oauth2 as oauth2;
extern crate google_prod_tt_sasportal1_alpha1 as prod_tt_sasportal1_alpha1;
 
use std::default::Default;
use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage};
use prod_tt_sasportal1_alpha1::SASPortalTesting;
 
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 = SASPortalTesting::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 `deployments_create(...)`, `deployments_delete(...)`, `deployments_get(...)`, `deployments_list(...)`, `deployments_patch(...)`, `devices_bulk(...)`, `devices_create(...)`, `devices_create_signed(...)`, `devices_delete(...)`, `devices_get(...)`, `devices_list(...)`, `devices_move(...)`, `devices_patch(...)`, `devices_sign_device(...)`, `devices_update_signed(...)`, `get(...)`, `list(...)`, `nodes_create(...)`, `nodes_delete(...)`, `nodes_deployments_create(...)`, `nodes_deployments_list(...)`, `nodes_get(...)`, `nodes_list(...)`, `nodes_move(...)`, `nodes_nodes_create(...)`, `nodes_nodes_list(...)`, `nodes_patch(...)` and `patch(...)`
// to build up your call.
let rb = hub.customers();

Implementations

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

pub fn nodes_nodes_create(
    &self,
    request: SasPortalNode,
    parent: &str
) -> CustomerNodeNodeCreateCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Creates a new node.

Arguments

  • request - No description provided.
  • parent - Required. The parent resource name where the node is to be created.

pub fn nodes_nodes_list(
    &self,
    parent: &str
) -> CustomerNodeNodeListCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Lists nodes.

Arguments

  • parent - Required. The parent resource name, for example, "nodes/1".

pub fn nodes_move(
    &self,
    request: SasPortalMoveNodeRequest,
    name: &str
) -> CustomerNodeMoveCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Moves a node under another node or customer.

Arguments

  • request - No description provided.
  • name - Required. The name of the node to move.

pub fn nodes_delete(&self, name: &str) -> CustomerNodeDeleteCall<'a, C, A>[src]

Create a builder to help you perform the following task:

Deletes a node.

Arguments

  • name - Required. The name of the node.

pub fn deployments_patch(
    &self,
    request: SasPortalDeployment,
    name: &str
) -> CustomerDeploymentPatchCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Updates an existing deployment.

Arguments

  • request - No description provided.
  • name - Output only. Resource name.

pub fn devices_get(&self, name: &str) -> CustomerDeviceGetCall<'a, C, A>[src]

Create a builder to help you perform the following task:

Gets details about a device.

Arguments

  • name - Required. The name of the device.

pub fn devices_sign_device(
    &self,
    request: SasPortalSignDeviceRequest,
    name: &str
) -> CustomerDeviceSignDeviceCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Signs a device.

Arguments

  • request - No description provided.
  • name - Output only. The resource path name.

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

Create a builder to help you perform the following task:

Returns a requested customer.

Arguments

  • name - Required. The name of the customer.

pub fn devices_move(
    &self,
    request: SasPortalMoveDeviceRequest,
    name: &str
) -> CustomerDeviceMoveCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Moves a device under another node or customer.

Arguments

  • request - No description provided.
  • name - Required. The name of the device to move.

pub fn patch(
    &self,
    request: SasPortalCustomer,
    name: &str
) -> CustomerPatchCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Updates an existing customer.

Arguments

  • request - No description provided.
  • name - Output only. Resource name of the customer.

pub fn devices_update_signed(
    &self,
    request: SasPortalUpdateSignedDeviceRequest,
    name: &str
) -> CustomerDeviceUpdateSignedCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Updates a signed device.

Arguments

  • request - No description provided.
  • name - Required. The name of the device to update.

pub fn devices_list(&self, parent: &str) -> CustomerDeviceListCall<'a, C, A>[src]

Create a builder to help you perform the following task:

Lists devices under a node or customer.

Arguments

  • parent - Required. The name of the parent resource.

pub fn nodes_deployments_create(
    &self,
    request: SasPortalDeployment,
    parent: &str
) -> CustomerNodeDeploymentCreateCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Creates a new deployment.

Arguments

  • request - No description provided.
  • parent - Required. The parent resource name where the deployment is to be created.

pub fn nodes_deployments_list(
    &self,
    parent: &str
) -> CustomerNodeDeploymentListCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Lists deployments.

Arguments

  • parent - Required. The parent resource name, for example, "nodes/1", customer/1/nodes/2.

pub fn nodes_get(&self, name: &str) -> CustomerNodeGetCall<'a, C, A>[src]

Create a builder to help you perform the following task:

Returns a requested node.

Arguments

  • name - Required. The name of the node.

pub fn nodes_create(
    &self,
    request: SasPortalNode,
    parent: &str
) -> CustomerNodeCreateCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Creates a new node.

Arguments

  • request - No description provided.
  • parent - Required. The parent resource name where the node is to be created.

pub fn devices_patch(
    &self,
    request: SasPortalDevice,
    name: &str
) -> CustomerDevicePatchCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Updates a device.

Arguments

  • request - No description provided.
  • name - Output only. The resource path name.

pub fn deployments_get(&self, name: &str) -> CustomerDeploymentGetCall<'a, C, A>[src]

Create a builder to help you perform the following task:

Returns a requested deployment.

Arguments

  • name - Required. The name of the deployment.

pub fn deployments_list(
    &self,
    parent: &str
) -> CustomerDeploymentListCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Lists deployments.

Arguments

  • parent - Required. The parent resource name, for example, "nodes/1", customer/1/nodes/2.

pub fn devices_bulk(
    &self,
    request: SasPortalBulkCreateDeviceRequest,
    parent: &str
) -> CustomerDeviceBulkCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Creates a device under a node or customer. Returned devices are unordered.

Arguments

  • request - No description provided.
  • parent - Required. The name of the parent resource.

pub fn deployments_create(
    &self,
    request: SasPortalDeployment,
    parent: &str
) -> CustomerDeploymentCreateCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Creates a new deployment.

Arguments

  • request - No description provided.
  • parent - Required. The parent resource name where the deployment is to be created.

pub fn nodes_patch(
    &self,
    request: SasPortalNode,
    name: &str
) -> CustomerNodePatchCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Updates an existing node.

Arguments

  • request - No description provided.
  • name - Output only. Resource name.

pub fn nodes_list(&self, parent: &str) -> CustomerNodeListCall<'a, C, A>[src]

Create a builder to help you perform the following task:

Lists nodes.

Arguments

  • parent - Required. The parent resource name, for example, "nodes/1".

pub fn devices_delete(&self, name: &str) -> CustomerDeviceDeleteCall<'a, C, A>[src]

Create a builder to help you perform the following task:

Deletes a device.

Arguments

  • name - Required. The name of the device.

pub fn deployments_delete(
    &self,
    name: &str
) -> CustomerDeploymentDeleteCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Deletes a deployment.

Arguments

  • name - Required. The name of the deployment.

pub fn list(&self) -> CustomerListCall<'a, C, A>[src]

Create a builder to help you perform the following task:

Returns a list of requested customers.

pub fn devices_create_signed(
    &self,
    request: SasPortalCreateSignedDeviceRequest,
    parent: &str
) -> CustomerDeviceCreateSignedCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Creates a signed device under a node or customer.

Arguments

  • request - No description provided.
  • parent - Required. The name of the parent resource.

pub fn devices_create(
    &self,
    request: SasPortalDevice,
    parent: &str
) -> CustomerDeviceCreateCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Creates a device under a node or customer.

Arguments

  • request - No description provided.
  • parent - Required. The name of the parent resource.

Trait Implementations

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

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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

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

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

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> Typeable for T where
    T: Any