From 10cccc1990366401d25d57228ac330200bba0aef Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 12 Mar 2024 02:43:20 +0000 Subject: [PATCH] feat: Automated regeneration of DataFusion client --- .../google_api/data_fusion/v1/api/projects.ex | 4 +- .../lib/google_api/data_fusion/v1/metadata.ex | 2 +- .../data_fusion/v1/model/accelerator.ex | 2 +- .../data_fusion/v1/model/binding.ex | 2 +- .../v1/model/data_residency_augmented_view.ex | 55 +++++++ .../data_fusion/v1/model/instance.ex | 137 ++++++++++-------- .../data_fusion/v1/model/location.ex | 2 +- .../data_fusion/v1/model/network_config.ex | 16 +- .../data_fusion/v1/model/operation.ex | 2 +- .../v1/model/persistent_disk_data.ex | 49 +++++++ .../google_api/data_fusion/v1/model/policy.ex | 2 +- .../model/private_service_connect_config.ex | 52 +++++++ .../data_fusion/v1/model/service_data.ex | 46 ++++++ .../data_fusion/v1beta1/api/projects.ex | 4 +- .../data_fusion/v1beta1/metadata.ex | 2 +- .../data_fusion/v1beta1/model/accelerator.ex | 5 +- .../data_fusion/v1beta1/model/binding.ex | 2 +- .../model/data_residency_augmented_view.ex | 55 +++++++ .../data_fusion/v1beta1/model/instance.ex | 137 ++++++++++-------- .../data_fusion/v1beta1/model/location.ex | 2 +- .../v1beta1/model/network_config.ex | 16 +- .../data_fusion/v1beta1/model/operation.ex | 2 +- .../v1beta1/model/operation_metadata.ex | 3 + .../v1beta1/model/persistent_disk_data.ex | 49 +++++++ .../data_fusion/v1beta1/model/policy.ex | 2 +- .../model/private_service_connect_config.ex | 52 +++++++ .../data_fusion/v1beta1/model/service_data.ex | 46 ++++++ 27 files changed, 604 insertions(+), 144 deletions(-) create mode 100644 clients/data_fusion/lib/google_api/data_fusion/v1/model/data_residency_augmented_view.ex create mode 100644 clients/data_fusion/lib/google_api/data_fusion/v1/model/persistent_disk_data.ex create mode 100644 clients/data_fusion/lib/google_api/data_fusion/v1/model/private_service_connect_config.ex create mode 100644 clients/data_fusion/lib/google_api/data_fusion/v1/model/service_data.ex create mode 100644 clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/data_residency_augmented_view.ex create mode 100644 clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/persistent_disk_data.ex create mode 100644 clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/private_service_connect_config.ex create mode 100644 clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/service_data.ex diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1/api/projects.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/api/projects.ex index 90e3ee518a..d9231fb173 100644 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/api/projects.ex +++ b/clients/data_fusion/lib/google_api/data_fusion/v1/api/projects.ex @@ -172,7 +172,7 @@ defmodule GoogleApi.DataFusion.V1.Api.Projects do * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:instanceId` (*type:* `String.t`) - Required. The name of the instance to create. + * `:instanceId` (*type:* `String.t`) - 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. * `:body` (*type:* `GoogleApi.DataFusion.V1.Model.Instance.t`) - * `opts` (*type:* `keyword()`) - Call options @@ -1240,7 +1240,7 @@ defmodule GoogleApi.DataFusion.V1.Api.Projects do end @doc """ - 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`. ## Parameters diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1/metadata.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/metadata.ex index e6d4ff53b3..dd64c6fc84 100644 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/metadata.ex +++ b/clients/data_fusion/lib/google_api/data_fusion/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.DataFusion.V1 do API client metadata for GoogleApi.DataFusion.V1. """ - @discovery_revision "20220908" + @discovery_revision "20240111" def discovery_revision(), do: @discovery_revision end diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1/model/accelerator.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/accelerator.ex index 2dec409f05..34603d1440 100644 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/accelerator.ex +++ b/clients/data_fusion/lib/google_api/data_fusion/v1/model/accelerator.ex @@ -22,7 +22,7 @@ defmodule GoogleApi.DataFusion.V1.Model.Accelerator do ## Attributes * `acceleratorType` (*type:* `String.t`, *default:* `nil`) - The type of an accelator for a CDF instance. - * `state` (*type:* `String.t`, *default:* `nil`) - The state of the accelerator + * `state` (*type:* `String.t`, *default:* `nil`) - The state of the accelerator. """ use GoogleApi.Gax.ModelBase diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1/model/binding.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/binding.ex index 5126cf5bfa..39ca46a6a2 100644 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/binding.ex +++ b/clients/data_fusion/lib/google_api/data_fusion/v1/model/binding.ex @@ -22,7 +22,7 @@ defmodule GoogleApi.DataFusion.V1.Model.Binding do ## Attributes * `condition` (*type:* `GoogleApi.DataFusion.V1.Model.Expr.t`, *default:* `nil`) - 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). - * `members` (*type:* `list(String.t)`, *default:* `nil`) - 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`. + * `members` (*type:* `list(String.t)`, *default:* `nil`) - 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`. * `role` (*type:* `String.t`, *default:* `nil`) - Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. """ diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1/model/data_residency_augmented_view.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/data_residency_augmented_view.ex new file mode 100644 index 0000000000..7c6d849db4 --- /dev/null +++ b/clients/data_fusion/lib/google_api/data_fusion/v1/model/data_residency_augmented_view.ex @@ -0,0 +1,55 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.DataFusion.V1.Model.DataResidencyAugmentedView do + @moduledoc """ + Next tag: 7 + + ## Attributes + + * `crGopoGuris` (*type:* `list(String.t)`, *default:* `nil`) - Cloud resource to Google owned production object mapping in the form of GURIs. The GURIs should be available in DG KB storage/cns tables. This is the preferred way of providing cloud resource mappings. For further details please read go/cloud-resource-monitoring_sig + * `crGopoPrefixes` (*type:* `list(String.t)`, *default:* `nil`) - Cloud resource to Google owned production object mapping in the form of prefixes. These should be available in DG KB storage/cns tables. The entity type, which is the part of the string before the first colon in the GURI, must be completely specified in prefix. For details about GURI please read go/guri. For further details about the field please read go/cloud-resource-monitoring_sig. + * `serviceData` (*type:* `GoogleApi.DataFusion.V1.Model.ServiceData.t`, *default:* `nil`) - Service-specific data. Only required for pre-determined services. Generally used to bind a Cloud Resource to some a TI container that uniquely specifies a customer. See milestone 2 of DRZ KR8 SIG for more information. + * `tpIds` (*type:* `list(String.t)`, *default:* `nil`) - The list of project_id's of the tenant projects in the 'google.com' org which serve the Cloud Resource. See go/drz-mst-sig for more details. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :crGopoGuris => list(String.t()) | nil, + :crGopoPrefixes => list(String.t()) | nil, + :serviceData => GoogleApi.DataFusion.V1.Model.ServiceData.t() | nil, + :tpIds => list(String.t()) | nil + } + + field(:crGopoGuris, type: :list) + field(:crGopoPrefixes, type: :list) + field(:serviceData, as: GoogleApi.DataFusion.V1.Model.ServiceData) + field(:tpIds, type: :list) +end + +defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.DataResidencyAugmentedView do + def decode(value, options) do + GoogleApi.DataFusion.V1.Model.DataResidencyAugmentedView.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.DataResidencyAugmentedView do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1/model/instance.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/instance.ex index afd16471dc..a4ccfe1395 100644 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/instance.ex +++ b/clients/data_fusion/lib/google_api/data_fusion/v1/model/instance.ex @@ -21,100 +21,115 @@ defmodule GoogleApi.DataFusion.V1.Model.Instance do ## Attributes - * `accelerators` (*type:* `list(GoogleApi.DataFusion.V1.Model.Accelerator.t)`, *default:* `nil`) - List of accelerators enabled for this CDF instance. - * `apiEndpoint` (*type:* `String.t`, *default:* `nil`) - Output only. Endpoint on which the REST APIs is accessible. - * `availableVersion` (*type:* `list(GoogleApi.DataFusion.V1.Model.Version.t)`, *default:* `nil`) - Available versions that the instance can be upgraded to using UpdateInstanceRequest. + * `p4ServiceAccount` (*type:* `String.t`, *default:* `nil`) - Output only. P4 service account for the customer project. + * `accelerators` (*type:* `list(GoogleApi.DataFusion.V1.Model.Accelerator.t)`, *default:* `nil`) - Output only. List of accelerators enabled for this CDF instance. + * `workforceIdentityServiceEndpoint` (*type:* `String.t`, *default:* `nil`) - Output only. Endpoint on which the Data Fusion UI is accessible to third-party users + * `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the instance was last updated. + * `displayName` (*type:* `String.t`, *default:* `nil`) - Display name for an instance. * `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the instance was created. - * `cryptoKeyConfig` (*type:* `GoogleApi.DataFusion.V1.Model.CryptoKeyConfig.t`, *default:* `nil`) - The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature. - * `dataprocServiceAccount` (*type:* `String.t`, *default:* `nil`) - 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. + * `dataplexDataLineageIntegrationEnabled` (*type:* `boolean()`, *default:* `nil`) - Optional. Option to enable the Dataplex Lineage Integration feature. + * `satisfiesPzs` (*type:* `boolean()`, *default:* `nil`) - Output only. Reserved for future use. + * `patchRevision` (*type:* `String.t`, *default:* `nil`) - Optional. Current patch revision of the Data Fusion. + * `zone` (*type:* `String.t`, *default:* `nil`) - Name of the zone in which the Data Fusion instance will be created. Only DEVELOPER instances use this field. * `description` (*type:* `String.t`, *default:* `nil`) - A description of this instance. + * `serviceEndpoint` (*type:* `String.t`, *default:* `nil`) - Output only. Endpoint on which the Data Fusion UI is accessible. + * `gcsBucket` (*type:* `String.t`, *default:* `nil`) - Output only. Cloud Storage bucket generated by Data Fusion in the customer project. + * `networkConfig` (*type:* `GoogleApi.DataFusion.V1.Model.NetworkConfig.t`, *default:* `nil`) - Network configuration options. These are required when a private Data Fusion instance is to be created. * `disabledReason` (*type:* `list(String.t)`, *default:* `nil`) - Output only. If the instance state is DISABLED, the reason for disabling the instance. - * `displayName` (*type:* `String.t`, *default:* `nil`) - Display name for an instance. - * `enableRbac` (*type:* `boolean()`, *default:* `nil`) - Option to enable granular role-based access control. - * `enableStackdriverLogging` (*type:* `boolean()`, *default:* `nil`) - Option to enable Stackdriver Logging. * `enableStackdriverMonitoring` (*type:* `boolean()`, *default:* `nil`) - Option to enable Stackdriver Monitoring. - * `eventPublishConfig` (*type:* `GoogleApi.DataFusion.V1.Model.EventPublishConfig.t`, *default:* `nil`) - Option to enable and pass metadata for event publishing. - * `gcsBucket` (*type:* `String.t`, *default:* `nil`) - Output only. Cloud Storage bucket generated by Data Fusion in the customer project. - * `labels` (*type:* `map()`, *default:* `nil`) - The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs. The character '=' is not allowed to be used within the labels. * `name` (*type:* `String.t`, *default:* `nil`) - Output only. The name of this instance is in the form of projects/{project}/locations/{location}/instances/{instance}. - * `networkConfig` (*type:* `GoogleApi.DataFusion.V1.Model.NetworkConfig.t`, *default:* `nil`) - Network configuration options. These are required when a private Data Fusion instance is to be created. - * `options` (*type:* `map()`, *default:* `nil`) - Map of additional options used to configure the behavior of Data Fusion instance. - * `p4ServiceAccount` (*type:* `String.t`, *default:* `nil`) - Output only. P4 service account for the customer project. - * `privateInstance` (*type:* `boolean()`, *default:* `nil`) - 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. - * `serviceAccount` (*type:* `String.t`, *default:* `nil`) - Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID. - * `serviceEndpoint` (*type:* `String.t`, *default:* `nil`) - Output only. Endpoint on which the Data Fusion UI is accessible. * `state` (*type:* `String.t`, *default:* `nil`) - Output only. The current state of this Data Fusion instance. - * `stateMessage` (*type:* `String.t`, *default:* `nil`) - Output only. Additional information about the current state of this Data Fusion instance if available. * `tenantProjectId` (*type:* `String.t`, *default:* `nil`) - Output only. The name of the tenant project. - * `type` (*type:* `String.t`, *default:* `nil`) - Required. Instance type. - * `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the instance was last updated. + * `enableRbac` (*type:* `boolean()`, *default:* `nil`) - Option to enable granular role-based access control. * `version` (*type:* `String.t`, *default:* `nil`) - Current version of the Data Fusion. Only specifiable in Update. - * `zone` (*type:* `String.t`, *default:* `nil`) - Name of the zone in which the Data Fusion instance will be created. Only DEVELOPER instances use this field. + * `privateInstance` (*type:* `boolean()`, *default:* `nil`) - 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. + * `eventPublishConfig` (*type:* `GoogleApi.DataFusion.V1.Model.EventPublishConfig.t`, *default:* `nil`) - Option to enable and pass metadata for event publishing. + * `enableZoneSeparation` (*type:* `boolean()`, *default:* `nil`) - Option to enable granular zone separation. + * `type` (*type:* `String.t`, *default:* `nil`) - Required. Instance type. + * `serviceAccount` (*type:* `String.t`, *default:* `nil`) - Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID. + * `cryptoKeyConfig` (*type:* `GoogleApi.DataFusion.V1.Model.CryptoKeyConfig.t`, *default:* `nil`) - The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature. + * `apiEndpoint` (*type:* `String.t`, *default:* `nil`) - Output only. Endpoint on which the REST APIs is accessible. + * `stateMessage` (*type:* `String.t`, *default:* `nil`) - Output only. Additional information about the current state of this Data Fusion instance if available. + * `options` (*type:* `map()`, *default:* `nil`) - Map of additional options used to configure the behavior of Data Fusion instance. + * `availableVersion` (*type:* `list(GoogleApi.DataFusion.V1.Model.Version.t)`, *default:* `nil`) - Output only. Available versions that the instance can be upgraded to using UpdateInstanceRequest. + * `dataprocServiceAccount` (*type:* `String.t`, *default:* `nil`) - 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. + * `enableStackdriverLogging` (*type:* `boolean()`, *default:* `nil`) - Option to enable Stackdriver Logging. + * `labels` (*type:* `map()`, *default:* `nil`) - The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs. The character '=' is not allowed to be used within the labels. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ + :p4ServiceAccount => String.t() | nil, :accelerators => list(GoogleApi.DataFusion.V1.Model.Accelerator.t()) | nil, - :apiEndpoint => String.t() | nil, - :availableVersion => list(GoogleApi.DataFusion.V1.Model.Version.t()) | nil, + :workforceIdentityServiceEndpoint => String.t() | nil, + :updateTime => DateTime.t() | nil, + :displayName => String.t() | nil, :createTime => DateTime.t() | nil, - :cryptoKeyConfig => GoogleApi.DataFusion.V1.Model.CryptoKeyConfig.t() | nil, - :dataprocServiceAccount => String.t() | nil, + :dataplexDataLineageIntegrationEnabled => boolean() | nil, + :satisfiesPzs => boolean() | nil, + :patchRevision => String.t() | nil, + :zone => String.t() | nil, :description => String.t() | nil, + :serviceEndpoint => String.t() | nil, + :gcsBucket => String.t() | nil, + :networkConfig => GoogleApi.DataFusion.V1.Model.NetworkConfig.t() | nil, :disabledReason => list(String.t()) | nil, - :displayName => String.t() | nil, - :enableRbac => boolean() | nil, - :enableStackdriverLogging => boolean() | nil, :enableStackdriverMonitoring => boolean() | nil, - :eventPublishConfig => GoogleApi.DataFusion.V1.Model.EventPublishConfig.t() | nil, - :gcsBucket => String.t() | nil, - :labels => map() | nil, :name => String.t() | nil, - :networkConfig => GoogleApi.DataFusion.V1.Model.NetworkConfig.t() | nil, - :options => map() | nil, - :p4ServiceAccount => String.t() | nil, - :privateInstance => boolean() | nil, - :serviceAccount => String.t() | nil, - :serviceEndpoint => String.t() | nil, :state => String.t() | nil, - :stateMessage => String.t() | nil, :tenantProjectId => String.t() | nil, - :type => String.t() | nil, - :updateTime => DateTime.t() | nil, + :enableRbac => boolean() | nil, :version => String.t() | nil, - :zone => String.t() | nil + :privateInstance => boolean() | nil, + :eventPublishConfig => GoogleApi.DataFusion.V1.Model.EventPublishConfig.t() | nil, + :enableZoneSeparation => boolean() | nil, + :type => String.t() | nil, + :serviceAccount => String.t() | nil, + :cryptoKeyConfig => GoogleApi.DataFusion.V1.Model.CryptoKeyConfig.t() | nil, + :apiEndpoint => String.t() | nil, + :stateMessage => String.t() | nil, + :options => map() | nil, + :availableVersion => list(GoogleApi.DataFusion.V1.Model.Version.t()) | nil, + :dataprocServiceAccount => String.t() | nil, + :enableStackdriverLogging => boolean() | nil, + :labels => map() | nil } + field(:p4ServiceAccount) field(:accelerators, as: GoogleApi.DataFusion.V1.Model.Accelerator, type: :list) - field(:apiEndpoint) - field(:availableVersion, as: GoogleApi.DataFusion.V1.Model.Version, type: :list) + field(:workforceIdentityServiceEndpoint) + field(:updateTime, as: DateTime) + field(:displayName) field(:createTime, as: DateTime) - field(:cryptoKeyConfig, as: GoogleApi.DataFusion.V1.Model.CryptoKeyConfig) - field(:dataprocServiceAccount) + field(:dataplexDataLineageIntegrationEnabled) + field(:satisfiesPzs) + field(:patchRevision) + field(:zone) field(:description) + field(:serviceEndpoint) + field(:gcsBucket) + field(:networkConfig, as: GoogleApi.DataFusion.V1.Model.NetworkConfig) field(:disabledReason, type: :list) - field(:displayName) - field(:enableRbac) - field(:enableStackdriverLogging) field(:enableStackdriverMonitoring) - field(:eventPublishConfig, as: GoogleApi.DataFusion.V1.Model.EventPublishConfig) - field(:gcsBucket) - field(:labels, type: :map) field(:name) - field(:networkConfig, as: GoogleApi.DataFusion.V1.Model.NetworkConfig) - field(:options, type: :map) - field(:p4ServiceAccount) - field(:privateInstance) - field(:serviceAccount) - field(:serviceEndpoint) field(:state) - field(:stateMessage) field(:tenantProjectId) - field(:type) - field(:updateTime, as: DateTime) + field(:enableRbac) field(:version) - field(:zone) + field(:privateInstance) + field(:eventPublishConfig, as: GoogleApi.DataFusion.V1.Model.EventPublishConfig) + field(:enableZoneSeparation) + field(:type) + field(:serviceAccount) + field(:cryptoKeyConfig, as: GoogleApi.DataFusion.V1.Model.CryptoKeyConfig) + field(:apiEndpoint) + field(:stateMessage) + field(:options, type: :map) + field(:availableVersion, as: GoogleApi.DataFusion.V1.Model.Version, type: :list) + field(:dataprocServiceAccount) + field(:enableStackdriverLogging) + field(:labels, type: :map) end defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.Instance do diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1/model/location.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/location.ex index 1af62bbc04..1fd342c9c7 100644 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/location.ex +++ b/clients/data_fusion/lib/google_api/data_fusion/v1/model/location.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.DataFusion.V1.Model.Location do @moduledoc """ - A resource that represents Google Cloud Platform location. + A resource that represents a Google Cloud location. ## Attributes diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1/model/network_config.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/network_config.ex index 58b141253b..3b9acb2a58 100644 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/network_config.ex +++ b/clients/data_fusion/lib/google_api/data_fusion/v1/model/network_config.ex @@ -21,19 +21,29 @@ defmodule GoogleApi.DataFusion.V1.Model.NetworkConfig do ## Attributes - * `ipAllocation` (*type:* `String.t`, *default:* `nil`) - 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 customer network. - * `network` (*type:* `String.t`, *default:* `nil`) - 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} + * `connectionType` (*type:* `String.t`, *default:* `nil`) - 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. + * `ipAllocation` (*type:* `String.t`, *default:* `nil`) - 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 + * `network` (*type:* `String.t`, *default:* `nil`) - 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. + * `privateServiceConnectConfig` (*type:* `GoogleApi.DataFusion.V1.Model.PrivateServiceConnectConfig.t`, *default:* `nil`) - Optional. Configuration for Private Service Connect. This is required only when using connection type PRIVATE_SERVICE_CONNECT_INTERFACES. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ + :connectionType => String.t() | nil, :ipAllocation => String.t() | nil, - :network => String.t() | nil + :network => String.t() | nil, + :privateServiceConnectConfig => + GoogleApi.DataFusion.V1.Model.PrivateServiceConnectConfig.t() | nil } + field(:connectionType) field(:ipAllocation) field(:network) + + field(:privateServiceConnectConfig, + as: GoogleApi.DataFusion.V1.Model.PrivateServiceConnectConfig + ) end defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.NetworkConfig do diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1/model/operation.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/operation.ex index 90da9a9647..a92ec0d88d 100644 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/operation.ex +++ b/clients/data_fusion/lib/google_api/data_fusion/v1/model/operation.ex @@ -25,7 +25,7 @@ defmodule GoogleApi.DataFusion.V1.Model.Operation do * `error` (*type:* `GoogleApi.DataFusion.V1.Model.Status.t`, *default:* `nil`) - The error result of the operation in case of failure or cancellation. * `metadata` (*type:* `map()`, *default:* `nil`) - Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. * `name` (*type:* `String.t`, *default:* `nil`) - 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}`. - * `response` (*type:* `map()`, *default:* `nil`) - 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`. + * `response` (*type:* `map()`, *default:* `nil`) - 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`. """ use GoogleApi.Gax.ModelBase diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1/model/persistent_disk_data.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/persistent_disk_data.ex new file mode 100644 index 0000000000..17ec0cbf5d --- /dev/null +++ b/clients/data_fusion/lib/google_api/data_fusion/v1/model/persistent_disk_data.ex @@ -0,0 +1,49 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.DataFusion.V1.Model.PersistentDiskData do + @moduledoc """ + Persistent Disk service-specific Data. Contains information that may not be appropriate for the generic DRZ Augmented View. This currently includes LSV Colossus Roots and GCS Buckets. + + ## Attributes + + * `cfsRoots` (*type:* `list(String.t)`, *default:* `nil`) - Path to Colossus root for an LSV. NOTE: Unlike `cr_ti_guris` and `cr_ti_prefixes`, the field `cfs_roots` below does not need to be a GUri or GUri prefix. It can simply be any valid CFS or CFS2 Path. The DRZ KR8 SIG has more details overall, but generally the `cfs_roots` provided here should be scoped to an individual Persistent Disk. An example for a PD Disk with a disk ID 3277719120423414466, follows: * `cr_ti_guris` could be ‘/cfs2/pj/pd-cloud-prod’ as this is a valid GUri present in the DG KB and contains enough information to perform location monitoring and scope ownership of the Production Object. * `cfs_roots` would be: ‘/cfs2/pj/pd-cloud-staging/lsv000001234@/ lsv/projects~773365403387~zones~2700~disks~3277719120423414466 ~bank-blue-careful-3526-lsv00054DB1B7254BA3/’ as this allows us to enumerate the files on CFS2 that belong to an individual Disk. + * `gcsBucketNames` (*type:* `list(String.t)`, *default:* `nil`) - The GCS Buckets that back this snapshot or image. This is required as `cr_ti_prefixes` and `cr_ti_guris` only accept TI resources. This should be the globally unique bucket name. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :cfsRoots => list(String.t()) | nil, + :gcsBucketNames => list(String.t()) | nil + } + + field(:cfsRoots, type: :list) + field(:gcsBucketNames, type: :list) +end + +defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.PersistentDiskData do + def decode(value, options) do + GoogleApi.DataFusion.V1.Model.PersistentDiskData.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.PersistentDiskData do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1/model/policy.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/policy.ex index ff35614488..3de98ffb8a 100644 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/policy.ex +++ b/clients/data_fusion/lib/google_api/data_fusion/v1/model/policy.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.DataFusion.V1.Model.Policy do @moduledoc """ - 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/). ## Attributes diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1/model/private_service_connect_config.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/private_service_connect_config.ex new file mode 100644 index 0000000000..c709db0919 --- /dev/null +++ b/clients/data_fusion/lib/google_api/data_fusion/v1/model/private_service_connect_config.ex @@ -0,0 +1,52 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.DataFusion.V1.Model.PrivateServiceConnectConfig do + @moduledoc """ + Configuration for using Private Service Connect to establish connectivity between the Data Fusion consumer project and the corresponding tenant project. + + ## Attributes + + * `effectiveUnreachableCidrBlock` (*type:* `String.t`, *default:* `nil`) - 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 + * `networkAttachment` (*type:* `String.t`, *default:* `nil`) - 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}. + * `unreachableCidrBlock` (*type:* `String.t`, *default:* `nil`) - 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 + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :effectiveUnreachableCidrBlock => String.t() | nil, + :networkAttachment => String.t() | nil, + :unreachableCidrBlock => String.t() | nil + } + + field(:effectiveUnreachableCidrBlock) + field(:networkAttachment) + field(:unreachableCidrBlock) +end + +defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.PrivateServiceConnectConfig do + def decode(value, options) do + GoogleApi.DataFusion.V1.Model.PrivateServiceConnectConfig.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.PrivateServiceConnectConfig do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1/model/service_data.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/service_data.ex new file mode 100644 index 0000000000..f23ec0f41c --- /dev/null +++ b/clients/data_fusion/lib/google_api/data_fusion/v1/model/service_data.ex @@ -0,0 +1,46 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.DataFusion.V1.Model.ServiceData do + @moduledoc """ + This message defines service-specific data that certain service teams must provide as part of the Data Residency Augmented View for a resource. Next ID: 2 + + ## Attributes + + * `pd` (*type:* `GoogleApi.DataFusion.V1.Model.PersistentDiskData.t`, *default:* `nil`) - Auxiliary data for the persistent disk pipeline provided to provide the LSV Colossus Roots and GCS Buckets. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :pd => GoogleApi.DataFusion.V1.Model.PersistentDiskData.t() | nil + } + + field(:pd, as: GoogleApi.DataFusion.V1.Model.PersistentDiskData) +end + +defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.ServiceData do + def decode(value, options) do + GoogleApi.DataFusion.V1.Model.ServiceData.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.ServiceData do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/api/projects.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/api/projects.ex index 81d6fd9758..b5f3a7ec95 100644 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/api/projects.ex +++ b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/api/projects.ex @@ -248,7 +248,7 @@ defmodule GoogleApi.DataFusion.V1beta1.Api.Projects do * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:instanceId` (*type:* `String.t`) - Required. The name of the instance to create. + * `:instanceId` (*type:* `String.t`) - 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. * `:body` (*type:* `GoogleApi.DataFusion.V1beta1.Model.Instance.t`) - * `opts` (*type:* `keyword()`) - Call options @@ -1688,7 +1688,7 @@ defmodule GoogleApi.DataFusion.V1beta1.Api.Projects do end @doc """ - 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`. ## Parameters diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/metadata.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/metadata.ex index cdfba898af..35bb944fa9 100644 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/metadata.ex +++ b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.DataFusion.V1beta1 do API client metadata for GoogleApi.DataFusion.V1beta1. """ - @discovery_revision "20220908" + @discovery_revision "20240111" def discovery_revision(), do: @discovery_revision end diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/accelerator.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/accelerator.ex index 9fb1042228..cb28a5df45 100644 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/accelerator.ex +++ b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/accelerator.ex @@ -22,15 +22,18 @@ defmodule GoogleApi.DataFusion.V1beta1.Model.Accelerator do ## Attributes * `acceleratorType` (*type:* `String.t`, *default:* `nil`) - The type of an accelator for a CDF instance. + * `state` (*type:* `String.t`, *default:* `nil`) - The state of the accelerator. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ - :acceleratorType => String.t() | nil + :acceleratorType => String.t() | nil, + :state => String.t() | nil } field(:acceleratorType) + field(:state) end defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.Accelerator do diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/binding.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/binding.ex index 754b9627c5..ca82b18963 100644 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/binding.ex +++ b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/binding.ex @@ -22,7 +22,7 @@ defmodule GoogleApi.DataFusion.V1beta1.Model.Binding do ## Attributes * `condition` (*type:* `GoogleApi.DataFusion.V1beta1.Model.Expr.t`, *default:* `nil`) - 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). - * `members` (*type:* `list(String.t)`, *default:* `nil`) - 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`. + * `members` (*type:* `list(String.t)`, *default:* `nil`) - 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`. * `role` (*type:* `String.t`, *default:* `nil`) - Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. """ diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/data_residency_augmented_view.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/data_residency_augmented_view.ex new file mode 100644 index 0000000000..12b6e333e0 --- /dev/null +++ b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/data_residency_augmented_view.ex @@ -0,0 +1,55 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.DataFusion.V1beta1.Model.DataResidencyAugmentedView do + @moduledoc """ + Next tag: 7 + + ## Attributes + + * `crGopoGuris` (*type:* `list(String.t)`, *default:* `nil`) - Cloud resource to Google owned production object mapping in the form of GURIs. The GURIs should be available in DG KB storage/cns tables. This is the preferred way of providing cloud resource mappings. For further details please read go/cloud-resource-monitoring_sig + * `crGopoPrefixes` (*type:* `list(String.t)`, *default:* `nil`) - Cloud resource to Google owned production object mapping in the form of prefixes. These should be available in DG KB storage/cns tables. The entity type, which is the part of the string before the first colon in the GURI, must be completely specified in prefix. For details about GURI please read go/guri. For further details about the field please read go/cloud-resource-monitoring_sig. + * `serviceData` (*type:* `GoogleApi.DataFusion.V1beta1.Model.ServiceData.t`, *default:* `nil`) - Service-specific data. Only required for pre-determined services. Generally used to bind a Cloud Resource to some a TI container that uniquely specifies a customer. See milestone 2 of DRZ KR8 SIG for more information. + * `tpIds` (*type:* `list(String.t)`, *default:* `nil`) - The list of project_id's of the tenant projects in the 'google.com' org which serve the Cloud Resource. See go/drz-mst-sig for more details. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :crGopoGuris => list(String.t()) | nil, + :crGopoPrefixes => list(String.t()) | nil, + :serviceData => GoogleApi.DataFusion.V1beta1.Model.ServiceData.t() | nil, + :tpIds => list(String.t()) | nil + } + + field(:crGopoGuris, type: :list) + field(:crGopoPrefixes, type: :list) + field(:serviceData, as: GoogleApi.DataFusion.V1beta1.Model.ServiceData) + field(:tpIds, type: :list) +end + +defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.DataResidencyAugmentedView do + def decode(value, options) do + GoogleApi.DataFusion.V1beta1.Model.DataResidencyAugmentedView.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.DataResidencyAugmentedView do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/instance.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/instance.ex index 1a38e962e0..1f06b83e89 100644 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/instance.ex +++ b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/instance.ex @@ -21,100 +21,115 @@ defmodule GoogleApi.DataFusion.V1beta1.Model.Instance do ## Attributes - * `accelerators` (*type:* `list(GoogleApi.DataFusion.V1beta1.Model.Accelerator.t)`, *default:* `nil`) - List of accelerators enabled for this CDF instance. - * `apiEndpoint` (*type:* `String.t`, *default:* `nil`) - Output only. Endpoint on which the REST APIs is accessible. - * `availableVersion` (*type:* `list(GoogleApi.DataFusion.V1beta1.Model.Version.t)`, *default:* `nil`) - Available versions that the instance can be upgraded to using UpdateInstanceRequest. + * `p4ServiceAccount` (*type:* `String.t`, *default:* `nil`) - Output only. P4 service account for the customer project. + * `accelerators` (*type:* `list(GoogleApi.DataFusion.V1beta1.Model.Accelerator.t)`, *default:* `nil`) - Output only. List of accelerators enabled for this CDF instance. + * `workforceIdentityServiceEndpoint` (*type:* `String.t`, *default:* `nil`) - Output only. Endpoint on which the Data Fusion UI is accessible to third-party users. + * `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the instance was last updated. + * `displayName` (*type:* `String.t`, *default:* `nil`) - Display name for an instance. * `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the instance was created. - * `cryptoKeyConfig` (*type:* `GoogleApi.DataFusion.V1beta1.Model.CryptoKeyConfig.t`, *default:* `nil`) - The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature. - * `dataprocServiceAccount` (*type:* `String.t`, *default:* `nil`) - 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. + * `dataplexDataLineageIntegrationEnabled` (*type:* `boolean()`, *default:* `nil`) - Optional. Option to enable the Dataplex Lineage Integration feature. + * `satisfiesPzs` (*type:* `boolean()`, *default:* `nil`) - Output only. Reserved for future use. + * `patchRevision` (*type:* `String.t`, *default:* `nil`) - Optional. Current patch revision of the Data Fusion. + * `zone` (*type:* `String.t`, *default:* `nil`) - Name of the zone in which the Data Fusion instance will be created. Only DEVELOPER instances use this field. * `description` (*type:* `String.t`, *default:* `nil`) - A description of this instance. + * `serviceEndpoint` (*type:* `String.t`, *default:* `nil`) - Output only. Endpoint on which the Data Fusion UI is accessible. + * `gcsBucket` (*type:* `String.t`, *default:* `nil`) - Output only. Cloud Storage bucket generated by Data Fusion in the customer project. + * `networkConfig` (*type:* `GoogleApi.DataFusion.V1beta1.Model.NetworkConfig.t`, *default:* `nil`) - Network configuration options. These are required when a private Data Fusion instance is to be created. * `disabledReason` (*type:* `list(String.t)`, *default:* `nil`) - Output only. If the instance state is DISABLED, the reason for disabling the instance. - * `displayName` (*type:* `String.t`, *default:* `nil`) - Display name for an instance. - * `enableRbac` (*type:* `boolean()`, *default:* `nil`) - Option to enable granular role-based access control. - * `enableStackdriverLogging` (*type:* `boolean()`, *default:* `nil`) - Option to enable Stackdriver Logging. * `enableStackdriverMonitoring` (*type:* `boolean()`, *default:* `nil`) - Option to enable Stackdriver Monitoring. - * `eventPublishConfig` (*type:* `GoogleApi.DataFusion.V1beta1.Model.EventPublishConfig.t`, *default:* `nil`) - Option to enable and pass metadata for event publishing. - * `gcsBucket` (*type:* `String.t`, *default:* `nil`) - Output only. Cloud Storage bucket generated by Data Fusion in the customer project. - * `labels` (*type:* `map()`, *default:* `nil`) - The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs. The character '=' is not allowed to be used within the labels. * `name` (*type:* `String.t`, *default:* `nil`) - Output only. The name of this instance is in the form of projects/{project}/locations/{location}/instances/{instance}. - * `networkConfig` (*type:* `GoogleApi.DataFusion.V1beta1.Model.NetworkConfig.t`, *default:* `nil`) - Network configuration options. These are required when a private Data Fusion instance is to be created. - * `options` (*type:* `map()`, *default:* `nil`) - Map of additional options used to configure the behavior of Data Fusion instance. - * `p4ServiceAccount` (*type:* `String.t`, *default:* `nil`) - Output only. P4 service account for the customer project. - * `privateInstance` (*type:* `boolean()`, *default:* `nil`) - 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. - * `serviceAccount` (*type:* `String.t`, *default:* `nil`) - Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID. - * `serviceEndpoint` (*type:* `String.t`, *default:* `nil`) - Output only. Endpoint on which the Data Fusion UI is accessible. * `state` (*type:* `String.t`, *default:* `nil`) - Output only. The current state of this Data Fusion instance. - * `stateMessage` (*type:* `String.t`, *default:* `nil`) - Output only. Additional information about the current state of this Data Fusion instance if available. * `tenantProjectId` (*type:* `String.t`, *default:* `nil`) - Output only. The name of the tenant project. - * `type` (*type:* `String.t`, *default:* `nil`) - Required. Instance type. - * `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the instance was last updated. + * `enableRbac` (*type:* `boolean()`, *default:* `nil`) - Option to enable granular role-based access control. * `version` (*type:* `String.t`, *default:* `nil`) - Current version of Data Fusion. - * `zone` (*type:* `String.t`, *default:* `nil`) - Name of the zone in which the Data Fusion instance will be created. Only DEVELOPER instances use this field. + * `privateInstance` (*type:* `boolean()`, *default:* `nil`) - 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. + * `eventPublishConfig` (*type:* `GoogleApi.DataFusion.V1beta1.Model.EventPublishConfig.t`, *default:* `nil`) - Option to enable and pass metadata for event publishing. + * `enableZoneSeparation` (*type:* `boolean()`, *default:* `nil`) - Option to enable zone separation. + * `type` (*type:* `String.t`, *default:* `nil`) - Required. Instance type. + * `serviceAccount` (*type:* `String.t`, *default:* `nil`) - Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID. + * `cryptoKeyConfig` (*type:* `GoogleApi.DataFusion.V1beta1.Model.CryptoKeyConfig.t`, *default:* `nil`) - The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature. + * `apiEndpoint` (*type:* `String.t`, *default:* `nil`) - Output only. Endpoint on which the REST APIs is accessible. + * `stateMessage` (*type:* `String.t`, *default:* `nil`) - Output only. Additional information about the current state of this Data Fusion instance if available. + * `options` (*type:* `map()`, *default:* `nil`) - Map of additional options used to configure the behavior of Data Fusion instance. + * `availableVersion` (*type:* `list(GoogleApi.DataFusion.V1beta1.Model.Version.t)`, *default:* `nil`) - Output only. Available versions that the instance can be upgraded to using UpdateInstanceRequest. + * `dataprocServiceAccount` (*type:* `String.t`, *default:* `nil`) - 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. + * `enableStackdriverLogging` (*type:* `boolean()`, *default:* `nil`) - Option to enable Stackdriver Logging. + * `labels` (*type:* `map()`, *default:* `nil`) - The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs. The character '=' is not allowed to be used within the labels. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ + :p4ServiceAccount => String.t() | nil, :accelerators => list(GoogleApi.DataFusion.V1beta1.Model.Accelerator.t()) | nil, - :apiEndpoint => String.t() | nil, - :availableVersion => list(GoogleApi.DataFusion.V1beta1.Model.Version.t()) | nil, + :workforceIdentityServiceEndpoint => String.t() | nil, + :updateTime => DateTime.t() | nil, + :displayName => String.t() | nil, :createTime => DateTime.t() | nil, - :cryptoKeyConfig => GoogleApi.DataFusion.V1beta1.Model.CryptoKeyConfig.t() | nil, - :dataprocServiceAccount => String.t() | nil, + :dataplexDataLineageIntegrationEnabled => boolean() | nil, + :satisfiesPzs => boolean() | nil, + :patchRevision => String.t() | nil, + :zone => String.t() | nil, :description => String.t() | nil, + :serviceEndpoint => String.t() | nil, + :gcsBucket => String.t() | nil, + :networkConfig => GoogleApi.DataFusion.V1beta1.Model.NetworkConfig.t() | nil, :disabledReason => list(String.t()) | nil, - :displayName => String.t() | nil, - :enableRbac => boolean() | nil, - :enableStackdriverLogging => boolean() | nil, :enableStackdriverMonitoring => boolean() | nil, - :eventPublishConfig => GoogleApi.DataFusion.V1beta1.Model.EventPublishConfig.t() | nil, - :gcsBucket => String.t() | nil, - :labels => map() | nil, :name => String.t() | nil, - :networkConfig => GoogleApi.DataFusion.V1beta1.Model.NetworkConfig.t() | nil, - :options => map() | nil, - :p4ServiceAccount => String.t() | nil, - :privateInstance => boolean() | nil, - :serviceAccount => String.t() | nil, - :serviceEndpoint => String.t() | nil, :state => String.t() | nil, - :stateMessage => String.t() | nil, :tenantProjectId => String.t() | nil, - :type => String.t() | nil, - :updateTime => DateTime.t() | nil, + :enableRbac => boolean() | nil, :version => String.t() | nil, - :zone => String.t() | nil + :privateInstance => boolean() | nil, + :eventPublishConfig => GoogleApi.DataFusion.V1beta1.Model.EventPublishConfig.t() | nil, + :enableZoneSeparation => boolean() | nil, + :type => String.t() | nil, + :serviceAccount => String.t() | nil, + :cryptoKeyConfig => GoogleApi.DataFusion.V1beta1.Model.CryptoKeyConfig.t() | nil, + :apiEndpoint => String.t() | nil, + :stateMessage => String.t() | nil, + :options => map() | nil, + :availableVersion => list(GoogleApi.DataFusion.V1beta1.Model.Version.t()) | nil, + :dataprocServiceAccount => String.t() | nil, + :enableStackdriverLogging => boolean() | nil, + :labels => map() | nil } + field(:p4ServiceAccount) field(:accelerators, as: GoogleApi.DataFusion.V1beta1.Model.Accelerator, type: :list) - field(:apiEndpoint) - field(:availableVersion, as: GoogleApi.DataFusion.V1beta1.Model.Version, type: :list) + field(:workforceIdentityServiceEndpoint) + field(:updateTime, as: DateTime) + field(:displayName) field(:createTime, as: DateTime) - field(:cryptoKeyConfig, as: GoogleApi.DataFusion.V1beta1.Model.CryptoKeyConfig) - field(:dataprocServiceAccount) + field(:dataplexDataLineageIntegrationEnabled) + field(:satisfiesPzs) + field(:patchRevision) + field(:zone) field(:description) + field(:serviceEndpoint) + field(:gcsBucket) + field(:networkConfig, as: GoogleApi.DataFusion.V1beta1.Model.NetworkConfig) field(:disabledReason, type: :list) - field(:displayName) - field(:enableRbac) - field(:enableStackdriverLogging) field(:enableStackdriverMonitoring) - field(:eventPublishConfig, as: GoogleApi.DataFusion.V1beta1.Model.EventPublishConfig) - field(:gcsBucket) - field(:labels, type: :map) field(:name) - field(:networkConfig, as: GoogleApi.DataFusion.V1beta1.Model.NetworkConfig) - field(:options, type: :map) - field(:p4ServiceAccount) - field(:privateInstance) - field(:serviceAccount) - field(:serviceEndpoint) field(:state) - field(:stateMessage) field(:tenantProjectId) - field(:type) - field(:updateTime, as: DateTime) + field(:enableRbac) field(:version) - field(:zone) + field(:privateInstance) + field(:eventPublishConfig, as: GoogleApi.DataFusion.V1beta1.Model.EventPublishConfig) + field(:enableZoneSeparation) + field(:type) + field(:serviceAccount) + field(:cryptoKeyConfig, as: GoogleApi.DataFusion.V1beta1.Model.CryptoKeyConfig) + field(:apiEndpoint) + field(:stateMessage) + field(:options, type: :map) + field(:availableVersion, as: GoogleApi.DataFusion.V1beta1.Model.Version, type: :list) + field(:dataprocServiceAccount) + field(:enableStackdriverLogging) + field(:labels, type: :map) end defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.Instance do diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/location.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/location.ex index adae94dd1f..7ce4ab8b9e 100644 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/location.ex +++ b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/location.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.DataFusion.V1beta1.Model.Location do @moduledoc """ - A resource that represents Google Cloud Platform location. + A resource that represents a Google Cloud location. ## Attributes diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/network_config.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/network_config.ex index c4f54f2cac..47f4906784 100644 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/network_config.ex +++ b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/network_config.ex @@ -21,19 +21,29 @@ defmodule GoogleApi.DataFusion.V1beta1.Model.NetworkConfig do ## Attributes - * `ipAllocation` (*type:* `String.t`, *default:* `nil`) - 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. - * `network` (*type:* `String.t`, *default:* `nil`) - 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} + * `connectionType` (*type:* `String.t`, *default:* `nil`) - 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. + * `ipAllocation` (*type:* `String.t`, *default:* `nil`) - 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 + * `network` (*type:* `String.t`, *default:* `nil`) - 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. + * `privateServiceConnectConfig` (*type:* `GoogleApi.DataFusion.V1beta1.Model.PrivateServiceConnectConfig.t`, *default:* `nil`) - Optional. Configuration for Private Service Connect. This is required only when using connection type PRIVATE_SERVICE_CONNECT_INTERFACES. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ + :connectionType => String.t() | nil, :ipAllocation => String.t() | nil, - :network => String.t() | nil + :network => String.t() | nil, + :privateServiceConnectConfig => + GoogleApi.DataFusion.V1beta1.Model.PrivateServiceConnectConfig.t() | nil } + field(:connectionType) field(:ipAllocation) field(:network) + + field(:privateServiceConnectConfig, + as: GoogleApi.DataFusion.V1beta1.Model.PrivateServiceConnectConfig + ) end defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.NetworkConfig do diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/operation.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/operation.ex index e435cab566..88b1d22711 100644 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/operation.ex +++ b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/operation.ex @@ -25,7 +25,7 @@ defmodule GoogleApi.DataFusion.V1beta1.Model.Operation do * `error` (*type:* `GoogleApi.DataFusion.V1beta1.Model.Status.t`, *default:* `nil`) - The error result of the operation in case of failure or cancellation. * `metadata` (*type:* `map()`, *default:* `nil`) - Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. * `name` (*type:* `String.t`, *default:* `nil`) - 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}`. - * `response` (*type:* `map()`, *default:* `nil`) - 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`. + * `response` (*type:* `map()`, *default:* `nil`) - 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`. """ use GoogleApi.Gax.ModelBase diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/operation_metadata.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/operation_metadata.ex index d757e31592..6a607dea13 100644 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/operation_metadata.ex +++ b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/operation_metadata.ex @@ -21,6 +21,7 @@ defmodule GoogleApi.DataFusion.V1beta1.Model.OperationMetadata do ## Attributes + * `additionalStatus` (*type:* `map()`, *default:* `nil`) - Map to hold any additional status info for the operation If there is an accelerator being enabled/disabled/deleted, this will be populated with accelerator name as key and status as ENABLING, DISABLING or DELETING * `apiVersion` (*type:* `String.t`, *default:* `nil`) - API version used to start the operation. * `createTime` (*type:* `DateTime.t`, *default:* `nil`) - The time the operation was created. * `endTime` (*type:* `DateTime.t`, *default:* `nil`) - The time the operation finished running. @@ -33,6 +34,7 @@ defmodule GoogleApi.DataFusion.V1beta1.Model.OperationMetadata do use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ + :additionalStatus => map() | nil, :apiVersion => String.t() | nil, :createTime => DateTime.t() | nil, :endTime => DateTime.t() | nil, @@ -42,6 +44,7 @@ defmodule GoogleApi.DataFusion.V1beta1.Model.OperationMetadata do :verb => String.t() | nil } + field(:additionalStatus, type: :map) field(:apiVersion) field(:createTime, as: DateTime) field(:endTime, as: DateTime) diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/persistent_disk_data.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/persistent_disk_data.ex new file mode 100644 index 0000000000..29d1445bc8 --- /dev/null +++ b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/persistent_disk_data.ex @@ -0,0 +1,49 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.DataFusion.V1beta1.Model.PersistentDiskData do + @moduledoc """ + Persistent Disk service-specific Data. Contains information that may not be appropriate for the generic DRZ Augmented View. This currently includes LSV Colossus Roots and GCS Buckets. + + ## Attributes + + * `cfsRoots` (*type:* `list(String.t)`, *default:* `nil`) - Path to Colossus root for an LSV. NOTE: Unlike `cr_ti_guris` and `cr_ti_prefixes`, the field `cfs_roots` below does not need to be a GUri or GUri prefix. It can simply be any valid CFS or CFS2 Path. The DRZ KR8 SIG has more details overall, but generally the `cfs_roots` provided here should be scoped to an individual Persistent Disk. An example for a PD Disk with a disk ID 3277719120423414466, follows: * `cr_ti_guris` could be ‘/cfs2/pj/pd-cloud-prod’ as this is a valid GUri present in the DG KB and contains enough information to perform location monitoring and scope ownership of the Production Object. * `cfs_roots` would be: ‘/cfs2/pj/pd-cloud-staging/lsv000001234@/ lsv/projects~773365403387~zones~2700~disks~3277719120423414466 ~bank-blue-careful-3526-lsv00054DB1B7254BA3/’ as this allows us to enumerate the files on CFS2 that belong to an individual Disk. + * `gcsBucketNames` (*type:* `list(String.t)`, *default:* `nil`) - The GCS Buckets that back this snapshot or image. This is required as `cr_ti_prefixes` and `cr_ti_guris` only accept TI resources. This should be the globally unique bucket name. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :cfsRoots => list(String.t()) | nil, + :gcsBucketNames => list(String.t()) | nil + } + + field(:cfsRoots, type: :list) + field(:gcsBucketNames, type: :list) +end + +defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.PersistentDiskData do + def decode(value, options) do + GoogleApi.DataFusion.V1beta1.Model.PersistentDiskData.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.PersistentDiskData do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/policy.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/policy.ex index 99828440c8..b780ea1dd1 100644 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/policy.ex +++ b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/policy.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.DataFusion.V1beta1.Model.Policy do @moduledoc """ - 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/). ## Attributes diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/private_service_connect_config.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/private_service_connect_config.ex new file mode 100644 index 0000000000..6bbf212d40 --- /dev/null +++ b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/private_service_connect_config.ex @@ -0,0 +1,52 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.DataFusion.V1beta1.Model.PrivateServiceConnectConfig do + @moduledoc """ + Configuration for using Private Service Connect to establish connectivity between the Data Fusion consumer project and the corresponding tenant project. + + ## Attributes + + * `effectiveUnreachableCidrBlock` (*type:* `String.t`, *default:* `nil`) - 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 + * `networkAttachment` (*type:* `String.t`, *default:* `nil`) - 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}. + * `unreachableCidrBlock` (*type:* `String.t`, *default:* `nil`) - 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 + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :effectiveUnreachableCidrBlock => String.t() | nil, + :networkAttachment => String.t() | nil, + :unreachableCidrBlock => String.t() | nil + } + + field(:effectiveUnreachableCidrBlock) + field(:networkAttachment) + field(:unreachableCidrBlock) +end + +defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.PrivateServiceConnectConfig do + def decode(value, options) do + GoogleApi.DataFusion.V1beta1.Model.PrivateServiceConnectConfig.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.PrivateServiceConnectConfig do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/service_data.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/service_data.ex new file mode 100644 index 0000000000..493159b97a --- /dev/null +++ b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/service_data.ex @@ -0,0 +1,46 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.DataFusion.V1beta1.Model.ServiceData do + @moduledoc """ + This message defines service-specific data that certain service teams must provide as part of the Data Residency Augmented View for a resource. Next ID: 2 + + ## Attributes + + * `pd` (*type:* `GoogleApi.DataFusion.V1beta1.Model.PersistentDiskData.t`, *default:* `nil`) - Auxiliary data for the persistent disk pipeline provided to provide the LSV Colossus Roots and GCS Buckets. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :pd => GoogleApi.DataFusion.V1beta1.Model.PersistentDiskData.t() | nil + } + + field(:pd, as: GoogleApi.DataFusion.V1beta1.Model.PersistentDiskData) +end + +defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.ServiceData do + def decode(value, options) do + GoogleApi.DataFusion.V1beta1.Model.ServiceData.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.ServiceData do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end