Skip to content

Commit 00335df

Browse files
feat: Automated regeneration of BackupDR client (googleapis#12230)
Auto-created at 2024-09-27 13:19:16 +0000 using the toys pull request generator.
1 parent ddbf4fa commit 00335df

File tree

7 files changed

+13
-10
lines changed

7 files changed

+13
-10
lines changed

clients/backup_dr/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_backup_dr, "~> 0.10"}]
14+
[{:google_api_backup_dr, "~> 0.11"}]
1515
end
1616
```
1717

clients/backup_dr/lib/google_api/backup_dr/v1/api/projects.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ defmodule GoogleApi.BackupDR.V1.Api.Projects do
816816
end
817817

818818
@doc """
819-
819+
Creates a new BackupVault in a given project and location.
820820
821821
## Parameters
822822
@@ -1211,7 +1211,7 @@ defmodule GoogleApi.BackupDR.V1.Api.Projects do
12111211
## Parameters
12121212
12131213
* `connection` (*type:* `GoogleApi.BackupDR.V1.Connection.t`) - Connection to server
1214-
* `name` (*type:* `String.t`) - Output only. Identifier. The resource name.
1214+
* `name` (*type:* `String.t`) - Output only. Identifier. Name of the backup vault to create. It must have the format`"projects/{project}/locations/{location}/backupVaults/{backupvault}"`. `{backupvault}` cannot be changed after creation. It must be between 3-63 characters long and must be unique within the project and location.
12151215
* `optional_params` (*type:* `keyword()`) - Optional parameters
12161216
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
12171217
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -1801,7 +1801,7 @@ defmodule GoogleApi.BackupDR.V1.Api.Projects do
18011801
## Parameters
18021802
18031803
* `connection` (*type:* `GoogleApi.BackupDR.V1.Connection.t`) - Connection to server
1804-
* `name` (*type:* `String.t`) - Output only. Identifier. The resource name.
1804+
* `name` (*type:* `String.t`) - Output only. Identifier. Name of the datasource to create. It must have the format`"projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}"`. `{datasource}` cannot be changed after creation. It must be between 3-63 characters long and must be unique within the backup vault.
18051805
* `optional_params` (*type:* `keyword()`) - Optional parameters
18061806
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
18071807
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -2247,7 +2247,7 @@ defmodule GoogleApi.BackupDR.V1.Api.Projects do
22472247
## Parameters
22482248
22492249
* `connection` (*type:* `GoogleApi.BackupDR.V1.Connection.t`) - Connection to server
2250-
* `name` (*type:* `String.t`) - Output only. Identifier. Name of the resource.
2250+
* `name` (*type:* `String.t`) - Output only. Identifier. Name of the backup to create. It must have the format`"projects//locations//backupVaults//dataSources/{datasource}/backups/{backup}"`. `{backup}` cannot be changed after creation. It must be between 3-63 characters long and must be unique within the datasource.
22512251
* `optional_params` (*type:* `keyword()`) - Optional parameters
22522252
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
22532253
* `:access_token` (*type:* `String.t`) - OAuth access token.

clients/backup_dr/lib/google_api/backup_dr/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.BackupDR.V1 do
2020
API client metadata for GoogleApi.BackupDR.V1.
2121
"""
2222

23-
@discovery_revision "20240913"
23+
@discovery_revision "20240918"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/backup_dr/lib/google_api/backup_dr/v1/model/backup.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ defmodule GoogleApi.BackupDR.V1.Model.Backup do
3333
* `expireTime` (*type:* `DateTime.t`, *default:* `nil`) - Optional. When this backup is automatically expired.
3434
* `gcpBackupPlanInfo` (*type:* `GoogleApi.BackupDR.V1.Model.GCPBackupPlanInfo.t`, *default:* `nil`) - Output only. Configuration for a Google Cloud resource.
3535
* `labels` (*type:* `map()`, *default:* `nil`) - Optional. Resource labels to represent user provided metadata. No labels currently defined.
36-
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. Identifier. Name of the resource.
36+
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. Identifier. Name of the backup to create. It must have the format`"projects//locations//backupVaults//dataSources/{datasource}/backups/{backup}"`. `{backup}` cannot be changed after creation. It must be between 3-63 characters long and must be unique within the datasource.
3737
* `resourceSizeBytes` (*type:* `String.t`, *default:* `nil`) - Output only. source resource size in bytes at the time of the backup.
3838
* `serviceLocks` (*type:* `list(GoogleApi.BackupDR.V1.Model.BackupLock.t)`, *default:* `nil`) - Output only. The list of BackupLocks taken by the service to prevent the deletion of the backup.
3939
* `state` (*type:* `String.t`, *default:* `nil`) - Output only. The Backup resource instance state.

clients/backup_dr/lib/google_api/backup_dr/v1/model/backup_vault.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ defmodule GoogleApi.BackupDR.V1.Model.BackupVault do
2121
2222
## Attributes
2323
24+
* `accessRestriction` (*type:* `String.t`, *default:* `nil`) - Optional. Note: This field is added for future use case and will not be supported in the current release. Optional. Access restriction for the backup vault. Default value is WITHIN_ORGANIZATION if not provided during creation.
2425
* `annotations` (*type:* `map()`, *default:* `nil`) - Optional. User annotations. See https://google.aip.dev/128#annotations Stores small amounts of arbitrary data.
2526
* `backupCount` (*type:* `String.t`, *default:* `nil`) - Output only. The number of backups in this backup vault.
2627
* `backupMinimumEnforcedRetentionDuration` (*type:* `String.t`, *default:* `nil`) - Required. The default and minimum enforced retention for each backup within the backup vault. The enforced retention for each backup can be extended.
@@ -30,7 +31,7 @@ defmodule GoogleApi.BackupDR.V1.Model.BackupVault do
3031
* `effectiveTime` (*type:* `DateTime.t`, *default:* `nil`) - Optional. Time after which the BackupVault resource is locked.
3132
* `etag` (*type:* `String.t`, *default:* `nil`) - Optional. Server specified ETag for the backup vault resource to prevent simultaneous updates from overwiting each other.
3233
* `labels` (*type:* `map()`, *default:* `nil`) - Optional. Resource labels to represent user provided metadata. No labels currently defined:
33-
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. Identifier. The resource name.
34+
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. Identifier. Name of the backup vault to create. It must have the format`"projects/{project}/locations/{location}/backupVaults/{backupvault}"`. `{backupvault}` cannot be changed after creation. It must be between 3-63 characters long and must be unique within the project and location.
3435
* `serviceAccount` (*type:* `String.t`, *default:* `nil`) - Output only. Service account used by the BackupVault Service for this BackupVault. The user should grant this account permissions in their workload project to enable the service to run backups and restores there.
3536
* `state` (*type:* `String.t`, *default:* `nil`) - Output only. The BackupVault resource instance state.
3637
* `totalStoredBytes` (*type:* `String.t`, *default:* `nil`) - Output only. Total size of the storage used by all backup resources.
@@ -41,6 +42,7 @@ defmodule GoogleApi.BackupDR.V1.Model.BackupVault do
4142
use GoogleApi.Gax.ModelBase
4243

4344
@type t :: %__MODULE__{
45+
:accessRestriction => String.t() | nil,
4446
:annotations => map() | nil,
4547
:backupCount => String.t() | nil,
4648
:backupMinimumEnforcedRetentionDuration => String.t() | nil,
@@ -58,6 +60,7 @@ defmodule GoogleApi.BackupDR.V1.Model.BackupVault do
5860
:updateTime => DateTime.t() | nil
5961
}
6062

63+
field(:accessRestriction)
6164
field(:annotations, type: :map)
6265
field(:backupCount)
6366
field(:backupMinimumEnforcedRetentionDuration)

clients/backup_dr/lib/google_api/backup_dr/v1/model/data_source.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ defmodule GoogleApi.BackupDR.V1.Model.DataSource do
2929
* `dataSourceGcpResource` (*type:* `GoogleApi.BackupDR.V1.Model.DataSourceGcpResource.t`, *default:* `nil`) - The backed up resource is a Google Cloud resource. The word 'DataSource' was included in the names to indicate that this is the representation of the Google Cloud resource used within the DataSource object.
3030
* `etag` (*type:* `String.t`, *default:* `nil`) - Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other.
3131
* `labels` (*type:* `map()`, *default:* `nil`) - Optional. Resource labels to represent user provided metadata. No labels currently defined:
32-
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. Identifier. The resource name.
32+
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. Identifier. Name of the datasource to create. It must have the format`"projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}"`. `{datasource}` cannot be changed after creation. It must be between 3-63 characters long and must be unique within the backup vault.
3333
* `state` (*type:* `String.t`, *default:* `nil`) - Output only. The DataSource resource instance state.
3434
* `totalStoredBytes` (*type:* `String.t`, *default:* `nil`) - The number of bytes (metadata and data) stored in this datasource.
3535
* `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time when the instance was updated.

clients/backup_dr/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.BackupDR.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.10.0"
21+
@version "0.11.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)