diff --git a/clients/data_fusion/README.md b/clients/data_fusion/README.md index d532756644..86ef2515ed 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.23"}] + [{:google_api_data_fusion, "~> 0.24"}] 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 d9231fb173..93b38f21e6 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 @@ -105,7 +105,6 @@ defmodule GoogleApi.DataFusion.V1.Api.Projects do * `: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"). * `:filter` (*type:* `String.t`) - A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). - * `:includeUnrevealedLocations` (*type:* `boolean()`) - If true, the returned list will include locations which are not yet revealed. * `:pageSize` (*type:* `integer()`) - The maximum number of results to return. If not set, the service selects a default. * `:pageToken` (*type:* `String.t`) - A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. * `opts` (*type:* `keyword()`) - Call options @@ -134,7 +133,6 @@ defmodule GoogleApi.DataFusion.V1.Api.Projects do :uploadType => :query, :upload_protocol => :query, :filter => :query, - :includeUnrevealedLocations => :query, :pageSize => :query, :pageToken => :query } 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 dd64c6fc84..7525a7bb41 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 "20240111" + @discovery_revision "20240618" 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 34603d1440..b26d6df445 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 @@ -21,8 +21,8 @@ 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. + * `acceleratorType` (*type:* `String.t`, *default:* `nil`) - Optional. The type of an accelator for a Cloud Data Fusion instance. + * `state` (*type:* `String.t`, *default:* `nil`) - Output only. 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 39ca46a6a2..1853c502d2 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 @@ -23,7 +23,7 @@ defmodule GoogleApi.DataFusion.V1.Model.Binding do * `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`. * `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`. + * `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`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). """ use GoogleApi.Gax.ModelBase 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 deleted file mode 100644 index 7c6d849db4..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/data_residency_augmented_view.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.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 715ff1673d..2309e0a896 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 @@ -35,12 +35,13 @@ defmodule GoogleApi.DataFusion.V1.Model.Instance do * `displayName` (*type:* `String.t`, *default:* `nil`) - 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. * `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. P4 service account for the customer project. + * `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. * `patchRevision` (*type:* `String.t`, *default:* `nil`) - Optional. Current patch revision of the Data Fusion. @@ -74,6 +75,7 @@ defmodule GoogleApi.DataFusion.V1.Model.Instance do :displayName => String.t() | nil, :satisfiesPzs => boolean() | nil, :serviceEndpoint => String.t() | nil, + :maintenancePolicy => GoogleApi.DataFusion.V1.Model.MaintenancePolicy.t() | nil, :options => map() | nil, :gcsBucket => String.t() | nil, :accelerators => list(GoogleApi.DataFusion.V1.Model.Accelerator.t()) | nil, @@ -110,6 +112,7 @@ defmodule GoogleApi.DataFusion.V1.Model.Instance do field(:displayName) field(:satisfiesPzs) field(:serviceEndpoint) + field(:maintenancePolicy, as: GoogleApi.DataFusion.V1.Model.MaintenancePolicy) field(:options, type: :map) field(:gcsBucket) field(:accelerators, as: GoogleApi.DataFusion.V1.Model.Accelerator, type: :list) diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1/model/maintenance_policy.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/maintenance_policy.ex new file mode 100644 index 0000000000..b962f2e125 --- /dev/null +++ b/clients/data_fusion/lib/google_api/data_fusion/v1/model/maintenance_policy.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.MaintenancePolicy do + @moduledoc """ + Maintenance policy of the instance. + + ## Attributes + + * `maintenanceExclusionWindow` (*type:* `GoogleApi.DataFusion.V1.Model.TimeWindow.t`, *default:* `nil`) - Optional. The maintenance exclusion window of the instance. + * `maintenanceWindow` (*type:* `GoogleApi.DataFusion.V1.Model.MaintenanceWindow.t`, *default:* `nil`) - Optional. The maintenance window of the instance. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :maintenanceExclusionWindow => GoogleApi.DataFusion.V1.Model.TimeWindow.t() | nil, + :maintenanceWindow => GoogleApi.DataFusion.V1.Model.MaintenanceWindow.t() | nil + } + + field(:maintenanceExclusionWindow, as: GoogleApi.DataFusion.V1.Model.TimeWindow) + field(:maintenanceWindow, as: GoogleApi.DataFusion.V1.Model.MaintenanceWindow) +end + +defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.MaintenancePolicy do + def decode(value, options) do + GoogleApi.DataFusion.V1.Model.MaintenancePolicy.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.MaintenancePolicy 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/maintenance_window.ex similarity index 54% rename from clients/data_fusion/lib/google_api/data_fusion/v1/model/service_data.ex rename to clients/data_fusion/lib/google_api/data_fusion/v1/model/maintenance_window.ex index f23ec0f41c..5228ca713c 100644 --- 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/maintenance_window.ex @@ -15,31 +15,31 @@ # 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 +defmodule GoogleApi.DataFusion.V1.Model.MaintenanceWindow 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 + Maintenance window of the instance. ## 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. + * `recurringTimeWindow` (*type:* `GoogleApi.DataFusion.V1.Model.RecurringTimeWindow.t`, *default:* `nil`) - Required. The recurring time window of the maintenance window. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ - :pd => GoogleApi.DataFusion.V1.Model.PersistentDiskData.t() | nil + :recurringTimeWindow => GoogleApi.DataFusion.V1.Model.RecurringTimeWindow.t() | nil } - field(:pd, as: GoogleApi.DataFusion.V1.Model.PersistentDiskData) + field(:recurringTimeWindow, as: GoogleApi.DataFusion.V1.Model.RecurringTimeWindow) end -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.ServiceData do +defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.MaintenanceWindow do def decode(value, options) do - GoogleApi.DataFusion.V1.Model.ServiceData.decode(value, options) + GoogleApi.DataFusion.V1.Model.MaintenanceWindow.decode(value, options) end end -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.ServiceData do +defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.MaintenanceWindow do def encode(value, options) do GoogleApi.Gax.ModelBase.encode(value, options) end 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 3b9acb2a58..fb9e4e7e7c 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 @@ -23,7 +23,7 @@ defmodule GoogleApi.DataFusion.V1.Model.NetworkConfig do * `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. + * `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. 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. """ 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 deleted file mode 100644 index 17ec0cbf5d..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1/model/persistent_disk_data.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.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/recurring_time_window.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/recurring_time_window.ex new file mode 100644 index 0000000000..94ad5e69f1 --- /dev/null +++ b/clients/data_fusion/lib/google_api/data_fusion/v1/model/recurring_time_window.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.RecurringTimeWindow do + @moduledoc """ + Represents an arbitrary window of time that recurs. + + ## Attributes + + * `recurrence` (*type:* `String.t`, *default:* `nil`) - Required. An RRULE with format [RFC-5545](https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window reccurs. They go on for the span of time between the start and end time. The only supported FREQ value is "WEEKLY". To have something repeat every weekday, use: "FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR". This specifies how frequently the window starts. To have a 9 am - 5 pm UTC-4 window every weekday, use something like: ``` start time = 2019-01-01T09:00:00-0400 end time = 2019-01-01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ``` + * `window` (*type:* `GoogleApi.DataFusion.V1.Model.TimeWindow.t`, *default:* `nil`) - Required. The window representing the start and end time of recurrences. This field ignores the date components of the provided timestamps. Only the time of day and duration between start and end time are relevant. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :recurrence => String.t() | nil, + :window => GoogleApi.DataFusion.V1.Model.TimeWindow.t() | nil + } + + field(:recurrence) + field(:window, as: GoogleApi.DataFusion.V1.Model.TimeWindow) +end + +defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.RecurringTimeWindow do + def decode(value, options) do + GoogleApi.DataFusion.V1.Model.RecurringTimeWindow.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.RecurringTimeWindow 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/time_window.ex b/clients/data_fusion/lib/google_api/data_fusion/v1/model/time_window.ex new file mode 100644 index 0000000000..19ddd26e94 --- /dev/null +++ b/clients/data_fusion/lib/google_api/data_fusion/v1/model/time_window.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.TimeWindow do + @moduledoc """ + Represents an arbitrary window of time. + + ## Attributes + + * `endTime` (*type:* `DateTime.t`, *default:* `nil`) - Required. The end time of the time window provided in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. The end time should take place after the start time. Example: "2024-01-02T12:04:06-06:00" + * `startTime` (*type:* `DateTime.t`, *default:* `nil`) - Required. The start time of the time window provided in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. Example: "2024-01-01T12:04:06-04:00" + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :endTime => DateTime.t() | nil, + :startTime => DateTime.t() | nil + } + + field(:endTime, as: DateTime) + field(:startTime, as: DateTime) +end + +defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.TimeWindow do + def decode(value, options) do + GoogleApi.DataFusion.V1.Model.TimeWindow.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.TimeWindow 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 b5f3a7ec95..3bb469dbe2 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 @@ -105,7 +105,6 @@ defmodule GoogleApi.DataFusion.V1beta1.Api.Projects do * `: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"). * `:filter` (*type:* `String.t`) - A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). - * `:includeUnrevealedLocations` (*type:* `boolean()`) - If true, the returned list will include locations which are not yet revealed. * `:pageSize` (*type:* `integer()`) - The maximum number of results to return. If not set, the service selects a default. * `:pageToken` (*type:* `String.t`) - A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. * `opts` (*type:* `keyword()`) - Call options @@ -134,7 +133,6 @@ defmodule GoogleApi.DataFusion.V1beta1.Api.Projects do :uploadType => :query, :upload_protocol => :query, :filter => :query, - :includeUnrevealedLocations => :query, :pageSize => :query, :pageToken => :query } 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 35bb944fa9..17583b9ebd 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 "20240111" + @discovery_revision "20240618" 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 cb28a5df45..ece436c738 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 @@ -17,12 +17,12 @@ defmodule GoogleApi.DataFusion.V1beta1.Model.Accelerator do @moduledoc """ - Identifies Data Fusion accelerators for an instance. + Identifies Cloud Data Fusion accelerators for an instance. ## 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. + * `acceleratorType` (*type:* `String.t`, *default:* `nil`) - Optional. The type of an accelator for a Cloud Data Fusion instance. + * `state` (*type:* `String.t`, *default:* `nil`) - Output only. The state of the accelerator. """ use GoogleApi.Gax.ModelBase 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 ca82b18963..fd93192f78 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 @@ -23,7 +23,7 @@ defmodule GoogleApi.DataFusion.V1beta1.Model.Binding do * `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`. * `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`. + * `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`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). """ use GoogleApi.Gax.ModelBase 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 deleted file mode 100644 index 12b6e333e0..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/data_residency_augmented_view.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.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 0acec6fa3d..73c395ef9d 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 @@ -35,12 +35,13 @@ defmodule GoogleApi.DataFusion.V1beta1.Model.Instance do * `displayName` (*type:* `String.t`, *default:* `nil`) - 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.V1beta1.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.V1beta1.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. * `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. P4 service account for the customer project. + * `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 Data Fusion. * `patchRevision` (*type:* `String.t`, *default:* `nil`) - Optional. Current patch revision of the Data Fusion. @@ -74,6 +75,7 @@ defmodule GoogleApi.DataFusion.V1beta1.Model.Instance do :displayName => String.t() | nil, :satisfiesPzs => boolean() | nil, :serviceEndpoint => String.t() | nil, + :maintenancePolicy => GoogleApi.DataFusion.V1beta1.Model.MaintenancePolicy.t() | nil, :options => map() | nil, :gcsBucket => String.t() | nil, :accelerators => list(GoogleApi.DataFusion.V1beta1.Model.Accelerator.t()) | nil, @@ -110,6 +112,7 @@ defmodule GoogleApi.DataFusion.V1beta1.Model.Instance do field(:displayName) field(:satisfiesPzs) field(:serviceEndpoint) + field(:maintenancePolicy, as: GoogleApi.DataFusion.V1beta1.Model.MaintenancePolicy) field(:options, type: :map) field(:gcsBucket) field(:accelerators, as: GoogleApi.DataFusion.V1beta1.Model.Accelerator, type: :list) diff --git a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/maintenance_policy.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/maintenance_policy.ex new file mode 100644 index 0000000000..ca25c5f3f4 --- /dev/null +++ b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/maintenance_policy.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.MaintenancePolicy do + @moduledoc """ + Maintenance policy of the instance. + + ## Attributes + + * `maintenanceExclusionWindow` (*type:* `GoogleApi.DataFusion.V1beta1.Model.TimeWindow.t`, *default:* `nil`) - Optional. The maintenance exclusion window of the instance. + * `maintenanceWindow` (*type:* `GoogleApi.DataFusion.V1beta1.Model.MaintenanceWindow.t`, *default:* `nil`) - Optional. The maintenance window of the instance. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :maintenanceExclusionWindow => GoogleApi.DataFusion.V1beta1.Model.TimeWindow.t() | nil, + :maintenanceWindow => GoogleApi.DataFusion.V1beta1.Model.MaintenanceWindow.t() | nil + } + + field(:maintenanceExclusionWindow, as: GoogleApi.DataFusion.V1beta1.Model.TimeWindow) + field(:maintenanceWindow, as: GoogleApi.DataFusion.V1beta1.Model.MaintenanceWindow) +end + +defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.MaintenancePolicy do + def decode(value, options) do + GoogleApi.DataFusion.V1beta1.Model.MaintenancePolicy.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.MaintenancePolicy 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/maintenance_window.ex similarity index 60% rename from clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/service_data.ex rename to clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/maintenance_window.ex index 493159b97a..a79ed87579 100644 --- 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/maintenance_window.ex @@ -15,31 +15,31 @@ # 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 +defmodule GoogleApi.DataFusion.V1beta1.Model.MaintenanceWindow 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 + Maintenance window of the instance. ## 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. + * `recurringTimeWindow` (*type:* `GoogleApi.DataFusion.V1beta1.Model.RecurringTimeWindow.t`, *default:* `nil`) - Required. The recurring time window of the maintenance window. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ - :pd => GoogleApi.DataFusion.V1beta1.Model.PersistentDiskData.t() | nil + :recurringTimeWindow => GoogleApi.DataFusion.V1beta1.Model.RecurringTimeWindow.t() | nil } - field(:pd, as: GoogleApi.DataFusion.V1beta1.Model.PersistentDiskData) + field(:recurringTimeWindow, as: GoogleApi.DataFusion.V1beta1.Model.RecurringTimeWindow) end -defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.ServiceData do +defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.MaintenanceWindow do def decode(value, options) do - GoogleApi.DataFusion.V1beta1.Model.ServiceData.decode(value, options) + GoogleApi.DataFusion.V1beta1.Model.MaintenanceWindow.decode(value, options) end end -defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.ServiceData do +defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.MaintenanceWindow do def encode(value, options) do GoogleApi.Gax.ModelBase.encode(value, options) end 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 47f4906784..5bc444c0d3 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 @@ -23,7 +23,7 @@ defmodule GoogleApi.DataFusion.V1beta1.Model.NetworkConfig do * `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. + * `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. 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. """ 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 deleted file mode 100644 index 29d1445bc8..0000000000 --- a/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/persistent_disk_data.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.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/recurring_time_window.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/recurring_time_window.ex new file mode 100644 index 0000000000..e9a215c0fe --- /dev/null +++ b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/recurring_time_window.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.RecurringTimeWindow do + @moduledoc """ + Represents an arbitrary window of time that recurs. + + ## Attributes + + * `recurrence` (*type:* `String.t`, *default:* `nil`) - Required. An RRULE with format [RFC-5545](https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window reccurs. They go on for the span of time between the start and end time. The only supported FREQ value is "WEEKLY". To have something repeat every weekday, use: "FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR". This specifies how frequently the window starts. To have a 9 am - 5 pm UTC-4 window every weekday, use something like: ``` start time = 2019-01-01T09:00:00-0400 end time = 2019-01-01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ``` + * `window` (*type:* `GoogleApi.DataFusion.V1beta1.Model.TimeWindow.t`, *default:* `nil`) - Required. The window representing the start and end time of recurrences. This field ignores the date components of the provided timestamps. Only the time of day and duration between start and end time are relevant. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :recurrence => String.t() | nil, + :window => GoogleApi.DataFusion.V1beta1.Model.TimeWindow.t() | nil + } + + field(:recurrence) + field(:window, as: GoogleApi.DataFusion.V1beta1.Model.TimeWindow) +end + +defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.RecurringTimeWindow do + def decode(value, options) do + GoogleApi.DataFusion.V1beta1.Model.RecurringTimeWindow.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.RecurringTimeWindow 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/time_window.ex b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/time_window.ex new file mode 100644 index 0000000000..88228724a3 --- /dev/null +++ b/clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/time_window.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.TimeWindow do + @moduledoc """ + Represents an arbitrary window of time. + + ## Attributes + + * `endTime` (*type:* `DateTime.t`, *default:* `nil`) - Required. The end time of the time window provided in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. The end time should take place after the start time. Example: "2024-01-02T12:04:06-06:00" + * `startTime` (*type:* `DateTime.t`, *default:* `nil`) - Required. The start time of the time window provided in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. Example: "2024-01-01T12:04:06-04:00" + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :endTime => DateTime.t() | nil, + :startTime => DateTime.t() | nil + } + + field(:endTime, as: DateTime) + field(:startTime, as: DateTime) +end + +defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.TimeWindow do + def decode(value, options) do + GoogleApi.DataFusion.V1beta1.Model.TimeWindow.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.TimeWindow 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 dde12bc8fe..e7b07df7e2 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.23.0" + @version "0.24.0" def project() do [