rebuild all dependencies with latest version v5.0.3

This commit is contained in:
Sebastian Thiel
2023-08-23 08:25:17 +02:00
parent 1527d3c1c3
commit ef9f0d7480
2568 changed files with 47178 additions and 43610 deletions

View File

@@ -4,12 +4,12 @@
[package]
name = "google-deploymentmanager2"
version = "5.0.2+20221208"
version = "5.0.3+20221208"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
description = "A complete library to interact with Deployment Manager (protocol v2)"
repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/deploymentmanager2"
homepage = "https://cloud.google.com/deployment-manager"
documentation = "https://docs.rs/google-deploymentmanager2/5.0.2+20221208"
documentation = "https://docs.rs/google-deploymentmanager2/5.0.3+20221208"
license = "MIT"
keywords = ["deploymentmanager", "google", "protocol", "web", "api"]
autobins = false
@@ -18,12 +18,12 @@ edition = "2018"
[dependencies]
anyhow = "^ 1.0"
hyper-rustls = "0.23.0"
hyper-rustls = "0.24.0"
mime = "^ 0.3.0"
serde = { version = "^ 1.0", features = ["derive"] }
serde_json = "^ 1.0"
itertools = "^ 0.10"
google-apis-common = { path = "../../google-apis-common", version = "5.0.1" }
google-apis-common = { path = "../../google-apis-common", version = "6.0" }
hyper = "^ 0.14"
http = "^0.2"
tokio = "^1.0"

View File

@@ -5,24 +5,24 @@ DO NOT EDIT !
-->
The `google-deploymentmanager2` library allows access to all features of the *Google Deployment Manager* service.
This documentation was generated from *Deployment Manager* crate version *5.0.2+20221208*, where *20221208* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v5.0.2*.
This documentation was generated from *Deployment Manager* crate version *5.0.3+20221208*, where *20221208* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v5.0.3*.
Everything else about the *Deployment Manager* *v2* API can be found at the
[official documentation site](https://cloud.google.com/deployment-manager).
# Features
Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/DeploymentManager) ...
Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/DeploymentManager) ...
* [deployments](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/api::Deployment)
* [*cancel preview*](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/api::DeploymentCancelPreviewCall), [*delete*](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/api::DeploymentDeleteCall), [*get*](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/api::DeploymentGetCall), [*get iam policy*](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/api::DeploymentGetIamPolicyCall), [*insert*](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/api::DeploymentInsertCall), [*list*](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/api::DeploymentListCall), [*patch*](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/api::DeploymentPatchCall), [*set iam policy*](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/api::DeploymentSetIamPolicyCall), [*stop*](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/api::DeploymentStopCall), [*test iam permissions*](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/api::DeploymentTestIamPermissionCall) and [*update*](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/api::DeploymentUpdateCall)
* [manifests](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/api::Manifest)
* [*get*](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/api::ManifestGetCall) and [*list*](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/api::ManifestListCall)
* [operations](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/api::Operation)
* [*get*](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/api::OperationGetCall) and [*list*](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/api::OperationListCall)
* [resources](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/api::Resource)
* [*get*](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/api::ResourceGetCall) and [*list*](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/api::ResourceListCall)
* [types](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/api::Type)
* [*list*](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/api::TypeListCall)
* [deployments](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/api::Deployment)
* [*cancel preview*](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/api::DeploymentCancelPreviewCall), [*delete*](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/api::DeploymentDeleteCall), [*get*](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/api::DeploymentGetCall), [*get iam policy*](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/api::DeploymentGetIamPolicyCall), [*insert*](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/api::DeploymentInsertCall), [*list*](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/api::DeploymentListCall), [*patch*](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/api::DeploymentPatchCall), [*set iam policy*](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/api::DeploymentSetIamPolicyCall), [*stop*](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/api::DeploymentStopCall), [*test iam permissions*](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/api::DeploymentTestIamPermissionCall) and [*update*](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/api::DeploymentUpdateCall)
* [manifests](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/api::Manifest)
* [*get*](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/api::ManifestGetCall) and [*list*](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/api::ManifestListCall)
* [operations](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/api::Operation)
* [*get*](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/api::OperationGetCall) and [*list*](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/api::OperationListCall)
* [resources](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/api::Resource)
* [*get*](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/api::ResourceGetCall) and [*list*](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/api::ResourceListCall)
* [types](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/api::Type)
* [*list*](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/api::TypeListCall)
@@ -31,17 +31,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r
The API is structured into the following primary items:
* **[Hub](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/DeploymentManager)**
* **[Hub](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/DeploymentManager)**
* a central object to maintain state and allow accessing all *Activities*
* creates [*Method Builders*](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/client::MethodsBuilder) which in turn
allow access to individual [*Call Builders*](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/client::CallBuilder)
* **[Resources](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/client::Resource)**
* creates [*Method Builders*](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/client::MethodsBuilder) which in turn
allow access to individual [*Call Builders*](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/client::CallBuilder)
* **[Resources](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/client::Resource)**
* primary types that you can apply *Activities* to
* a collection of properties and *Parts*
* **[Parts](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/client::Part)**
* **[Parts](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/client::Part)**
* a collection of properties
* never directly used in *Activities*
* **[Activities](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/client::CallBuilder)**
* **[Activities](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/client::CallBuilder)**
* operations to apply to *Resources*
All *structures* are marked with applicable traits to further categorize them and ease browsing.
@@ -109,7 +109,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder(
secret,
oauth2::InstalledFlowReturnMethod::HTTPRedirect,
).build().await.unwrap();
let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), 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 !
@@ -145,17 +145,17 @@ match result {
```
## Handling Errors
All errors produced by the system are provided either as [Result](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/client::Result) enumeration as return value of
All errors produced by the system are provided either as [Result](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/client::Result) enumeration as return value of
the doit() methods, or handed as possibly intermediate results to either the
[Hub Delegate](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html).
[Hub Delegate](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html).
When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This
makes the system potentially resilient to all kinds of errors.
## Uploads and Downloads
If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/client::Result), should be
If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/client::Result), should be
read by you to obtain the media.
If such a method also supports a [Response Result](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/client::ResponseResult), it will return that by default.
If such a method also supports a [Response Result](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/client::ResponseResult), it will return that by default.
You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making
this call: `.param("alt", "media")`.
@@ -165,29 +165,29 @@ Methods supporting uploads can do so using up to 2 different protocols:
## Customization and Callbacks
You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/client::Delegate) to the
[Method Builder](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/client::CallBuilder) before making the final `doit()` call.
You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/client::Delegate) to the
[Method Builder](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/client::CallBuilder) before making the final `doit()` call.
Respective methods will be called to provide progress information, as well as determine whether the system should
retry on failure.
The [delegate trait](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort.
The [delegate trait](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort.
## Optional Parts in Server-Requests
All structures provided by this library are made to be [encodable](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/client::RequestValue) and
[decodable](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses
All structures provided by this library are made to be [encodable](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/client::RequestValue) and
[decodable](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses
are valid.
Most optionals are are considered [Parts](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/client::Part) which are identifiable by name, which will be sent to
Most optionals are are considered [Parts](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/client::Part) which are identifiable by name, which will be sent to
the server to indicate either the set parts of the request or the desired parts in the response.
## Builder Arguments
Using [method builders](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods.
Using [method builders](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods.
These will always take a single argument, for which the following statements are true.
* [PODs][wiki-pod] are handed by copy
* strings are passed as `&str`
* [request values](https://docs.rs/google-deploymentmanager2/5.0.2+20221208/google_deploymentmanager2/client::RequestValue) are moved
* [request values](https://docs.rs/google-deploymentmanager2/5.0.3+20221208/google_deploymentmanager2/client::RequestValue) are moved
Arguments will always be copied or cloned into the builder, to make them independent of their original life times.

View File

@@ -89,7 +89,7 @@ impl Default for Scope {
/// secret,
/// oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// ).build().await.unwrap();
/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), 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 !
@@ -140,7 +140,7 @@ impl<'a, S> DeploymentManager<S> {
DeploymentManager {
client,
auth: Box::new(auth),
_user_agent: "google-api-rust-client/5.0.2".to_string(),
_user_agent: "google-api-rust-client/5.0.3".to_string(),
_base_url: "https://deploymentmanager.googleapis.com/".to_string(),
_root_url: "https://deploymentmanager.googleapis.com/".to_string(),
}
@@ -163,7 +163,7 @@ impl<'a, S> DeploymentManager<S> {
}
/// Set the user-agent header field to use in all requests to the server.
/// It defaults to `google-api-rust-client/5.0.2`.
/// It defaults to `google-api-rust-client/5.0.3`.
///
/// Returns the previously set user-agent.
pub fn user_agent(&mut self, agent_name: String) -> String {
@@ -284,7 +284,6 @@ impl client::Part for ConfigFile {}
/// * [stop deployments](DeploymentStopCall) (none)
/// * [test iam permissions deployments](DeploymentTestIamPermissionCall) (none)
/// * [update deployments](DeploymentUpdateCall) (request)
///
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct Deployment {
@@ -401,7 +400,6 @@ impl client::Part for DeploymentUpdateLabelEntry {}
/// The list links the activity name, along with information about where it is used (one of *request* and *response*).
///
/// * [cancel preview deployments](DeploymentCancelPreviewCall) (request)
///
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct DeploymentsCancelPreviewRequest {
@@ -422,7 +420,6 @@ impl client::RequestValue for DeploymentsCancelPreviewRequest {}
/// The list links the activity name, along with information about where it is used (one of *request* and *response*).
///
/// * [list deployments](DeploymentListCall) (response)
///
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct DeploymentsListResponse {
@@ -446,7 +443,6 @@ impl client::ResponseResult for DeploymentsListResponse {}
/// The list links the activity name, along with information about where it is used (one of *request* and *response*).
///
/// * [stop deployments](DeploymentStopCall) (request)
///
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct DeploymentsStopRequest {
@@ -491,7 +487,6 @@ impl client::Part for Expr {}
/// The list links the activity name, along with information about where it is used (one of *request* and *response*).
///
/// * [set iam policy deployments](DeploymentSetIamPolicyCall) (request)
///
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct GlobalSetPolicyRequest {
@@ -537,7 +532,6 @@ impl client::Part for ImportFile {}
///
/// * [get manifests](ManifestGetCall) (response)
/// * [list manifests](ManifestListCall) (none)
///
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct Manifest {
@@ -593,7 +587,6 @@ impl client::ResponseResult for Manifest {}
/// The list links the activity name, along with information about where it is used (one of *request* and *response*).
///
/// * [list manifests](ManifestListCall) (response)
///
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct ManifestsListResponse {
@@ -609,7 +602,7 @@ pub struct ManifestsListResponse {
impl client::ResponseResult for ManifestsListResponse {}
/// Represents an Operation resource. Google Compute Engine has three Operation resources: * [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations) You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - For zonal operations, use the `zonalOperations` resource. For more information, read Global, Regional, and Zonal Resources.
/// Represents an Operation resource. Google Compute Engine has three Operation resources: * [Global](https://cloud.google.com/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](https://cloud.google.com/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](https://cloud.google.com/compute/docs/reference/rest/{$api_version}/zoneOperations) You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - For zonal operations, use the `zonalOperations` resource. For more information, read Global, Regional, and Zonal Resources.
///
/// # Activities
///
@@ -624,7 +617,6 @@ impl client::ResponseResult for ManifestsListResponse {}
/// * [update deployments](DeploymentUpdateCall) (response)
/// * [get operations](OperationGetCall) (response)
/// * [list operations](OperationListCall) (none)
///
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct Operation {
@@ -729,7 +721,6 @@ impl client::ResponseResult for Operation {}
/// The list links the activity name, along with information about where it is used (one of *request* and *response*).
///
/// * [list operations](OperationListCall) (response)
///
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct OperationsListResponse {
@@ -745,7 +736,7 @@ pub struct OperationsListResponse {
impl client::ResponseResult for OperationsListResponse {}
/// An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
/// An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { bindings: \[ { role: roles/resourcemanager.organizationAdmin, members: \[ user:mike@example.com, group:admins@example.com, domain:google.com, serviceAccount:my-project-id@appspot.gserviceaccount.com” \] }, { role: roles/resourcemanager.organizationViewer, members: \[ user:eve@example.com” \], condition: { title: expirable access, description: Does not grant access after Sep 2020, expression: request.time \< timestamp(2020-10-01T00:00:00.000Z)”, } } \], etag: BwWWja0YfJA=, version: 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \< timestamp(2020-10-01T00:00:00.000Z) etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
///
/// # Activities
///
@@ -754,7 +745,6 @@ impl client::ResponseResult for OperationsListResponse {}
///
/// * [get iam policy deployments](DeploymentGetIamPolicyCall) (response)
/// * [set iam policy deployments](DeploymentSetIamPolicyCall) (response)
///
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct Policy {
@@ -786,7 +776,6 @@ impl client::ResponseResult for Policy {}
///
/// * [get resources](ResourceGetCall) (response)
/// * [list resources](ResourceListCall) (none)
///
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct Resource {
@@ -900,7 +889,6 @@ impl client::Part for ResourceUpdate {}
/// The list links the activity name, along with information about where it is used (one of *request* and *response*).
///
/// * [list resources](ResourceListCall) (response)
///
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct ResourcesListResponse {
@@ -942,7 +930,6 @@ impl client::Part for TargetConfiguration {}
/// The list links the activity name, along with information about where it is used (one of *request* and *response*).
///
/// * [test iam permissions deployments](DeploymentTestIamPermissionCall) (request)
///
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct TestPermissionsRequest {
@@ -962,7 +949,6 @@ impl client::RequestValue for TestPermissionsRequest {}
/// The list links the activity name, along with information about where it is used (one of *request* and *response*).
///
/// * [test iam permissions deployments](DeploymentTestIamPermissionCall) (response)
///
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct TestPermissionsResponse {
@@ -982,7 +968,6 @@ impl client::ResponseResult for TestPermissionsResponse {}
/// The list links the activity name, along with information about where it is used (one of *request* and *response*).
///
/// * [list types](TypeListCall) (none)
///
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct Type {
@@ -1017,7 +1002,6 @@ impl client::Resource for Type {}
/// The list links the activity name, along with information about where it is used (one of *request* and *response*).
///
/// * [list types](TypeListCall) (response)
///
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct TypesListResponse {
@@ -1258,7 +1242,7 @@ impl client::Part for ResourceUpdateWarningsData {}
/// secret,
/// oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// ).build().await.unwrap();
/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
/// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
/// // like `cancel_preview(...)`, `delete(...)`, `get(...)`, `get_iam_policy(...)`, `insert(...)`, `list(...)`, `patch(...)`, `set_iam_policy(...)`, `stop(...)`, `test_iam_permissions(...)` and `update(...)`
/// // to build up your call.
@@ -1532,7 +1516,7 @@ impl<'a, S> DeploymentMethods<'a, S> {
/// secret,
/// oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// ).build().await.unwrap();
/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
/// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
/// // like `get(...)` and `list(...)`
/// // to build up your call.
@@ -1617,7 +1601,7 @@ impl<'a, S> ManifestMethods<'a, S> {
/// secret,
/// oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// ).build().await.unwrap();
/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
/// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
/// // like `get(...)` and `list(...)`
/// // to build up your call.
@@ -1698,7 +1682,7 @@ impl<'a, S> OperationMethods<'a, S> {
/// secret,
/// oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// ).build().await.unwrap();
/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
/// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
/// // like `get(...)` and `list(...)`
/// // to build up your call.
@@ -1783,7 +1767,7 @@ impl<'a, S> ResourceMethods<'a, S> {
/// secret,
/// oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// ).build().await.unwrap();
/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
/// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
/// // like `list(...)`
/// // to build up your call.
@@ -1853,7 +1837,7 @@ impl<'a, S> TypeMethods<'a, S> {
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), 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 !
@@ -2062,7 +2046,8 @@ where
/// while executing the actual API request.
///
/// ````text
/// It should be used to handle progress information, and to implement a certain level of resilience.````
/// It should be used to handle progress information, and to implement a certain level of resilience.
/// ````
///
/// Sets the *delegate* property to the given value.
pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> DeploymentCancelPreviewCall<'a, S> {
@@ -2155,7 +2140,7 @@ where
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
/// // 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 !
@@ -2347,7 +2332,8 @@ where
/// while executing the actual API request.
///
/// ````text
/// It should be used to handle progress information, and to implement a certain level of resilience.````
/// It should be used to handle progress information, and to implement a certain level of resilience.
/// ````
///
/// Sets the *delegate* property to the given value.
pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> DeploymentDeleteCall<'a, S> {
@@ -2440,7 +2426,7 @@ where
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
/// // 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 !
@@ -2620,7 +2606,8 @@ where
/// while executing the actual API request.
///
/// ````text
/// It should be used to handle progress information, and to implement a certain level of resilience.````
/// It should be used to handle progress information, and to implement a certain level of resilience.
/// ````
///
/// Sets the *delegate* property to the given value.
pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> DeploymentGetCall<'a, S> {
@@ -2713,7 +2700,7 @@ where
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
/// // 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 !
@@ -2905,7 +2892,8 @@ where
/// while executing the actual API request.
///
/// ````text
/// It should be used to handle progress information, and to implement a certain level of resilience.````
/// It should be used to handle progress information, and to implement a certain level of resilience.
/// ````
///
/// Sets the *delegate* property to the given value.
pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> DeploymentGetIamPolicyCall<'a, S> {
@@ -2999,7 +2987,7 @@ where
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), 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 !
@@ -3220,7 +3208,8 @@ where
/// while executing the actual API request.
///
/// ````text
/// It should be used to handle progress information, and to implement a certain level of resilience.````
/// It should be used to handle progress information, and to implement a certain level of resilience.
/// ````
///
/// Sets the *delegate* property to the given value.
pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> DeploymentInsertCall<'a, S> {
@@ -3313,7 +3302,7 @@ where
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
/// // 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 !
@@ -3529,7 +3518,8 @@ where
/// while executing the actual API request.
///
/// ````text
/// It should be used to handle progress information, and to implement a certain level of resilience.````
/// It should be used to handle progress information, and to implement a certain level of resilience.
/// ````
///
/// Sets the *delegate* property to the given value.
pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> DeploymentListCall<'a, S> {
@@ -3623,7 +3613,7 @@ where
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), 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 !
@@ -3868,7 +3858,8 @@ where
/// while executing the actual API request.
///
/// ````text
/// It should be used to handle progress information, and to implement a certain level of resilience.````
/// It should be used to handle progress information, and to implement a certain level of resilience.
/// ````
///
/// Sets the *delegate* property to the given value.
pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> DeploymentPatchCall<'a, S> {
@@ -3962,7 +3953,7 @@ where
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), 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 !
@@ -4171,7 +4162,8 @@ where
/// while executing the actual API request.
///
/// ````text
/// It should be used to handle progress information, and to implement a certain level of resilience.````
/// It should be used to handle progress information, and to implement a certain level of resilience.
/// ````
///
/// Sets the *delegate* property to the given value.
pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> DeploymentSetIamPolicyCall<'a, S> {
@@ -4265,7 +4257,7 @@ where
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), 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 !
@@ -4474,7 +4466,8 @@ where
/// while executing the actual API request.
///
/// ````text
/// It should be used to handle progress information, and to implement a certain level of resilience.````
/// It should be used to handle progress information, and to implement a certain level of resilience.
/// ````
///
/// Sets the *delegate* property to the given value.
pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> DeploymentStopCall<'a, S> {
@@ -4568,7 +4561,7 @@ where
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), 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 !
@@ -4777,7 +4770,8 @@ where
/// while executing the actual API request.
///
/// ````text
/// It should be used to handle progress information, and to implement a certain level of resilience.````
/// It should be used to handle progress information, and to implement a certain level of resilience.
/// ````
///
/// Sets the *delegate* property to the given value.
pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> DeploymentTestIamPermissionCall<'a, S> {
@@ -4871,7 +4865,7 @@ where
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), 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 !
@@ -5116,7 +5110,8 @@ where
/// while executing the actual API request.
///
/// ````text
/// It should be used to handle progress information, and to implement a certain level of resilience.````
/// It should be used to handle progress information, and to implement a certain level of resilience.
/// ````
///
/// Sets the *delegate* property to the given value.
pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> DeploymentUpdateCall<'a, S> {
@@ -5209,7 +5204,7 @@ where
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
/// // 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 !
@@ -5401,7 +5396,8 @@ where
/// while executing the actual API request.
///
/// ````text
/// It should be used to handle progress information, and to implement a certain level of resilience.````
/// It should be used to handle progress information, and to implement a certain level of resilience.
/// ````
///
/// Sets the *delegate* property to the given value.
pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> ManifestGetCall<'a, S> {
@@ -5494,7 +5490,7 @@ where
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
/// // 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 !
@@ -5722,7 +5718,8 @@ where
/// while executing the actual API request.
///
/// ````text
/// It should be used to handle progress information, and to implement a certain level of resilience.````
/// It should be used to handle progress information, and to implement a certain level of resilience.
/// ````
///
/// Sets the *delegate* property to the given value.
pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> ManifestListCall<'a, S> {
@@ -5815,7 +5812,7 @@ where
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
/// // 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 !
@@ -5995,7 +5992,8 @@ where
/// while executing the actual API request.
///
/// ````text
/// It should be used to handle progress information, and to implement a certain level of resilience.````
/// It should be used to handle progress information, and to implement a certain level of resilience.
/// ````
///
/// Sets the *delegate* property to the given value.
pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> OperationGetCall<'a, S> {
@@ -6088,7 +6086,7 @@ where
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
/// // 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 !
@@ -6304,7 +6302,8 @@ where
/// while executing the actual API request.
///
/// ````text
/// It should be used to handle progress information, and to implement a certain level of resilience.````
/// It should be used to handle progress information, and to implement a certain level of resilience.
/// ````
///
/// Sets the *delegate* property to the given value.
pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> OperationListCall<'a, S> {
@@ -6397,7 +6396,7 @@ where
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
/// // 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 !
@@ -6589,7 +6588,8 @@ where
/// while executing the actual API request.
///
/// ````text
/// It should be used to handle progress information, and to implement a certain level of resilience.````
/// It should be used to handle progress information, and to implement a certain level of resilience.
/// ````
///
/// Sets the *delegate* property to the given value.
pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> ResourceGetCall<'a, S> {
@@ -6682,7 +6682,7 @@ where
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
/// // 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 !
@@ -6910,7 +6910,8 @@ where
/// while executing the actual API request.
///
/// ````text
/// It should be used to handle progress information, and to implement a certain level of resilience.````
/// It should be used to handle progress information, and to implement a certain level of resilience.
/// ````
///
/// Sets the *delegate* property to the given value.
pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> ResourceListCall<'a, S> {
@@ -7003,7 +7004,7 @@ where
/// # secret,
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
/// # ).build().await.unwrap();
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
/// // 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 !
@@ -7219,7 +7220,8 @@ where
/// while executing the actual API request.
///
/// ````text
/// It should be used to handle progress information, and to implement a certain level of resilience.````
/// It should be used to handle progress information, and to implement a certain level of resilience.
/// ````
///
/// Sets the *delegate* property to the given value.
pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> TypeListCall<'a, S> {

View File

@@ -2,7 +2,7 @@
// This file was generated automatically from 'src/generator/templates/api/lib.rs.mako'
// DO NOT EDIT !
//! This documentation was generated from *Deployment Manager* crate version *5.0.2+20221208*, where *20221208* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v5.0.2*.
//! This documentation was generated from *Deployment Manager* crate version *5.0.3+20221208*, where *20221208* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v5.0.3*.
//!
//! Everything else about the *Deployment Manager* *v2* API can be found at the
//! [official documentation site](https://cloud.google.com/deployment-manager).
@@ -110,7 +110,7 @@
//! secret,
//! oauth2::InstalledFlowReturnMethod::HTTPRedirect,
//! ).build().await.unwrap();
//! let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
//! let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), 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 !