Struct google_clouduseraccountsvm_beta::LinuxMethods [] [src]

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

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

Example

Instantiate a resource builder

extern crate hyper;
extern crate yup_oauth2 as oauth2;
extern crate google_clouduseraccountsvm_beta as clouduseraccountsvm_beta;
 
use std::default::Default;
use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage};
use clouduseraccountsvm_beta::CloudUserAccounts;
 
let secret: ApplicationSecret = Default::default();
let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate,
                              hyper::Client::new(),
                              <MemoryStorage as Default>::default(), None);
let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `get_authorized_keys_view(...)` and `get_linux_account_views(...)`
// to build up your call.
let rb = hub.linux();

Methods

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

Create a builder to help you perform the following task:

Retrieves a list of user accounts for an instance within a specific project.

Arguments

  • project - Project ID for this request.
  • zone - Name of the zone for this request.
  • instance - The fully-qualified URL of the virtual machine requesting the views.

Create a builder to help you perform the following task:

Returns a list of authorized public keys for a specific user account.

Arguments

  • project - Project ID for this request.
  • zone - Name of the zone for this request.
  • user - The user account for which you want to get a list of authorized public keys.
  • instance - The fully-qualified URL of the virtual machine requesting the view.

Trait Implementations

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