Struct google_serviceregistryalpha::EndpointMethods [] [src]

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

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

Example

Instantiate a resource builder

extern crate hyper;
extern crate yup_oauth2 as oauth2;
extern crate google_serviceregistryalpha as serviceregistryalpha;
 
use std::default::Default;
use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage};
use serviceregistryalpha::ServiceRegistry;
 
let secret: ApplicationSecret = Default::default();
let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate,
                              hyper::Client::new(),
                              <MemoryStorage as Default>::default(), None);
let mut hub = ServiceRegistry::new(hyper::Client::new(), auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)`
// to build up your call.
let rb = hub.endpoints();

Methods

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

Create a builder to help you perform the following task:

Creates an endpoint.

Arguments

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

Create a builder to help you perform the following task:

Deletes an endpoint.

Arguments

  • project - The project ID for this request.
  • endpoint - The name of the endpoint for this request.

Create a builder to help you perform the following task:

Updates an endpoint.

Arguments

  • request - No description provided.
  • project - The project ID for this request.
  • endpoint - The name of the endpoint for this request.

Create a builder to help you perform the following task:

Updates an endpoint. This method supports patch semantics.

Arguments

  • request - No description provided.
  • project - The project ID for this request.
  • endpoint - The name of the endpoint for this request.

Create a builder to help you perform the following task:

Lists endpoints for a project.

Arguments

  • project - The project ID for this request.

Create a builder to help you perform the following task:

Gets an endpoint.

Arguments

  • project - The project ID for this request.
  • endpoint - The name of the endpoint for this request.

Trait Implementations

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