Struct google_gamesconfiguration1_configuration::api::LeaderboardConfigurationMethods [−][src]
pub struct LeaderboardConfigurationMethods<'a> { /* fields omitted */ }
Expand description
A builder providing access to all methods supported on leaderboardConfiguration resources.
It is not used directly, but through the GamesConfiguration
hub.
Example
Instantiate a resource builder
extern crate hyper;
extern crate hyper_rustls;
extern crate yup_oauth2 as oauth2;
extern crate google_gamesconfiguration1_configuration as gamesconfiguration1_configuration;
use std::default::Default;
use oauth2;
use gamesconfiguration1_configuration::GamesConfiguration;
let secret: oauth2::ApplicationSecret = Default::default();
let auth = yup_oauth2::InstalledFlowAuthenticator::builder(
secret,
yup_oauth2::InstalledFlowReturnMethod::HTTPRedirect,
).build().await.unwrap();
let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `delete(...)`, `get(...)`, `insert(...)`, `list(...)` and `update(...)`
// to build up your call.
let rb = hub.leaderboard_configurations();
Implementations
Create a builder to help you perform the following task:
Delete the leaderboard configuration with the given ID.
Arguments
leaderboardId
- The ID of the leaderboard.
Create a builder to help you perform the following task:
Retrieves the metadata of the leaderboard configuration with the given ID.
Arguments
leaderboardId
- The ID of the leaderboard.
pub fn insert(
&self,
request: LeaderboardConfiguration,
application_id: &str
) -> LeaderboardConfigurationInsertCall<'a>
pub fn insert(
&self,
request: LeaderboardConfiguration,
application_id: &str
) -> LeaderboardConfigurationInsertCall<'a>
Create a builder to help you perform the following task:
Insert a new leaderboard configuration in this application.
Arguments
request
- No description provided.applicationId
- The application ID from the Google Play developer console.
Create a builder to help you perform the following task:
Returns a list of the leaderboard configurations in this application.
Arguments
applicationId
- The application ID from the Google Play developer console.
pub fn update(
&self,
request: LeaderboardConfiguration,
leaderboard_id: &str
) -> LeaderboardConfigurationUpdateCall<'a>
pub fn update(
&self,
request: LeaderboardConfiguration,
leaderboard_id: &str
) -> LeaderboardConfigurationUpdateCall<'a>
Create a builder to help you perform the following task:
Update the metadata of the leaderboard configuration with the given ID.
Arguments
request
- No description provided.leaderboardId
- The ID of the leaderboard.