Update to latest versions of API declarations

This commit is contained in:
Sebastian Thiel
2018-10-13 13:49:14 +02:00
parent 5a67475b54
commit 255c7f5ad5
1508 changed files with 819225 additions and 838421 deletions

View File

@@ -674,11 +674,10 @@ impl<'n> Engine<'n> {
let engine = Engine {
opt: opt,
hub: api::ServiceControl::new(client, auth),
gp: vec!["$-xgafv", "access-token", "alt", "bearer-token", "callback", "fields", "key", "oauth-token", "pp", "pretty-print", "quota-user", "upload-type", "upload-protocol"],
gp: vec!["$-xgafv", "access-token", "alt", "callback", "fields", "key", "oauth-token", "pretty-print", "quota-user", "upload-type", "upload-protocol"],
gpm: vec![
("$-xgafv", "$.xgafv"),
("access-token", "access_token"),
("bearer-token", "bearer_token"),
("oauth-token", "oauth_token"),
("pretty-print", "prettyPrint"),
("quota-user", "quotaUser"),
@@ -748,19 +747,22 @@ fn main() {
Some(false)),
]),
("check",
Some(r##"Checks an operation with Google Service Control to decide whether
the given operation should proceed. It should be called before the
operation is executed.
Some(r##"Checks whether an operation on a service should be allowed to proceed
based on the configuration of the service and related policies. It must be
called before the operation is executed.
If feasible, the client should cache the check results and reuse them for
60 seconds. In case of server errors, the client can rely on the cached
results for longer time.
60 seconds. In case of any server errors, the client should rely on the
cached results for much longer time to avoid outage.
WARNING: There is general 60s delay for the configuration and policy
propagation, therefore callers MUST NOT depend on the `Check` method having
the latest policy information.
NOTE: the CheckRequest has the size limit of 64KB.
This method requires the `servicemanagement.services.check` permission
on the specified service. For more information, see
[Google Cloud IAM](https://cloud.google.com/iam)."##),
[Cloud IAM](https://cloud.google.com/iam)."##),
"Details at http://byron.github.io/google-apis-rs/google_servicecontrol1_cli/services_check",
vec![
(Some(r##"service-name"##),
@@ -976,7 +978,7 @@ fn main() {
let mut app = App::new("servicecontrol1")
.author("Sebastian Thiel <byronimo@gmail.com>")
.version("1.0.7+20171202")
.version("1.0.7+20181008")
.about("Google Service Control provides control plane functionality to managed services, such as logging, monitoring, and status checks.")
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_servicecontrol1_cli")
.arg(Arg::with_name("url")