Struct google_games1::RevisionMethods
[−]
[src]
pub struct RevisionMethods<'a, C, A> where C: 'a, A: 'a { /* fields omitted */ }
A builder providing access to all methods supported on revision resources.
It is not used directly, but through the Games
hub.
Example
Instantiate a resource builder
extern crate hyper; extern crate yup_oauth2 as oauth2; extern crate google_games1 as games1; use std::default::Default; use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage}; use games1::Games; let secret: ApplicationSecret = Default::default(); let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, hyper::Client::new(), <MemoryStorage as Default>::default(), None); let mut hub = Games::new(hyper::Client::new(), auth); // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* // like `check(...)` // to build up your call. let rb = hub.revisions();
Methods
impl<'a, C, A> RevisionMethods<'a, C, A>
[src]
fn check(&self, client_revision: &str) -> RevisionCheckCall<'a, C, A>
Create a builder to help you perform the following task:
Checks whether the games client is out of date.
Arguments
clientRevision
- The revision of the client SDK used by your application. Format: [PLATFORM_TYPE]:[VERSION_NUMBER]. Possible values of PLATFORM_TYPE are:- "ANDROID" - Client is running the Android SDK. - "IOS" - Client is running the iOS SDK. - "WEB_APP" - Client is running as a Web App.