diff --git a/clients/data_fusion/README.md b/clients/data_fusion/README.md index c6ded3cd46..d0dd274739 100644 --- a/clients/data_fusion/README.md +++ b/clients/data_fusion/README.md @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding ```elixir def deps do - [{:google_api_data_fusion, "~> 0.25"}] + [{:google_api_data_fusion, "~> 0.26"}] end ``` 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 93b38f21e6..529037debe 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 @@ -1026,7 +1026,7 @@ defmodule GoogleApi.DataFusion.V1.Api.Projects do end @doc """ - Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. ## 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 2923ee1125..cfaaeb1102 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 "20240703" + @discovery_revision "20241204" def discovery_revision(), do: @discovery_revision end diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1/model/asset_location.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/asset_location.ex deleted file mode 100644 index 8832bea5f7..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/asset_location.ex +++ /dev/null @@ -1,55 +0,0 @@ -# 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.AssetLocation do - @moduledoc """ - Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on its behalf. - - ## Attributes - - * `expected` (*type:* `GoogleApi.DataFusion.V1.Model.IsolationExpectations.t`, *default:* `nil`) - Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation. - * `extraParameters` (*type:* `list(GoogleApi.DataFusion.V1.Model.ExtraParameter.t)`, *default:* `nil`) - Defines extra parameters required for specific asset types. - * `locationData` (*type:* `list(GoogleApi.DataFusion.V1.Model.LocationData.t)`, *default:* `nil`) - Contains all kinds of physical location definitions for this asset. - * `parentAsset` (*type:* `list(GoogleApi.DataFusion.V1.Model.CloudAsset.t)`, *default:* `nil`) - Defines parents assets if any in order to allow later generation of child_asset_location data via child assets. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :expected => GoogleApi.DataFusion.V1.Model.IsolationExpectations.t() | nil, - :extraParameters => list(GoogleApi.DataFusion.V1.Model.ExtraParameter.t()) | nil, - :locationData => list(GoogleApi.DataFusion.V1.Model.LocationData.t()) | nil, - :parentAsset => list(GoogleApi.DataFusion.V1.Model.CloudAsset.t()) | nil - } - - field(:expected, as: GoogleApi.DataFusion.V1.Model.IsolationExpectations) - field(:extraParameters, as: GoogleApi.DataFusion.V1.Model.ExtraParameter, type: :list) - field(:locationData, as: GoogleApi.DataFusion.V1.Model.LocationData, type: :list) - field(:parentAsset, as: GoogleApi.DataFusion.V1.Model.CloudAsset, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.AssetLocation do - def decode(value, options) do - GoogleApi.DataFusion.V1.Model.AssetLocation.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.AssetLocation 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/blobstore_location.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/blobstore_location.ex deleted file mode 100644 index a308d55f0f..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/blobstore_location.ex +++ /dev/null @@ -1,46 +0,0 @@ -# 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.BlobstoreLocation do - @moduledoc """ - Policy ID that identified data placement in Blobstore as per go/blobstore-user-guide#data-metadata-placement-and-failure-domains - - ## Attributes - - * `policyId` (*type:* `list(String.t)`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :policyId => list(String.t()) | nil - } - - field(:policyId, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.BlobstoreLocation do - def decode(value, options) do - GoogleApi.DataFusion.V1.Model.BlobstoreLocation.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.BlobstoreLocation 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/cloud_asset.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/cloud_asset.ex deleted file mode 100644 index 7cc9f3020c..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/cloud_asset.ex +++ /dev/null @@ -1,49 +0,0 @@ -# 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.CloudAsset do - @moduledoc """ - - - ## Attributes - - * `assetName` (*type:* `String.t`, *default:* `nil`) - - * `assetType` (*type:* `String.t`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :assetName => String.t() | nil, - :assetType => String.t() | nil - } - - field(:assetName) - field(:assetType) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.CloudAsset do - def decode(value, options) do - GoogleApi.DataFusion.V1.Model.CloudAsset.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.CloudAsset 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/cloud_asset_composition.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/cloud_asset_composition.ex deleted file mode 100644 index 6877eddf1e..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/cloud_asset_composition.ex +++ /dev/null @@ -1,46 +0,0 @@ -# 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.CloudAssetComposition do - @moduledoc """ - - - ## Attributes - - * `childAsset` (*type:* `list(GoogleApi.DataFusion.V1.Model.CloudAsset.t)`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :childAsset => list(GoogleApi.DataFusion.V1.Model.CloudAsset.t()) | nil - } - - field(:childAsset, as: GoogleApi.DataFusion.V1.Model.CloudAsset, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.CloudAssetComposition do - def decode(value, options) do - GoogleApi.DataFusion.V1.Model.CloudAssetComposition.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.CloudAssetComposition 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/crypto_key_config.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/crypto_key_config.ex index 0089d74a89..37fca3a419 100644 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/crypto_key_config.ex +++ b/clients/data_fusion/lib/google_api/data_fusion/v1/model/crypto_key_config.ex @@ -21,7 +21,7 @@ defmodule GoogleApi.DataFusion.V1.Model.CryptoKeyConfig do ## Attributes - * `keyReference` (*type:* `String.t`, *default:* `nil`) - The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + * `keyReference` (*type:* `String.t`, *default:* `nil`) - Optional. The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`. """ use GoogleApi.Gax.ModelBase diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1/model/direct_location_assignment.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/direct_location_assignment.ex deleted file mode 100644 index d5607baf69..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/direct_location_assignment.ex +++ /dev/null @@ -1,46 +0,0 @@ -# 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.DirectLocationAssignment do - @moduledoc """ - - - ## Attributes - - * `location` (*type:* `list(GoogleApi.DataFusion.V1.Model.LocationAssignment.t)`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :location => list(GoogleApi.DataFusion.V1.Model.LocationAssignment.t()) | nil - } - - field(:location, as: GoogleApi.DataFusion.V1.Model.LocationAssignment, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.DirectLocationAssignment do - def decode(value, options) do - GoogleApi.DataFusion.V1.Model.DirectLocationAssignment.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.DirectLocationAssignment 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/dns_peering.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/dns_peering.ex index bb83337bc6..4d74af47f2 100644 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/dns_peering.ex +++ b/clients/data_fusion/lib/google_api/data_fusion/v1/model/dns_peering.ex @@ -23,7 +23,7 @@ defmodule GoogleApi.DataFusion.V1.Model.DnsPeering do * `description` (*type:* `String.t`, *default:* `nil`) - Optional. Optional description of the dns zone. * `domain` (*type:* `String.t`, *default:* `nil`) - Required. The dns name suffix of the zone. - * `name` (*type:* `String.t`, *default:* `nil`) - Required. The resource name of the dns peering zone. Format: projects/{project}/locations/{location}/instances/{instance}/dnsPeerings/{dns_peering} + * `name` (*type:* `String.t`, *default:* `nil`) - Identifier. The resource name of the dns peering zone. Format: projects/{project}/locations/{location}/instances/{instance}/dnsPeerings/{dns_peering} * `targetNetwork` (*type:* `String.t`, *default:* `nil`) - Optional. Optional target network to which dns peering should happen. * `targetProject` (*type:* `String.t`, *default:* `nil`) - Optional. Optional target project to which dns peering should happen. """ diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1/model/extra_parameter.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/extra_parameter.ex deleted file mode 100644 index 2382e4e435..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/extra_parameter.ex +++ /dev/null @@ -1,49 +0,0 @@ -# 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.ExtraParameter do - @moduledoc """ - Defines parameters that should only be used for specific asset types. - - ## Attributes - - * `regionalMigDistributionPolicy` (*type:* `GoogleApi.DataFusion.V1.Model.RegionalMigDistributionPolicy.t`, *default:* `nil`) - Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :regionalMigDistributionPolicy => - GoogleApi.DataFusion.V1.Model.RegionalMigDistributionPolicy.t() | nil - } - - field(:regionalMigDistributionPolicy, - as: GoogleApi.DataFusion.V1.Model.RegionalMigDistributionPolicy - ) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.ExtraParameter do - def decode(value, options) do - GoogleApi.DataFusion.V1.Model.ExtraParameter.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.ExtraParameter 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 2309e0a896..b5b0091fd5 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,40 +21,40 @@ defmodule GoogleApi.DataFusion.V1.Model.Instance do ## Attributes - * `enableZoneSeparation` (*type:* `boolean()`, *default:* `nil`) - Option to enable granular zone separation. + * `enableZoneSeparation` (*type:* `boolean()`, *default:* `nil`) - Output only. Option to enable granular zone separation. * `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. + * `cryptoKeyConfig` (*type:* `GoogleApi.DataFusion.V1.Model.CryptoKeyConfig.t`, *default:* `nil`) - Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature. * `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the instance was created. * `state` (*type:* `String.t`, *default:* `nil`) - Output only. The current state of this Data Fusion instance. * `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}. * `stateMessage` (*type:* `String.t`, *default:* `nil`) - Output only. Additional information about the current state of this Data Fusion instance if available. * `dataplexDataLineageIntegrationEnabled` (*type:* `boolean()`, *default:* `nil`) - Optional. Option to enable the Dataplex Lineage Integration feature. - * `enableStackdriverLogging` (*type:* `boolean()`, *default:* `nil`) - Option to enable Stackdriver Logging. - * `description` (*type:* `String.t`, *default:* `nil`) - A description of this instance. - * `displayName` (*type:* `String.t`, *default:* `nil`) - Display name for an instance. + * `enableStackdriverLogging` (*type:* `boolean()`, *default:* `nil`) - Optional. Option to enable Stackdriver Logging. + * `description` (*type:* `String.t`, *default:* `nil`) - Optional. A description of this instance. + * `displayName` (*type:* `String.t`, *default:* `nil`) - Optional. Display name for an instance. * `satisfiesPzs` (*type:* `boolean()`, *default:* `nil`) - Output only. Reserved for future use. * `serviceEndpoint` (*type:* `String.t`, *default:* `nil`) - Output only. Endpoint on which the Data Fusion UI is accessible. * `maintenancePolicy` (*type:* `GoogleApi.DataFusion.V1.Model.MaintenancePolicy.t`, *default:* `nil`) - Optional. Configure the maintenance policy for this instance. * `options` (*type:* `map()`, *default:* `nil`) - Map of additional options used to configure the behavior of Data Fusion instance. * `gcsBucket` (*type:* `String.t`, *default:* `nil`) - Output only. Cloud Storage bucket generated by Data Fusion in the customer project. * `accelerators` (*type:* `list(GoogleApi.DataFusion.V1.Model.Accelerator.t)`, *default:* `nil`) - Output only. List of accelerators enabled for this CDF instance. - * `enableRbac` (*type:* `boolean()`, *default:* `nil`) - Option to enable granular role-based access control. + * `enableRbac` (*type:* `boolean()`, *default:* `nil`) - Optional. Option to enable granular role-based access control. * `workforceIdentityServiceEndpoint` (*type:* `String.t`, *default:* `nil`) - Output only. Endpoint on which the Data Fusion UI is accessible to third-party users * `p4ServiceAccount` (*type:* `String.t`, *default:* `nil`) - Output only. Service agent for the customer project. - * `enableStackdriverMonitoring` (*type:* `boolean()`, *default:* `nil`) - Option to enable Stackdriver Monitoring. - * `version` (*type:* `String.t`, *default:* `nil`) - Current version of the Data Fusion. Only specifiable in Update. + * `enableStackdriverMonitoring` (*type:* `boolean()`, *default:* `nil`) - Optional. Option to enable Stackdriver Monitoring. + * `version` (*type:* `String.t`, *default:* `nil`) - Optional. Current version of the Data Fusion. Only specifiable in Update. * `patchRevision` (*type:* `String.t`, *default:* `nil`) - Optional. Current patch revision of the Data Fusion. - * `eventPublishConfig` (*type:* `GoogleApi.DataFusion.V1.Model.EventPublishConfig.t`, *default:* `nil`) - Option to enable and pass metadata for event publishing. - * `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. - * `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. + * `eventPublishConfig` (*type:* `GoogleApi.DataFusion.V1.Model.EventPublishConfig.t`, *default:* `nil`) - Optional. Option to enable and pass metadata for event publishing. + * `zone` (*type:* `String.t`, *default:* `nil`) - Optional. Name of the zone in which the Data Fusion instance will be created. Only DEVELOPER instances use this field. + * `dataprocServiceAccount` (*type:* `String.t`, *default:* `nil`) - Optional. 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. * `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`) - Output only. Available versions that the instance can be upgraded to using UpdateInstanceRequest. * `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the instance was last updated. * `type` (*type:* `String.t`, *default:* `nil`) - Required. Instance type. - * `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. + * `privateInstance` (*type:* `boolean()`, *default:* `nil`) - Optional. 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. * `disabledReason` (*type:* `list(String.t)`, *default:* `nil`) - Output only. If the instance state is DISABLED, the reason for disabling the 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. + * `networkConfig` (*type:* `GoogleApi.DataFusion.V1.Model.NetworkConfig.t`, *default:* `nil`) - Optional. Network configuration options. These are required when a private Data Fusion instance is to be created. * `tenantProjectId` (*type:* `String.t`, *default:* `nil`) - Output only. The name of the tenant project. """ diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1/model/isolation_expectations.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/isolation_expectations.ex deleted file mode 100644 index 0678759ce8..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/isolation_expectations.ex +++ /dev/null @@ -1,64 +0,0 @@ -# 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.IsolationExpectations do - @moduledoc """ - - - ## Attributes - - * `ziOrgPolicy` (*type:* `String.t`, *default:* `nil`) - - * `ziRegionPolicy` (*type:* `String.t`, *default:* `nil`) - - * `ziRegionState` (*type:* `String.t`, *default:* `nil`) - - * `zoneIsolation` (*type:* `String.t`, *default:* `nil`) - Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as per go/zicy-publish-physical-location. - * `zoneSeparation` (*type:* `String.t`, *default:* `nil`) - Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per go/zicy-publish-physical-location. - * `zsOrgPolicy` (*type:* `String.t`, *default:* `nil`) - - * `zsRegionState` (*type:* `String.t`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :ziOrgPolicy => String.t() | nil, - :ziRegionPolicy => String.t() | nil, - :ziRegionState => String.t() | nil, - :zoneIsolation => String.t() | nil, - :zoneSeparation => String.t() | nil, - :zsOrgPolicy => String.t() | nil, - :zsRegionState => String.t() | nil - } - - field(:ziOrgPolicy) - field(:ziRegionPolicy) - field(:ziRegionState) - field(:zoneIsolation) - field(:zoneSeparation) - field(:zsOrgPolicy) - field(:zsRegionState) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.IsolationExpectations do - def decode(value, options) do - GoogleApi.DataFusion.V1.Model.IsolationExpectations.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.IsolationExpectations 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/list_available_versions_response.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/list_available_versions_response.ex index 77ffeb4b97..285b953e92 100644 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/list_available_versions_response.ex +++ b/clients/data_fusion/lib/google_api/data_fusion/v1/model/list_available_versions_response.ex @@ -21,19 +21,22 @@ defmodule GoogleApi.DataFusion.V1.Model.ListAvailableVersionsResponse do ## Attributes - * `availableVersions` (*type:* `list(GoogleApi.DataFusion.V1.Model.Version.t)`, *default:* `nil`) - Represents a list of versions that are supported. + * `availableVersions` (*type:* `list(GoogleApi.DataFusion.V1.Model.Version.t)`, *default:* `nil`) - Represents a list of versions that are supported. Deprecated: Use versions field instead. * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Token to retrieve the next page of results or empty if there are no more results in the list. + * `versions` (*type:* `list(GoogleApi.DataFusion.V1.Model.Version.t)`, *default:* `nil`) - Represents a list of all versions. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ :availableVersions => list(GoogleApi.DataFusion.V1.Model.Version.t()) | nil, - :nextPageToken => String.t() | nil + :nextPageToken => String.t() | nil, + :versions => list(GoogleApi.DataFusion.V1.Model.Version.t()) | nil } field(:availableVersions, as: GoogleApi.DataFusion.V1.Model.Version, type: :list) field(:nextPageToken) + field(:versions, as: GoogleApi.DataFusion.V1.Model.Version, type: :list) end defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.ListAvailableVersionsResponse do diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1/model/location_assignment.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/location_assignment.ex deleted file mode 100644 index 4931ac790b..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/location_assignment.ex +++ /dev/null @@ -1,49 +0,0 @@ -# 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.LocationAssignment do - @moduledoc """ - - - ## Attributes - - * `location` (*type:* `String.t`, *default:* `nil`) - - * `locationType` (*type:* `String.t`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :location => String.t() | nil, - :locationType => String.t() | nil - } - - field(:location) - field(:locationType) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.LocationAssignment do - def decode(value, options) do - GoogleApi.DataFusion.V1.Model.LocationAssignment.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.LocationAssignment 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/location_data.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/location_data.ex deleted file mode 100644 index 6a24f960c8..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/location_data.ex +++ /dev/null @@ -1,61 +0,0 @@ -# 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.LocationData do - @moduledoc """ - - - ## Attributes - - * `blobstoreLocation` (*type:* `GoogleApi.DataFusion.V1.Model.BlobstoreLocation.t`, *default:* `nil`) - - * `childAssetLocation` (*type:* `GoogleApi.DataFusion.V1.Model.CloudAssetComposition.t`, *default:* `nil`) - - * `directLocation` (*type:* `GoogleApi.DataFusion.V1.Model.DirectLocationAssignment.t`, *default:* `nil`) - - * `gcpProjectProxy` (*type:* `GoogleApi.DataFusion.V1.Model.TenantProjectProxy.t`, *default:* `nil`) - - * `placerLocation` (*type:* `GoogleApi.DataFusion.V1.Model.PlacerLocation.t`, *default:* `nil`) - - * `spannerLocation` (*type:* `GoogleApi.DataFusion.V1.Model.SpannerLocation.t`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :blobstoreLocation => GoogleApi.DataFusion.V1.Model.BlobstoreLocation.t() | nil, - :childAssetLocation => GoogleApi.DataFusion.V1.Model.CloudAssetComposition.t() | nil, - :directLocation => GoogleApi.DataFusion.V1.Model.DirectLocationAssignment.t() | nil, - :gcpProjectProxy => GoogleApi.DataFusion.V1.Model.TenantProjectProxy.t() | nil, - :placerLocation => GoogleApi.DataFusion.V1.Model.PlacerLocation.t() | nil, - :spannerLocation => GoogleApi.DataFusion.V1.Model.SpannerLocation.t() | nil - } - - field(:blobstoreLocation, as: GoogleApi.DataFusion.V1.Model.BlobstoreLocation) - field(:childAssetLocation, as: GoogleApi.DataFusion.V1.Model.CloudAssetComposition) - field(:directLocation, as: GoogleApi.DataFusion.V1.Model.DirectLocationAssignment) - field(:gcpProjectProxy, as: GoogleApi.DataFusion.V1.Model.TenantProjectProxy) - field(:placerLocation, as: GoogleApi.DataFusion.V1.Model.PlacerLocation) - field(:spannerLocation, as: GoogleApi.DataFusion.V1.Model.SpannerLocation) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.LocationData do - def decode(value, options) do - GoogleApi.DataFusion.V1.Model.LocationData.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.LocationData 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/placer_location.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/placer_location.ex deleted file mode 100644 index 50e783569b..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/placer_location.ex +++ /dev/null @@ -1,46 +0,0 @@ -# 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.PlacerLocation do - @moduledoc """ - Message describing that the location of the customer resource is tied to placer allocations - - ## Attributes - - * `placerConfig` (*type:* `String.t`, *default:* `nil`) - Directory with a config related to it in placer (e.g. "/placer/prod/home/my-root/my-dir") - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :placerConfig => String.t() | nil - } - - field(:placerConfig) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.PlacerLocation do - def decode(value, options) do - GoogleApi.DataFusion.V1.Model.PlacerLocation.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.PlacerLocation 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/regional_mig_distribution_policy.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/regional_mig_distribution_policy.ex deleted file mode 100644 index ac78b5eff3..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/regional_mig_distribution_policy.ex +++ /dev/null @@ -1,49 +0,0 @@ -# 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.RegionalMigDistributionPolicy do - @moduledoc """ - To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager instances - - ## Attributes - - * `targetShape` (*type:* `integer()`, *default:* `nil`) - The shape in which the group converges around distribution of resources. Instance of proto2 enum - * `zones` (*type:* `list(GoogleApi.DataFusion.V1.Model.ZoneConfiguration.t)`, *default:* `nil`) - Cloud zones used by regional MIG to create instances. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :targetShape => integer() | nil, - :zones => list(GoogleApi.DataFusion.V1.Model.ZoneConfiguration.t()) | nil - } - - field(:targetShape) - field(:zones, as: GoogleApi.DataFusion.V1.Model.ZoneConfiguration, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.RegionalMigDistributionPolicy do - def decode(value, options) do - GoogleApi.DataFusion.V1.Model.RegionalMigDistributionPolicy.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.RegionalMigDistributionPolicy 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/spanner_location.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/spanner_location.ex deleted file mode 100644 index 8cda4714c3..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/spanner_location.ex +++ /dev/null @@ -1,49 +0,0 @@ -# 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.SpannerLocation do - @moduledoc """ - - - ## Attributes - - * `backupName` (*type:* `list(String.t)`, *default:* `nil`) - Set of backups used by the resource with name in the same format as what is available at http://table/spanner_automon.backup_metadata - * `dbName` (*type:* `list(String.t)`, *default:* `nil`) - Set of databases used by the resource in format /span// - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :backupName => list(String.t()) | nil, - :dbName => list(String.t()) | nil - } - - field(:backupName, type: :list) - field(:dbName, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.SpannerLocation do - def decode(value, options) do - GoogleApi.DataFusion.V1.Model.SpannerLocation.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.SpannerLocation 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/tenant_project_proxy.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/tenant_project_proxy.ex deleted file mode 100644 index 9295e71922..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/tenant_project_proxy.ex +++ /dev/null @@ -1,46 +0,0 @@ -# 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.TenantProjectProxy do - @moduledoc """ - - - ## Attributes - - * `projectNumbers` (*type:* `list(String.t)`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :projectNumbers => list(String.t()) | nil - } - - field(:projectNumbers, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.TenantProjectProxy do - def decode(value, options) do - GoogleApi.DataFusion.V1.Model.TenantProjectProxy.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.TenantProjectProxy 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/zone_configuration.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/zone_configuration.ex deleted file mode 100644 index 8bb28293f7..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/zone_configuration.ex +++ /dev/null @@ -1,46 +0,0 @@ -# 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.ZoneConfiguration do - @moduledoc """ - - - ## Attributes - - * `zone` (*type:* `String.t`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :zone => String.t() | nil - } - - field(:zone) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.ZoneConfiguration do - def decode(value, options) do - GoogleApi.DataFusion.V1.Model.ZoneConfiguration.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.ZoneConfiguration 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 3bb469dbe2..dcf4ddf7e3 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 @@ -1474,7 +1474,7 @@ defmodule GoogleApi.DataFusion.V1beta1.Api.Projects do end @doc """ - Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. ## 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 8725a8e506..a7fe30e85e 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 "20240703" + @discovery_revision "20241204" def discovery_revision(), do: @discovery_revision end diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/asset_location.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/asset_location.ex deleted file mode 100644 index a0bd4b8362..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/asset_location.ex +++ /dev/null @@ -1,55 +0,0 @@ -# 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.AssetLocation do - @moduledoc """ - Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on its behalf. - - ## Attributes - - * `expected` (*type:* `GoogleApi.DataFusion.V1beta1.Model.IsolationExpectations.t`, *default:* `nil`) - Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation. - * `extraParameters` (*type:* `list(GoogleApi.DataFusion.V1beta1.Model.ExtraParameter.t)`, *default:* `nil`) - Defines extra parameters required for specific asset types. - * `locationData` (*type:* `list(GoogleApi.DataFusion.V1beta1.Model.LocationData.t)`, *default:* `nil`) - Contains all kinds of physical location definitions for this asset. - * `parentAsset` (*type:* `list(GoogleApi.DataFusion.V1beta1.Model.CloudAsset.t)`, *default:* `nil`) - Defines parents assets if any in order to allow later generation of child_asset_location data via child assets. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :expected => GoogleApi.DataFusion.V1beta1.Model.IsolationExpectations.t() | nil, - :extraParameters => list(GoogleApi.DataFusion.V1beta1.Model.ExtraParameter.t()) | nil, - :locationData => list(GoogleApi.DataFusion.V1beta1.Model.LocationData.t()) | nil, - :parentAsset => list(GoogleApi.DataFusion.V1beta1.Model.CloudAsset.t()) | nil - } - - field(:expected, as: GoogleApi.DataFusion.V1beta1.Model.IsolationExpectations) - field(:extraParameters, as: GoogleApi.DataFusion.V1beta1.Model.ExtraParameter, type: :list) - field(:locationData, as: GoogleApi.DataFusion.V1beta1.Model.LocationData, type: :list) - field(:parentAsset, as: GoogleApi.DataFusion.V1beta1.Model.CloudAsset, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.AssetLocation do - def decode(value, options) do - GoogleApi.DataFusion.V1beta1.Model.AssetLocation.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.AssetLocation 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/blobstore_location.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/blobstore_location.ex deleted file mode 100644 index 357e4fe982..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/blobstore_location.ex +++ /dev/null @@ -1,46 +0,0 @@ -# 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.BlobstoreLocation do - @moduledoc """ - Policy ID that identified data placement in Blobstore as per go/blobstore-user-guide#data-metadata-placement-and-failure-domains - - ## Attributes - - * `policyId` (*type:* `list(String.t)`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :policyId => list(String.t()) | nil - } - - field(:policyId, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.BlobstoreLocation do - def decode(value, options) do - GoogleApi.DataFusion.V1beta1.Model.BlobstoreLocation.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.BlobstoreLocation 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/cloud_asset.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/cloud_asset.ex deleted file mode 100644 index 5ee2a28747..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/cloud_asset.ex +++ /dev/null @@ -1,49 +0,0 @@ -# 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.CloudAsset do - @moduledoc """ - - - ## Attributes - - * `assetName` (*type:* `String.t`, *default:* `nil`) - - * `assetType` (*type:* `String.t`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :assetName => String.t() | nil, - :assetType => String.t() | nil - } - - field(:assetName) - field(:assetType) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.CloudAsset do - def decode(value, options) do - GoogleApi.DataFusion.V1beta1.Model.CloudAsset.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.CloudAsset 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/cloud_asset_composition.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/cloud_asset_composition.ex deleted file mode 100644 index 7191e37841..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/cloud_asset_composition.ex +++ /dev/null @@ -1,46 +0,0 @@ -# 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.CloudAssetComposition do - @moduledoc """ - - - ## Attributes - - * `childAsset` (*type:* `list(GoogleApi.DataFusion.V1beta1.Model.CloudAsset.t)`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :childAsset => list(GoogleApi.DataFusion.V1beta1.Model.CloudAsset.t()) | nil - } - - field(:childAsset, as: GoogleApi.DataFusion.V1beta1.Model.CloudAsset, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.CloudAssetComposition do - def decode(value, options) do - GoogleApi.DataFusion.V1beta1.Model.CloudAssetComposition.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.CloudAssetComposition 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/direct_location_assignment.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/direct_location_assignment.ex deleted file mode 100644 index bd87701fbd..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/direct_location_assignment.ex +++ /dev/null @@ -1,46 +0,0 @@ -# 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.DirectLocationAssignment do - @moduledoc """ - - - ## Attributes - - * `location` (*type:* `list(GoogleApi.DataFusion.V1beta1.Model.LocationAssignment.t)`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :location => list(GoogleApi.DataFusion.V1beta1.Model.LocationAssignment.t()) | nil - } - - field(:location, as: GoogleApi.DataFusion.V1beta1.Model.LocationAssignment, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.DirectLocationAssignment do - def decode(value, options) do - GoogleApi.DataFusion.V1beta1.Model.DirectLocationAssignment.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.DirectLocationAssignment 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/extra_parameter.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/extra_parameter.ex deleted file mode 100644 index eb1095a319..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/extra_parameter.ex +++ /dev/null @@ -1,49 +0,0 @@ -# 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.ExtraParameter do - @moduledoc """ - Defines parameters that should only be used for specific asset types. - - ## Attributes - - * `regionalMigDistributionPolicy` (*type:* `GoogleApi.DataFusion.V1beta1.Model.RegionalMigDistributionPolicy.t`, *default:* `nil`) - Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :regionalMigDistributionPolicy => - GoogleApi.DataFusion.V1beta1.Model.RegionalMigDistributionPolicy.t() | nil - } - - field(:regionalMigDistributionPolicy, - as: GoogleApi.DataFusion.V1beta1.Model.RegionalMigDistributionPolicy - ) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.ExtraParameter do - def decode(value, options) do - GoogleApi.DataFusion.V1beta1.Model.ExtraParameter.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.ExtraParameter 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/isolation_expectations.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/isolation_expectations.ex deleted file mode 100644 index c19053fc4f..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/isolation_expectations.ex +++ /dev/null @@ -1,64 +0,0 @@ -# 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.IsolationExpectations do - @moduledoc """ - - - ## Attributes - - * `ziOrgPolicy` (*type:* `String.t`, *default:* `nil`) - - * `ziRegionPolicy` (*type:* `String.t`, *default:* `nil`) - - * `ziRegionState` (*type:* `String.t`, *default:* `nil`) - - * `zoneIsolation` (*type:* `String.t`, *default:* `nil`) - Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as per go/zicy-publish-physical-location. - * `zoneSeparation` (*type:* `String.t`, *default:* `nil`) - Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per go/zicy-publish-physical-location. - * `zsOrgPolicy` (*type:* `String.t`, *default:* `nil`) - - * `zsRegionState` (*type:* `String.t`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :ziOrgPolicy => String.t() | nil, - :ziRegionPolicy => String.t() | nil, - :ziRegionState => String.t() | nil, - :zoneIsolation => String.t() | nil, - :zoneSeparation => String.t() | nil, - :zsOrgPolicy => String.t() | nil, - :zsRegionState => String.t() | nil - } - - field(:ziOrgPolicy) - field(:ziRegionPolicy) - field(:ziRegionState) - field(:zoneIsolation) - field(:zoneSeparation) - field(:zsOrgPolicy) - field(:zsRegionState) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.IsolationExpectations do - def decode(value, options) do - GoogleApi.DataFusion.V1beta1.Model.IsolationExpectations.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.IsolationExpectations 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/list_available_versions_response.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/list_available_versions_response.ex index 7ae9a83678..cfdb430025 100644 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/list_available_versions_response.ex +++ b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/list_available_versions_response.ex @@ -21,19 +21,22 @@ defmodule GoogleApi.DataFusion.V1beta1.Model.ListAvailableVersionsResponse do ## Attributes - * `availableVersions` (*type:* `list(GoogleApi.DataFusion.V1beta1.Model.Version.t)`, *default:* `nil`) - Represents a list of versions that are supported. + * `availableVersions` (*type:* `list(GoogleApi.DataFusion.V1beta1.Model.Version.t)`, *default:* `nil`) - Represents a list of versions that are supported. Deprecated: Use versions field instead. * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Token to retrieve the next page of results or empty if there are no more results in the list. + * `versions` (*type:* `list(GoogleApi.DataFusion.V1beta1.Model.Version.t)`, *default:* `nil`) - Represents a list of all versions. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ :availableVersions => list(GoogleApi.DataFusion.V1beta1.Model.Version.t()) | nil, - :nextPageToken => String.t() | nil + :nextPageToken => String.t() | nil, + :versions => list(GoogleApi.DataFusion.V1beta1.Model.Version.t()) | nil } field(:availableVersions, as: GoogleApi.DataFusion.V1beta1.Model.Version, type: :list) field(:nextPageToken) + field(:versions, as: GoogleApi.DataFusion.V1beta1.Model.Version, type: :list) end defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.ListAvailableVersionsResponse do diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/location_assignment.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/location_assignment.ex deleted file mode 100644 index 7e09ffbe01..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/location_assignment.ex +++ /dev/null @@ -1,49 +0,0 @@ -# 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.LocationAssignment do - @moduledoc """ - - - ## Attributes - - * `location` (*type:* `String.t`, *default:* `nil`) - - * `locationType` (*type:* `String.t`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :location => String.t() | nil, - :locationType => String.t() | nil - } - - field(:location) - field(:locationType) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.LocationAssignment do - def decode(value, options) do - GoogleApi.DataFusion.V1beta1.Model.LocationAssignment.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.LocationAssignment 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/location_data.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/location_data.ex deleted file mode 100644 index e714cf839d..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/location_data.ex +++ /dev/null @@ -1,63 +0,0 @@ -# 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.LocationData do - @moduledoc """ - - - ## Attributes - - * `blobstoreLocation` (*type:* `GoogleApi.DataFusion.V1beta1.Model.BlobstoreLocation.t`, *default:* `nil`) - - * `childAssetLocation` (*type:* `GoogleApi.DataFusion.V1beta1.Model.CloudAssetComposition.t`, *default:* `nil`) - - * `directLocation` (*type:* `GoogleApi.DataFusion.V1beta1.Model.DirectLocationAssignment.t`, *default:* `nil`) - - * `gcpProjectProxy` (*type:* `GoogleApi.DataFusion.V1beta1.Model.TenantProjectProxy.t`, *default:* `nil`) - - * `placerLocation` (*type:* `GoogleApi.DataFusion.V1beta1.Model.PlacerLocation.t`, *default:* `nil`) - - * `spannerLocation` (*type:* `GoogleApi.DataFusion.V1beta1.Model.SpannerLocation.t`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :blobstoreLocation => GoogleApi.DataFusion.V1beta1.Model.BlobstoreLocation.t() | nil, - :childAssetLocation => - GoogleApi.DataFusion.V1beta1.Model.CloudAssetComposition.t() | nil, - :directLocation => - GoogleApi.DataFusion.V1beta1.Model.DirectLocationAssignment.t() | nil, - :gcpProjectProxy => GoogleApi.DataFusion.V1beta1.Model.TenantProjectProxy.t() | nil, - :placerLocation => GoogleApi.DataFusion.V1beta1.Model.PlacerLocation.t() | nil, - :spannerLocation => GoogleApi.DataFusion.V1beta1.Model.SpannerLocation.t() | nil - } - - field(:blobstoreLocation, as: GoogleApi.DataFusion.V1beta1.Model.BlobstoreLocation) - field(:childAssetLocation, as: GoogleApi.DataFusion.V1beta1.Model.CloudAssetComposition) - field(:directLocation, as: GoogleApi.DataFusion.V1beta1.Model.DirectLocationAssignment) - field(:gcpProjectProxy, as: GoogleApi.DataFusion.V1beta1.Model.TenantProjectProxy) - field(:placerLocation, as: GoogleApi.DataFusion.V1beta1.Model.PlacerLocation) - field(:spannerLocation, as: GoogleApi.DataFusion.V1beta1.Model.SpannerLocation) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.LocationData do - def decode(value, options) do - GoogleApi.DataFusion.V1beta1.Model.LocationData.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.LocationData 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/placer_location.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/placer_location.ex deleted file mode 100644 index d3f933e13a..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/placer_location.ex +++ /dev/null @@ -1,46 +0,0 @@ -# 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.PlacerLocation do - @moduledoc """ - Message describing that the location of the customer resource is tied to placer allocations - - ## Attributes - - * `placerConfig` (*type:* `String.t`, *default:* `nil`) - Directory with a config related to it in placer (e.g. "/placer/prod/home/my-root/my-dir") - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :placerConfig => String.t() | nil - } - - field(:placerConfig) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.PlacerLocation do - def decode(value, options) do - GoogleApi.DataFusion.V1beta1.Model.PlacerLocation.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.PlacerLocation 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/regional_mig_distribution_policy.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/regional_mig_distribution_policy.ex deleted file mode 100644 index 8aa157ae4d..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/regional_mig_distribution_policy.ex +++ /dev/null @@ -1,49 +0,0 @@ -# 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.RegionalMigDistributionPolicy do - @moduledoc """ - To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager instances - - ## Attributes - - * `targetShape` (*type:* `integer()`, *default:* `nil`) - The shape in which the group converges around distribution of resources. Instance of proto2 enum - * `zones` (*type:* `list(GoogleApi.DataFusion.V1beta1.Model.ZoneConfiguration.t)`, *default:* `nil`) - Cloud zones used by regional MIG to create instances. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :targetShape => integer() | nil, - :zones => list(GoogleApi.DataFusion.V1beta1.Model.ZoneConfiguration.t()) | nil - } - - field(:targetShape) - field(:zones, as: GoogleApi.DataFusion.V1beta1.Model.ZoneConfiguration, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.RegionalMigDistributionPolicy do - def decode(value, options) do - GoogleApi.DataFusion.V1beta1.Model.RegionalMigDistributionPolicy.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.RegionalMigDistributionPolicy 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/spanner_location.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/spanner_location.ex deleted file mode 100644 index 4dc2d7ac03..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/spanner_location.ex +++ /dev/null @@ -1,49 +0,0 @@ -# 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.SpannerLocation do - @moduledoc """ - - - ## Attributes - - * `backupName` (*type:* `list(String.t)`, *default:* `nil`) - Set of backups used by the resource with name in the same format as what is available at http://table/spanner_automon.backup_metadata - * `dbName` (*type:* `list(String.t)`, *default:* `nil`) - Set of databases used by the resource in format /span// - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :backupName => list(String.t()) | nil, - :dbName => list(String.t()) | nil - } - - field(:backupName, type: :list) - field(:dbName, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.SpannerLocation do - def decode(value, options) do - GoogleApi.DataFusion.V1beta1.Model.SpannerLocation.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.SpannerLocation 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/tenant_project_proxy.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/tenant_project_proxy.ex deleted file mode 100644 index db4abfc88d..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/tenant_project_proxy.ex +++ /dev/null @@ -1,46 +0,0 @@ -# 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.TenantProjectProxy do - @moduledoc """ - - - ## Attributes - - * `projectNumbers` (*type:* `list(String.t)`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :projectNumbers => list(String.t()) | nil - } - - field(:projectNumbers, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.TenantProjectProxy do - def decode(value, options) do - GoogleApi.DataFusion.V1beta1.Model.TenantProjectProxy.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.TenantProjectProxy 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/zone_configuration.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/zone_configuration.ex deleted file mode 100644 index 5859bacc9d..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/zone_configuration.ex +++ /dev/null @@ -1,46 +0,0 @@ -# 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.ZoneConfiguration do - @moduledoc """ - - - ## Attributes - - * `zone` (*type:* `String.t`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :zone => String.t() | nil - } - - field(:zone) -end - -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.ZoneConfiguration do - def decode(value, options) do - GoogleApi.DataFusion.V1beta1.Model.ZoneConfiguration.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.ZoneConfiguration do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/data_fusion/mix.exs b/clients/data_fusion/mix.exs index bee19c91e8..3130c53684 100644 --- a/clients/data_fusion/mix.exs +++ b/clients/data_fusion/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.DataFusion.Mixfile do use Mix.Project - @version "0.25.0" + @version "0.26.0" def project() do [