google_iam1/lib.rs
1// DO NOT EDIT !
2// This file was generated automatically from 'src/generator/templates/api/lib.rs.mako'
3// DO NOT EDIT !
4
5//! This documentation was generated from *Iam* crate version *7.0.0+20251204*, where *20251204* is the exact revision of the *iam:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v7.0.0*.
6//!
7//! Everything else about the *Iam* *v1* API can be found at the
8//! [official documentation site](https://cloud.google.com/iam/).
9//! The original source code is [on github](https://github.com/Byron/google-apis-rs/tree/main/gen/iam1).
10//! # Features
11//!
12//! Handle the following *Resources* with ease from the central [hub](Iam) ...
13//!
14//! * iam policies
15//! * [*lint policy*](api::IamPolicyLintPolicyCall) and [*query auditable services*](api::IamPolicyQueryAuditableServiceCall)
16//! * locations
17//! * [*workforce pools create*](api::LocationWorkforcePoolCreateCall), [*workforce pools delete*](api::LocationWorkforcePoolDeleteCall), [*workforce pools get*](api::LocationWorkforcePoolGetCall), [*workforce pools get iam policy*](api::LocationWorkforcePoolGetIamPolicyCall), [*workforce pools list*](api::LocationWorkforcePoolListCall), [*workforce pools operations get*](api::LocationWorkforcePoolOperationGetCall), [*workforce pools patch*](api::LocationWorkforcePoolPatchCall), [*workforce pools providers create*](api::LocationWorkforcePoolProviderCreateCall), [*workforce pools providers delete*](api::LocationWorkforcePoolProviderDeleteCall), [*workforce pools providers get*](api::LocationWorkforcePoolProviderGetCall), [*workforce pools providers keys create*](api::LocationWorkforcePoolProviderKeyCreateCall), [*workforce pools providers keys delete*](api::LocationWorkforcePoolProviderKeyDeleteCall), [*workforce pools providers keys get*](api::LocationWorkforcePoolProviderKeyGetCall), [*workforce pools providers keys list*](api::LocationWorkforcePoolProviderKeyListCall), [*workforce pools providers keys operations get*](api::LocationWorkforcePoolProviderKeyOperationGetCall), [*workforce pools providers keys undelete*](api::LocationWorkforcePoolProviderKeyUndeleteCall), [*workforce pools providers list*](api::LocationWorkforcePoolProviderListCall), [*workforce pools providers operations get*](api::LocationWorkforcePoolProviderOperationGetCall), [*workforce pools providers patch*](api::LocationWorkforcePoolProviderPatchCall), [*workforce pools providers scim tenants create*](api::LocationWorkforcePoolProviderScimTenantCreateCall), [*workforce pools providers scim tenants delete*](api::LocationWorkforcePoolProviderScimTenantDeleteCall), [*workforce pools providers scim tenants get*](api::LocationWorkforcePoolProviderScimTenantGetCall), [*workforce pools providers scim tenants list*](api::LocationWorkforcePoolProviderScimTenantListCall), [*workforce pools providers scim tenants patch*](api::LocationWorkforcePoolProviderScimTenantPatchCall), [*workforce pools providers scim tenants tokens create*](api::LocationWorkforcePoolProviderScimTenantTokenCreateCall), [*workforce pools providers scim tenants tokens delete*](api::LocationWorkforcePoolProviderScimTenantTokenDeleteCall), [*workforce pools providers scim tenants tokens get*](api::LocationWorkforcePoolProviderScimTenantTokenGetCall), [*workforce pools providers scim tenants tokens list*](api::LocationWorkforcePoolProviderScimTenantTokenListCall), [*workforce pools providers scim tenants tokens patch*](api::LocationWorkforcePoolProviderScimTenantTokenPatchCall), [*workforce pools providers scim tenants tokens undelete*](api::LocationWorkforcePoolProviderScimTenantTokenUndeleteCall), [*workforce pools providers scim tenants undelete*](api::LocationWorkforcePoolProviderScimTenantUndeleteCall), [*workforce pools providers undelete*](api::LocationWorkforcePoolProviderUndeleteCall), [*workforce pools set iam policy*](api::LocationWorkforcePoolSetIamPolicyCall), [*workforce pools subjects delete*](api::LocationWorkforcePoolSubjectDeleteCall), [*workforce pools subjects operations get*](api::LocationWorkforcePoolSubjectOperationGetCall), [*workforce pools subjects undelete*](api::LocationWorkforcePoolSubjectUndeleteCall), [*workforce pools test iam permissions*](api::LocationWorkforcePoolTestIamPermissionCall) and [*workforce pools undelete*](api::LocationWorkforcePoolUndeleteCall)
18//! * organizations
19//! * [*roles create*](api::OrganizationRoleCreateCall), [*roles delete*](api::OrganizationRoleDeleteCall), [*roles get*](api::OrganizationRoleGetCall), [*roles list*](api::OrganizationRoleListCall), [*roles patch*](api::OrganizationRolePatchCall) and [*roles undelete*](api::OrganizationRoleUndeleteCall)
20//! * [permissions](api::Permission)
21//! * [*query testable permissions*](api::PermissionQueryTestablePermissionCall)
22//! * projects
23//! * [*locations oauth clients create*](api::ProjectLocationOauthClientCreateCall), [*locations oauth clients credentials create*](api::ProjectLocationOauthClientCredentialCreateCall), [*locations oauth clients credentials delete*](api::ProjectLocationOauthClientCredentialDeleteCall), [*locations oauth clients credentials get*](api::ProjectLocationOauthClientCredentialGetCall), [*locations oauth clients credentials list*](api::ProjectLocationOauthClientCredentialListCall), [*locations oauth clients credentials patch*](api::ProjectLocationOauthClientCredentialPatchCall), [*locations oauth clients delete*](api::ProjectLocationOauthClientDeleteCall), [*locations oauth clients get*](api::ProjectLocationOauthClientGetCall), [*locations oauth clients list*](api::ProjectLocationOauthClientListCall), [*locations oauth clients patch*](api::ProjectLocationOauthClientPatchCall), [*locations oauth clients undelete*](api::ProjectLocationOauthClientUndeleteCall), [*locations workload identity pools create*](api::ProjectLocationWorkloadIdentityPoolCreateCall), [*locations workload identity pools delete*](api::ProjectLocationWorkloadIdentityPoolDeleteCall), [*locations workload identity pools get*](api::ProjectLocationWorkloadIdentityPoolGetCall), [*locations workload identity pools get iam policy*](api::ProjectLocationWorkloadIdentityPoolGetIamPolicyCall), [*locations workload identity pools list*](api::ProjectLocationWorkloadIdentityPoolListCall), [*locations workload identity pools namespaces create*](api::ProjectLocationWorkloadIdentityPoolNamespaceCreateCall), [*locations workload identity pools namespaces delete*](api::ProjectLocationWorkloadIdentityPoolNamespaceDeleteCall), [*locations workload identity pools namespaces get*](api::ProjectLocationWorkloadIdentityPoolNamespaceGetCall), [*locations workload identity pools namespaces list*](api::ProjectLocationWorkloadIdentityPoolNamespaceListCall), [*locations workload identity pools namespaces managed identities add attestation rule*](api::ProjectLocationWorkloadIdentityPoolNamespaceManagedIdentityAddAttestationRuleCall), [*locations workload identity pools namespaces managed identities create*](api::ProjectLocationWorkloadIdentityPoolNamespaceManagedIdentityCreateCall), [*locations workload identity pools namespaces managed identities delete*](api::ProjectLocationWorkloadIdentityPoolNamespaceManagedIdentityDeleteCall), [*locations workload identity pools namespaces managed identities get*](api::ProjectLocationWorkloadIdentityPoolNamespaceManagedIdentityGetCall), [*locations workload identity pools namespaces managed identities list*](api::ProjectLocationWorkloadIdentityPoolNamespaceManagedIdentityListCall), [*locations workload identity pools namespaces managed identities list attestation rules*](api::ProjectLocationWorkloadIdentityPoolNamespaceManagedIdentityListAttestationRuleCall), [*locations workload identity pools namespaces managed identities operations get*](api::ProjectLocationWorkloadIdentityPoolNamespaceManagedIdentityOperationGetCall), [*locations workload identity pools namespaces managed identities patch*](api::ProjectLocationWorkloadIdentityPoolNamespaceManagedIdentityPatchCall), [*locations workload identity pools namespaces managed identities remove attestation rule*](api::ProjectLocationWorkloadIdentityPoolNamespaceManagedIdentityRemoveAttestationRuleCall), [*locations workload identity pools namespaces managed identities set attestation rules*](api::ProjectLocationWorkloadIdentityPoolNamespaceManagedIdentitySetAttestationRuleCall), [*locations workload identity pools namespaces managed identities undelete*](api::ProjectLocationWorkloadIdentityPoolNamespaceManagedIdentityUndeleteCall), [*locations workload identity pools namespaces managed identities workload sources operations get*](api::ProjectLocationWorkloadIdentityPoolNamespaceManagedIdentityWorkloadSourceOperationGetCall), [*locations workload identity pools namespaces operations get*](api::ProjectLocationWorkloadIdentityPoolNamespaceOperationGetCall), [*locations workload identity pools namespaces patch*](api::ProjectLocationWorkloadIdentityPoolNamespacePatchCall), [*locations workload identity pools namespaces undelete*](api::ProjectLocationWorkloadIdentityPoolNamespaceUndeleteCall), [*locations workload identity pools operations get*](api::ProjectLocationWorkloadIdentityPoolOperationGetCall), [*locations workload identity pools patch*](api::ProjectLocationWorkloadIdentityPoolPatchCall), [*locations workload identity pools providers create*](api::ProjectLocationWorkloadIdentityPoolProviderCreateCall), [*locations workload identity pools providers delete*](api::ProjectLocationWorkloadIdentityPoolProviderDeleteCall), [*locations workload identity pools providers get*](api::ProjectLocationWorkloadIdentityPoolProviderGetCall), [*locations workload identity pools providers keys create*](api::ProjectLocationWorkloadIdentityPoolProviderKeyCreateCall), [*locations workload identity pools providers keys delete*](api::ProjectLocationWorkloadIdentityPoolProviderKeyDeleteCall), [*locations workload identity pools providers keys get*](api::ProjectLocationWorkloadIdentityPoolProviderKeyGetCall), [*locations workload identity pools providers keys list*](api::ProjectLocationWorkloadIdentityPoolProviderKeyListCall), [*locations workload identity pools providers keys operations get*](api::ProjectLocationWorkloadIdentityPoolProviderKeyOperationGetCall), [*locations workload identity pools providers keys undelete*](api::ProjectLocationWorkloadIdentityPoolProviderKeyUndeleteCall), [*locations workload identity pools providers list*](api::ProjectLocationWorkloadIdentityPoolProviderListCall), [*locations workload identity pools providers operations get*](api::ProjectLocationWorkloadIdentityPoolProviderOperationGetCall), [*locations workload identity pools providers patch*](api::ProjectLocationWorkloadIdentityPoolProviderPatchCall), [*locations workload identity pools providers undelete*](api::ProjectLocationWorkloadIdentityPoolProviderUndeleteCall), [*locations workload identity pools set iam policy*](api::ProjectLocationWorkloadIdentityPoolSetIamPolicyCall), [*locations workload identity pools test iam permissions*](api::ProjectLocationWorkloadIdentityPoolTestIamPermissionCall), [*locations workload identity pools undelete*](api::ProjectLocationWorkloadIdentityPoolUndeleteCall), [*roles create*](api::ProjectRoleCreateCall), [*roles delete*](api::ProjectRoleDeleteCall), [*roles get*](api::ProjectRoleGetCall), [*roles list*](api::ProjectRoleListCall), [*roles patch*](api::ProjectRolePatchCall), [*roles undelete*](api::ProjectRoleUndeleteCall), [*service accounts create*](api::ProjectServiceAccountCreateCall), [*service accounts delete*](api::ProjectServiceAccountDeleteCall), [*service accounts disable*](api::ProjectServiceAccountDisableCall), [*service accounts enable*](api::ProjectServiceAccountEnableCall), [*service accounts get*](api::ProjectServiceAccountGetCall), [*service accounts get iam policy*](api::ProjectServiceAccountGetIamPolicyCall), [*service accounts keys create*](api::ProjectServiceAccountKeyCreateCall), [*service accounts keys delete*](api::ProjectServiceAccountKeyDeleteCall), [*service accounts keys disable*](api::ProjectServiceAccountKeyDisableCall), [*service accounts keys enable*](api::ProjectServiceAccountKeyEnableCall), [*service accounts keys get*](api::ProjectServiceAccountKeyGetCall), [*service accounts keys list*](api::ProjectServiceAccountKeyListCall), [*service accounts keys upload*](api::ProjectServiceAccountKeyUploadCall), [*service accounts list*](api::ProjectServiceAccountListCall), [*service accounts patch*](api::ProjectServiceAccountPatchCall), [*service accounts set iam policy*](api::ProjectServiceAccountSetIamPolicyCall), [*service accounts sign blob*](api::ProjectServiceAccountSignBlobCall), [*service accounts sign jwt*](api::ProjectServiceAccountSignJwtCall), [*service accounts test iam permissions*](api::ProjectServiceAccountTestIamPermissionCall), [*service accounts undelete*](api::ProjectServiceAccountUndeleteCall) and [*service accounts update*](api::ProjectServiceAccountUpdateCall)
24//! * [roles](api::Role)
25//! * [*get*](api::RoleGetCall), [*list*](api::RoleListCall) and [*query grantable roles*](api::RoleQueryGrantableRoleCall)
26//!
27//!
28//!
29//!
30//! Not what you are looking for ? Find all other Google APIs in their Rust [documentation index](http://byron.github.io/google-apis-rs).
31//!
32//! # Structure of this Library
33//!
34//! The API is structured into the following primary items:
35//!
36//! * **[Hub](Iam)**
37//! * a central object to maintain state and allow accessing all *Activities*
38//! * creates [*Method Builders*](common::MethodsBuilder) which in turn
39//! allow access to individual [*Call Builders*](common::CallBuilder)
40//! * **[Resources](common::Resource)**
41//! * primary types that you can apply *Activities* to
42//! * a collection of properties and *Parts*
43//! * **[Parts](common::Part)**
44//! * a collection of properties
45//! * never directly used in *Activities*
46//! * **[Activities](common::CallBuilder)**
47//! * operations to apply to *Resources*
48//!
49//! All *structures* are marked with applicable traits to further categorize them and ease browsing.
50//!
51//! Generally speaking, you can invoke *Activities* like this:
52//!
53//! ```Rust,ignore
54//! let r = hub.resource().activity(...).doit().await
55//! ```
56//!
57//! Or specifically ...
58//!
59//! ```ignore
60//! let r = hub.locations().workforce_pools_operations_get(...).doit().await
61//! let r = hub.locations().workforce_pools_providers_keys_operations_get(...).doit().await
62//! let r = hub.locations().workforce_pools_providers_keys_create(...).doit().await
63//! let r = hub.locations().workforce_pools_providers_keys_delete(...).doit().await
64//! let r = hub.locations().workforce_pools_providers_keys_undelete(...).doit().await
65//! let r = hub.locations().workforce_pools_providers_operations_get(...).doit().await
66//! let r = hub.locations().workforce_pools_providers_create(...).doit().await
67//! let r = hub.locations().workforce_pools_providers_delete(...).doit().await
68//! let r = hub.locations().workforce_pools_providers_patch(...).doit().await
69//! let r = hub.locations().workforce_pools_providers_undelete(...).doit().await
70//! let r = hub.locations().workforce_pools_subjects_operations_get(...).doit().await
71//! let r = hub.locations().workforce_pools_subjects_delete(...).doit().await
72//! let r = hub.locations().workforce_pools_subjects_undelete(...).doit().await
73//! let r = hub.locations().workforce_pools_create(...).doit().await
74//! let r = hub.locations().workforce_pools_delete(...).doit().await
75//! let r = hub.locations().workforce_pools_patch(...).doit().await
76//! let r = hub.locations().workforce_pools_undelete(...).doit().await
77//! let r = hub.projects().locations_workload_identity_pools_namespaces_managed_identities_operations_get(...).doit().await
78//! let r = hub.projects().locations_workload_identity_pools_namespaces_managed_identities_workload_sources_operations_get(...).doit().await
79//! let r = hub.projects().locations_workload_identity_pools_namespaces_managed_identities_add_attestation_rule(...).doit().await
80//! let r = hub.projects().locations_workload_identity_pools_namespaces_managed_identities_create(...).doit().await
81//! let r = hub.projects().locations_workload_identity_pools_namespaces_managed_identities_delete(...).doit().await
82//! let r = hub.projects().locations_workload_identity_pools_namespaces_managed_identities_patch(...).doit().await
83//! let r = hub.projects().locations_workload_identity_pools_namespaces_managed_identities_remove_attestation_rule(...).doit().await
84//! let r = hub.projects().locations_workload_identity_pools_namespaces_managed_identities_set_attestation_rules(...).doit().await
85//! let r = hub.projects().locations_workload_identity_pools_namespaces_managed_identities_undelete(...).doit().await
86//! let r = hub.projects().locations_workload_identity_pools_namespaces_operations_get(...).doit().await
87//! let r = hub.projects().locations_workload_identity_pools_namespaces_create(...).doit().await
88//! let r = hub.projects().locations_workload_identity_pools_namespaces_delete(...).doit().await
89//! let r = hub.projects().locations_workload_identity_pools_namespaces_patch(...).doit().await
90//! let r = hub.projects().locations_workload_identity_pools_namespaces_undelete(...).doit().await
91//! let r = hub.projects().locations_workload_identity_pools_operations_get(...).doit().await
92//! let r = hub.projects().locations_workload_identity_pools_providers_keys_operations_get(...).doit().await
93//! let r = hub.projects().locations_workload_identity_pools_providers_keys_create(...).doit().await
94//! let r = hub.projects().locations_workload_identity_pools_providers_keys_delete(...).doit().await
95//! let r = hub.projects().locations_workload_identity_pools_providers_keys_undelete(...).doit().await
96//! let r = hub.projects().locations_workload_identity_pools_providers_operations_get(...).doit().await
97//! let r = hub.projects().locations_workload_identity_pools_providers_create(...).doit().await
98//! let r = hub.projects().locations_workload_identity_pools_providers_delete(...).doit().await
99//! let r = hub.projects().locations_workload_identity_pools_providers_patch(...).doit().await
100//! let r = hub.projects().locations_workload_identity_pools_providers_undelete(...).doit().await
101//! let r = hub.projects().locations_workload_identity_pools_create(...).doit().await
102//! let r = hub.projects().locations_workload_identity_pools_delete(...).doit().await
103//! let r = hub.projects().locations_workload_identity_pools_patch(...).doit().await
104//! let r = hub.projects().locations_workload_identity_pools_undelete(...).doit().await
105//! ```
106//!
107//! The `resource()` and `activity(...)` calls create [builders][builder-pattern]. The second one dealing with `Activities`
108//! supports various methods to configure the impending operation (not shown here). It is made such that all required arguments have to be
109//! specified right away (i.e. `(...)`), whereas all optional ones can be [build up][builder-pattern] as desired.
110//! The `doit()` method performs the actual communication with the server and returns the respective result.
111//!
112//! # Usage
113//!
114//! ## Setting up your Project
115//!
116//! To use this library, you would put the following lines into your `Cargo.toml` file:
117//!
118//! ```toml
119//! [dependencies]
120//! google-iam1 = "*"
121//! serde = "1"
122//! serde_json = "1"
123//! ```
124//!
125//! ## A complete example
126//!
127//! ```test_harness,no_run
128//! extern crate hyper;
129//! extern crate hyper_rustls;
130//! extern crate google_iam1 as iam1;
131//! use iam1::api::WorkforcePoolProviderKey;
132//! use iam1::{Result, Error};
133//! # async fn dox() {
134//! use iam1::{Iam, FieldMask, hyper_rustls, hyper_util, yup_oauth2};
135//!
136//! // Get an ApplicationSecret instance by some means. It contains the `client_id` and
137//! // `client_secret`, among other things.
138//! let secret: yup_oauth2::ApplicationSecret = Default::default();
139//! // Instantiate the authenticator. It will choose a suitable authentication flow for you,
140//! // unless you replace `None` with the desired Flow.
141//! // Provide your own `AuthenticatorDelegate` to adjust the way it operates and get feedback about
142//! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and
143//! // retrieve them from storage.
144//! let connector = hyper_rustls::HttpsConnectorBuilder::new()
145//! .with_native_roots()
146//! .unwrap()
147//! .https_only()
148//! .enable_http2()
149//! .build();
150//!
151//! let executor = hyper_util::rt::TokioExecutor::new();
152//! let auth = yup_oauth2::InstalledFlowAuthenticator::with_client(
153//! secret,
154//! yup_oauth2::InstalledFlowReturnMethod::HTTPRedirect,
155//! yup_oauth2::client::CustomHyperClientBuilder::from(
156//! hyper_util::client::legacy::Client::builder(executor).build(connector),
157//! ),
158//! ).build().await.unwrap();
159//!
160//! let client = hyper_util::client::legacy::Client::builder(
161//! hyper_util::rt::TokioExecutor::new()
162//! )
163//! .build(
164//! hyper_rustls::HttpsConnectorBuilder::new()
165//! .with_native_roots()
166//! .unwrap()
167//! .https_or_http()
168//! .enable_http2()
169//! .build()
170//! );
171//! let mut hub = Iam::new(client, auth);
172//! // As the method needs a request, you would usually fill it with the desired information
173//! // into the respective structure. Some of the parts shown here might not be applicable !
174//! // Values shown here are possibly random and not representative !
175//! let mut req = WorkforcePoolProviderKey::default();
176//!
177//! // You can configure optional parameters by calling the respective setters at will, and
178//! // execute the final call using `doit()`.
179//! // Values shown here are possibly random and not representative !
180//! let result = hub.locations().workforce_pools_providers_keys_create(req, "parent")
181//! .workforce_pool_provider_key_id("ipsum")
182//! .doit().await;
183//!
184//! match result {
185//! Err(e) => match e {
186//! // The Error enum provides details about what exactly happened.
187//! // You can also just use its `Debug`, `Display` or `Error` traits
188//! Error::HttpError(_)
189//! |Error::Io(_)
190//! |Error::MissingAPIKey
191//! |Error::MissingToken(_)
192//! |Error::Cancelled
193//! |Error::UploadSizeLimitExceeded(_, _)
194//! |Error::Failure(_)
195//! |Error::BadRequest(_)
196//! |Error::FieldClash(_)
197//! |Error::JsonDecodeError(_, _) => println!("{}", e),
198//! },
199//! Ok(res) => println!("Success: {:?}", res),
200//! }
201//! # }
202//! ```
203//! ## Handling Errors
204//!
205//! All errors produced by the system are provided either as [Result](common::Result) enumeration as return value of
206//! the doit() methods, or handed as possibly intermediate results to either the
207//! [Hub Delegate](common::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html).
208//!
209//! When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This
210//! makes the system potentially resilient to all kinds of errors.
211//!
212//! ## Uploads and Downloads
213//! If a method supports downloads, the response body, which is part of the [Result](common::Result), should be
214//! read by you to obtain the media.
215//! If such a method also supports a [Response Result](common::ResponseResult), it will return that by default.
216//! 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
217//! this call: `.param("alt", "media")`.
218//!
219//! Methods supporting uploads can do so using up to 2 different protocols:
220//! *simple* and *resumable*. The distinctiveness of each is represented by customized
221//! `doit(...)` methods, which are then named `upload(...)` and `upload_resumable(...)` respectively.
222//!
223//! ## Customization and Callbacks
224//!
225//! You may alter the way an `doit()` method is called by providing a [delegate](common::Delegate) to the
226//! [Method Builder](common::CallBuilder) before making the final `doit()` call.
227//! Respective methods will be called to provide progress information, as well as determine whether the system should
228//! retry on failure.
229//!
230//! The [delegate trait](common::Delegate) is default-implemented, allowing you to customize it with minimal effort.
231//!
232//! ## Optional Parts in Server-Requests
233//!
234//! All structures provided by this library are made to be [encodable](common::RequestValue) and
235//! [decodable](common::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses
236//! are valid.
237//! Most optionals are are considered [Parts](common::Part) which are identifiable by name, which will be sent to
238//! the server to indicate either the set parts of the request or the desired parts in the response.
239//!
240//! ## Builder Arguments
241//!
242//! Using [method builders](common::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods.
243//! These will always take a single argument, for which the following statements are true.
244//!
245//! * [PODs][wiki-pod] are handed by copy
246//! * strings are passed as `&str`
247//! * [request values](common::RequestValue) are moved
248//!
249//! Arguments will always be copied or cloned into the builder, to make them independent of their original life times.
250//!
251//! [wiki-pod]: http://en.wikipedia.org/wiki/Plain_old_data_structure
252//! [builder-pattern]: http://en.wikipedia.org/wiki/Builder_pattern
253//! [google-go-api]: https://github.com/google/google-api-go-client
254//!
255//! ## Cargo Features
256//!
257//! * `utoipa` - Add support for [utoipa](https://crates.io/crates/utoipa) and derive `utoipa::ToSchema` on all
258//! the types. You'll have to import and register the required types in `#[openapi(schemas(...))]`, otherwise the
259//! generated `openapi` spec would be invalid.
260//!
261//!
262//!
263
264// Unused attributes happen thanks to defined, but unused structures We don't
265// warn about this, as depending on the API, some data structures or facilities
266// are never used. Instead of pre-determining this, we just disable the lint.
267// It's manually tuned to not have any unused imports in fully featured APIs.
268// Same with unused_mut.
269#![allow(unused_imports, unused_mut, dead_code)]
270
271// DO NOT EDIT !
272// This file was generated automatically from 'src/generator/templates/api/lib.rs.mako'
273// DO NOT EDIT !
274
275pub extern crate hyper;
276pub extern crate hyper_rustls;
277pub extern crate hyper_util;
278#[cfg(feature = "yup-oauth2")]
279pub extern crate yup_oauth2;
280
281pub extern crate google_apis_common as common;
282pub use common::{Delegate, Error, FieldMask, Result};
283
284pub mod api;
285pub use api::Iam;