regen all APIs

This commit is contained in:
Sebastian Thiel
2024-03-05 19:02:07 +01:00
parent ca974aa0a5
commit 55badfe90e
1998 changed files with 490545 additions and 148021 deletions

View File

@@ -4,12 +4,12 @@
[package]
name = "google-datafusion1_beta1"
version = "5.0.3+20221213"
version = "5.0.3+20240111"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
description = "A complete library to interact with Data Fusion (protocol v1beta1)"
repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datafusion1_beta1"
homepage = "https://cloud.google.com/data-fusion/docs"
documentation = "https://docs.rs/google-datafusion1_beta1/5.0.3+20221213"
documentation = "https://docs.rs/google-datafusion1_beta1/5.0.3+20240111"
license = "MIT"
keywords = ["datafusion", "google", "protocol", "web", "api"]
autobins = false

View File

@@ -5,16 +5,16 @@ DO NOT EDIT !
-->
The `google-datafusion1_beta1` library allows access to all features of the *Google Data Fusion* service.
This documentation was generated from *Data Fusion* crate version *5.0.3+20221213*, where *20221213* is the exact revision of the *datafusion:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v5.0.3*.
This documentation was generated from *Data Fusion* crate version *5.0.3+20240111*, where *20240111* is the exact revision of the *datafusion:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v5.0.3*.
Everything else about the *Data Fusion* *v1_beta1* API can be found at the
[official documentation site](https://cloud.google.com/data-fusion/docs).
# Features
Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/DataFusion) ...
Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/DataFusion) ...
* projects
* [*locations get*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationInstanceDeleteCall), [*locations instances dns peerings create*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationInstanceDnsPeeringCreateCall), [*locations instances dns peerings delete*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationInstanceDnsPeeringDeleteCall), [*locations instances dns peerings list*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationInstanceDnsPeeringListCall), [*locations instances get*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationInstanceGetCall), [*locations instances get iam policy*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationInstanceGetIamPolicyCall), [*locations instances list*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationInstanceListCall), [*locations instances namespaces get iam policy*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceGetIamPolicyCall), [*locations instances namespaces list*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceListCall), [*locations instances namespaces set iam policy*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceSetIamPolicyCall), [*locations instances namespaces test iam permissions*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceTestIamPermissionCall), [*locations instances patch*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationInstancePatchCall), [*locations instances restart*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationInstanceRestartCall), [*locations instances set iam policy*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationInstanceSetIamPolicyCall), [*locations instances test iam permissions*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationInstanceTestIamPermissionCall), [*locations instances upgrade*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationInstanceUpgradeCall), [*locations list*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationOperationListCall), [*locations remove iam policy*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationRemoveIamPolicyCall) and [*locations versions list*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/api::ProjectLocationVersionListCall)
* [*locations get*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationInstanceDeleteCall), [*locations instances dns peerings create*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationInstanceDnsPeeringCreateCall), [*locations instances dns peerings delete*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationInstanceDnsPeeringDeleteCall), [*locations instances dns peerings list*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationInstanceDnsPeeringListCall), [*locations instances get*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationInstanceGetCall), [*locations instances get iam policy*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationInstanceGetIamPolicyCall), [*locations instances list*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationInstanceListCall), [*locations instances namespaces get iam policy*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceGetIamPolicyCall), [*locations instances namespaces list*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceListCall), [*locations instances namespaces set iam policy*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceSetIamPolicyCall), [*locations instances namespaces test iam permissions*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceTestIamPermissionCall), [*locations instances patch*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationInstancePatchCall), [*locations instances restart*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationInstanceRestartCall), [*locations instances set iam policy*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationInstanceSetIamPolicyCall), [*locations instances test iam permissions*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationInstanceTestIamPermissionCall), [*locations instances upgrade*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationInstanceUpgradeCall), [*locations list*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationOperationListCall), [*locations remove iam policy*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationRemoveIamPolicyCall) and [*locations versions list*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/api::ProjectLocationVersionListCall)
@@ -23,17 +23,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-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/DataFusion)**
* **[Hub](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/DataFusion)**
* a central object to maintain state and allow accessing all *Activities*
* creates [*Method Builders*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/client::MethodsBuilder) which in turn
allow access to individual [*Call Builders*](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/client::CallBuilder)
* **[Resources](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/client::Resource)**
* creates [*Method Builders*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/client::MethodsBuilder) which in turn
allow access to individual [*Call Builders*](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/client::CallBuilder)
* **[Resources](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/client::Resource)**
* primary types that you can apply *Activities* to
* a collection of properties and *Parts*
* **[Parts](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/client::Part)**
* **[Parts](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/client::Part)**
* a collection of properties
* never directly used in *Activities*
* **[Activities](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/client::CallBuilder)**
* **[Activities](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/client::CallBuilder)**
* operations to apply to *Resources*
All *structures* are marked with applicable traits to further categorize them and ease browsing.
@@ -130,17 +130,17 @@ match result {
```
## Handling Errors
All errors produced by the system are provided either as [Result](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/client::Result) enumeration as return value of
All errors produced by the system are provided either as [Result](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/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-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html).
[Hub Delegate](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/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-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/client::Result), should be
If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/client::Result), should be
read by you to obtain the media.
If such a method also supports a [Response Result](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/client::ResponseResult), it will return that by default.
If such a method also supports a [Response Result](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/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")`.
@@ -150,29 +150,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-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/client::Delegate) to the
[Method Builder](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/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-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/client::Delegate) to the
[Method Builder](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/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-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort.
The [delegate trait](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/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-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/client::RequestValue) and
[decodable](https://docs.rs/google-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/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-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/client::RequestValue) and
[decodable](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/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-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/client::Part) which are identifiable by name, which will be sent to
Most optionals are are considered [Parts](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/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-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods.
Using [method builders](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/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-datafusion1_beta1/5.0.3+20221213/google_datafusion1_beta1/client::RequestValue) are moved
* [request values](https://docs.rs/google-datafusion1_beta1/5.0.3+20240111/google_datafusion1_beta1/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

@@ -23,7 +23,7 @@ use crate::{client, client::GetToken, client::serde_with};
/// Identifies the an OAuth2 authorization scope.
/// A scope is needed when requesting an
/// [authorization token](https://developers.google.com/youtube/v3/guides/authentication).
#[derive(PartialEq, Eq, Hash)]
#[derive(PartialEq, Eq, Ord, PartialOrd, Hash, Debug, Clone, Copy)]
pub enum Scope {
/// See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
CloudPlatform,
@@ -233,7 +233,7 @@ pub struct Binding {
/// The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
pub condition: Option<Expr>,
/// Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
/// Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
pub members: Option<Vec<String>>,
/// Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
@@ -399,14 +399,14 @@ impl client::Part for IAMPolicy {}
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct Instance {
/// List of accelerators enabled for this CDF instance.
/// Output only. List of accelerators enabled for this CDF instance.
pub accelerators: Option<Vec<Accelerator>>,
/// Output only. Endpoint on which the REST APIs is accessible.
#[serde(rename="apiEndpoint")]
pub api_endpoint: Option<String>,
/// Available versions that the instance can be upgraded to using UpdateInstanceRequest.
/// Output only. Available versions that the instance can be upgraded to using UpdateInstanceRequest.
#[serde(rename="availableVersion")]
pub available_version: Option<Vec<Version>>,
@@ -418,6 +418,10 @@ pub struct Instance {
#[serde(rename="cryptoKeyConfig")]
pub crypto_key_config: Option<CryptoKeyConfig>,
/// Optional. Option to enable the Dataplex Lineage Integration feature.
#[serde(rename="dataplexDataLineageIntegrationEnabled")]
pub dataplex_data_lineage_integration_enabled: Option<bool>,
/// User-managed service account to set on Dataproc when Cloud Data Fusion creates Dataproc to run data processing pipelines. This allows users to have fine-grained access control on Dataproc's accesses to cloud resources.
#[serde(rename="dataprocServiceAccount")]
@@ -474,10 +478,18 @@ pub struct Instance {
#[serde(rename="p4ServiceAccount")]
pub p4_service_account: Option<String>,
/// Optional. Current patch revision of the Data Fusion.
#[serde(rename="patchRevision")]
pub patch_revision: Option<String>,
/// Specifies whether the Data Fusion instance should be private. If set to true, all Data Fusion nodes will have private IP addresses and will not be able to access the public internet.
#[serde(rename="privateInstance")]
pub private_instance: Option<bool>,
/// Output only. Reserved for future use.
#[serde(rename="satisfiesPzs")]
pub satisfies_pzs: Option<bool>,
/// Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
#[serde(rename="serviceAccount")]
@@ -508,6 +520,10 @@ pub struct Instance {
/// Current version of Data Fusion.
pub version: Option<String>,
/// Output only. Endpoint on which the Data Fusion UI is accessible to third-party users.
#[serde(rename="workforceIdentityServiceEndpoint")]
pub workforce_identity_service_endpoint: Option<String>,
/// Name of the zone in which the Data Fusion instance will be created. Only DEVELOPER instances use this field.
pub zone: Option<String>,
@@ -660,7 +676,7 @@ pub struct ListOperationsResponse {
impl client::ResponseResult for ListOperationsResponse {}
/// A resource that represents Google Cloud Platform location.
/// A resource that represents a Google Cloud location.
///
/// # Activities
///
@@ -719,13 +735,21 @@ impl client::Part for Namespace {}
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct NetworkConfig {
/// The IP range in CIDR notation to use for the managed Data Fusion instance nodes. This range must not overlap with any other ranges used in the Data Fusion instance network.
/// Optional. Type of connection for establishing private IP connectivity between the Data Fusion customer project VPC and the corresponding tenant project from a predefined list of available connection modes. If this field is unspecified for a private instance, VPC peering is used.
#[serde(rename="connectionType")]
pub connection_type: Option<String>,
/// Optional. The IP range in CIDR notation to use for the managed Data Fusion instance nodes. This range must not overlap with any other ranges used in the Data Fusion instance network. This is required only when using connection type VPC_PEERING. Format: a.b.c.d/22 Example: 192.168.0.0/22
#[serde(rename="ipAllocation")]
pub ip_allocation: Option<String>,
/// Name of the network in the customer project with which the Tenant Project will be peered for executing pipelines. In case of shared VPC where the network resides in another host project the network should specified in the form of projects/{host-project-id}/global/networks/{network}
/// Optional. Name of the network in the customer project with which the Tenant Project will be peered for executing pipelines. This is required only when using connection type VPC peering. In case of shared VPC where the network resides in another host project the network should specified in the form of projects/{host-project-id}/global/networks/{network}. This is only required for connectivity type VPC_PEERING.
pub network: Option<String>,
/// Optional. Configuration for Private Service Connect. This is required only when using connection type PRIVATE_SERVICE_CONNECT_INTERFACES.
#[serde(rename="privateServiceConnectConfig")]
pub private_service_connect_config: Option<PrivateServiceConnectConfig>,
}
impl client::Part for NetworkConfig {}
@@ -759,7 +783,7 @@ pub struct Operation {
/// The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
pub name: Option<String>,
/// The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
/// The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
pub response: Option<HashMap<String, json::Value>>,
}
@@ -767,7 +791,7 @@ pub struct Operation {
impl client::ResponseResult for Operation {}
/// 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
///
@@ -790,7 +814,7 @@ pub struct Policy {
pub bindings: Option<Vec<Binding>>,
/// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
#[serde_as(as = "Option<::client::serde::urlsafe_base64::Wrapper>")]
#[serde_as(as = "Option<::client::serde::standard_base64::Wrapper>")]
pub etag: Option<Vec<u8>>,
/// Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
@@ -800,6 +824,30 @@ pub struct Policy {
impl client::ResponseResult for Policy {}
/// Configuration for using Private Service Connect to establish connectivity between the Data Fusion consumer project and the corresponding tenant project.
///
/// This type is not used in any activity, and only used as *part* of another schema.
///
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct PrivateServiceConnectConfig {
/// Output only. The CIDR block to which the CDF instance can't route traffic to in the consumer project VPC. The size of this block is /25. The format of this field is governed by RFC 4632. Example: 240.0.0.0/25
#[serde(rename="effectiveUnreachableCidrBlock")]
pub effective_unreachable_cidr_block: Option<String>,
/// Required. The reference to the network attachment used to establish private connectivity. It will be of the form projects/{project-id}/regions/{region}/networkAttachments/{network-attachment-id}.
#[serde(rename="networkAttachment")]
pub network_attachment: Option<String>,
/// Optional. Input only. The CIDR block to which the CDF instance can't route traffic to in the consumer project VPC. The size of this block should be at least /25. This range should not overlap with the primary address range of any subnetwork used by the network attachment. This range can be used for other purposes in the consumer VPC as long as there is no requirement for CDF to reach destinations using these addresses. If this value is not provided, the server chooses a non RFC 1918 address range. The format of this field is governed by RFC 4632. Example: 192.168.0.0/25
#[serde(rename="unreachableCidrBlock")]
pub unreachable_cidr_block: Option<String>,
}
impl client::Part for PrivateServiceConnectConfig {}
/// Request message for RemoveIamPolicy method.
///
/// # Activities
@@ -1392,7 +1440,7 @@ impl<'a, S> ProjectMethods<'a, S> {
/// Create a builder to help you perform the following task:
///
/// Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.
/// Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
///
/// # Arguments
///
@@ -3725,7 +3773,7 @@ where
self._parent = new_value.to_string();
self
}
/// Required. The name of the instance to create.
/// Required. The name of the instance to create. Instance name can only contain lowercase alphanumeric characters and hyphens. It must start with a letter and must not end with a hyphen. It can have a maximum of 30 characters.
///
/// Sets the *instance id* query property to the given value.
pub fn instance_id(mut self, new_value: &str) -> ProjectLocationInstanceCreateCall<'a, S> {
@@ -7204,7 +7252,7 @@ where
}
/// Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.
/// Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
///
/// A builder for the *locations.operations.list* method supported by a *project* resource.
/// It is not used directly, but through a [`ProjectMethods`] instance.

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 *Data Fusion* crate version *5.0.3+20221213*, where *20221213* is the exact revision of the *datafusion:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v5.0.3*.
//! This documentation was generated from *Data Fusion* crate version *5.0.3+20240111*, where *20240111* is the exact revision of the *datafusion:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v5.0.3*.
//!
//! Everything else about the *Data Fusion* *v1_beta1* API can be found at the
//! [official documentation site](https://cloud.google.com/data-fusion/docs).