mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
chore(code-gen): update to latest version
Which is to be published
This commit is contained in:
@@ -5,7 +5,7 @@ DO NOT EDIT !
|
||||
-->
|
||||
The `google-container1` library allows access to all features of the *Google container* service.
|
||||
|
||||
This documentation was generated from *container* crate version *0.1.14+20160321*, where *20160321* is the exact revision of the *container:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.14*.
|
||||
This documentation was generated from *container* crate version *0.1.14+20160421*, where *20160421* is the exact revision of the *container:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.14*.
|
||||
|
||||
Everything else about the *container* *v1* API can be found at the
|
||||
[official documentation site](https://cloud.google.com/container-engine/).
|
||||
@@ -14,7 +14,7 @@ Everything else about the *container* *v1* API can be found at the
|
||||
Handle the following *Resources* with ease from the central [hub](http://byron.github.io/google-apis-rs/google_container1/struct.Container.html) ...
|
||||
|
||||
* projects
|
||||
* [*zones clusters create*](http://byron.github.io/google-apis-rs/google_container1/struct.ProjectZoneClusterCreateCall.html), [*zones clusters delete*](http://byron.github.io/google-apis-rs/google_container1/struct.ProjectZoneClusterDeleteCall.html), [*zones clusters get*](http://byron.github.io/google-apis-rs/google_container1/struct.ProjectZoneClusterGetCall.html), [*zones clusters list*](http://byron.github.io/google-apis-rs/google_container1/struct.ProjectZoneClusterListCall.html), [*zones clusters update*](http://byron.github.io/google-apis-rs/google_container1/struct.ProjectZoneClusterUpdateCall.html), [*zones get serverconfig*](http://byron.github.io/google-apis-rs/google_container1/struct.ProjectZoneGetServerconfigCall.html), [*zones operations get*](http://byron.github.io/google-apis-rs/google_container1/struct.ProjectZoneOperationGetCall.html) and [*zones operations list*](http://byron.github.io/google-apis-rs/google_container1/struct.ProjectZoneOperationListCall.html)
|
||||
* [*zones clusters create*](http://byron.github.io/google-apis-rs/google_container1/struct.ProjectZoneClusterCreateCall.html), [*zones clusters delete*](http://byron.github.io/google-apis-rs/google_container1/struct.ProjectZoneClusterDeleteCall.html), [*zones clusters get*](http://byron.github.io/google-apis-rs/google_container1/struct.ProjectZoneClusterGetCall.html), [*zones clusters list*](http://byron.github.io/google-apis-rs/google_container1/struct.ProjectZoneClusterListCall.html), [*zones clusters node pools create*](http://byron.github.io/google-apis-rs/google_container1/struct.ProjectZoneClusterNodePoolCreateCall.html), [*zones clusters node pools delete*](http://byron.github.io/google-apis-rs/google_container1/struct.ProjectZoneClusterNodePoolDeleteCall.html), [*zones clusters node pools get*](http://byron.github.io/google-apis-rs/google_container1/struct.ProjectZoneClusterNodePoolGetCall.html), [*zones clusters node pools list*](http://byron.github.io/google-apis-rs/google_container1/struct.ProjectZoneClusterNodePoolListCall.html), [*zones clusters update*](http://byron.github.io/google-apis-rs/google_container1/struct.ProjectZoneClusterUpdateCall.html), [*zones get serverconfig*](http://byron.github.io/google-apis-rs/google_container1/struct.ProjectZoneGetServerconfigCall.html), [*zones operations get*](http://byron.github.io/google-apis-rs/google_container1/struct.ProjectZoneOperationGetCall.html) and [*zones operations list*](http://byron.github.io/google-apis-rs/google_container1/struct.ProjectZoneOperationListCall.html)
|
||||
|
||||
|
||||
|
||||
@@ -47,9 +47,11 @@ let r = hub.resource().activity(...).doit()
|
||||
Or specifically ...
|
||||
|
||||
```ignore
|
||||
let r = hub.projects().zones_clusters_update(...).doit()
|
||||
let r = hub.projects().zones_operations_get(...).doit()
|
||||
let r = hub.projects().zones_clusters_node_pools_create(...).doit()
|
||||
let r = hub.projects().zones_clusters_delete(...).doit()
|
||||
let r = hub.projects().zones_operations_get(...).doit()
|
||||
let r = hub.projects().zones_clusters_node_pools_delete(...).doit()
|
||||
let r = hub.projects().zones_clusters_update(...).doit()
|
||||
let r = hub.projects().zones_clusters_create(...).doit()
|
||||
```
|
||||
|
||||
@@ -75,7 +77,7 @@ google-container1 = "*"
|
||||
extern crate hyper;
|
||||
extern crate yup_oauth2 as oauth2;
|
||||
extern crate google_container1 as container1;
|
||||
use container1::UpdateClusterRequest;
|
||||
use container1::CreateNodePoolRequest;
|
||||
use container1::{Result, Error};
|
||||
use std::default::Default;
|
||||
use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage};
|
||||
@@ -96,12 +98,12 @@ let mut hub = Container::new(hyper::Client::new(), auth);
|
||||
// As the method needs a request, you would usually fill it with the desired information
|
||||
// into the respective structure. Some of the parts shown here might not be applicable !
|
||||
// Values shown here are possibly random and not representative !
|
||||
let mut req = UpdateClusterRequest::default();
|
||||
let mut req = CreateNodePoolRequest::default();
|
||||
|
||||
// You can configure optional parameters by calling the respective setters at will, and
|
||||
// execute the final call using `doit()`.
|
||||
// Values shown here are possibly random and not representative !
|
||||
let result = hub.projects().zones_clusters_update(req, "projectId", "zone", "clusterId")
|
||||
let result = hub.projects().zones_clusters_node_pools_create(req, "projectId", "zone", "clusterId")
|
||||
.doit();
|
||||
|
||||
match result {
|
||||
|
||||
Reference in New Issue
Block a user