Skip to content

Commit 790104c

Browse files
chore: regenerate backupdr client
1 parent 35c7d1e commit 790104c

File tree

12 files changed

+372
-47
lines changed

12 files changed

+372
-47
lines changed

clients/google-api-services-backupdr/v1/2.0.0/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-backupdr</artifactId>
25-
<version>v1-rev20241106-2.0.0</version>
25+
<version>v1-rev20241204-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-backupdr:v1-rev20241106-2.0.0'
38+
implementation 'com.google.apis:google-api-services-backupdr:v1-rev20241204-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/Backupdr.java

+164-2
Original file line numberDiff line numberDiff line change
@@ -7565,7 +7565,7 @@ public class Operations {
75657565
* it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other
75667566
* methods to check whether the cancellation succeeded or whether the operation completed despite
75677567
* cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an
7568-
* operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to
7568+
* operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to
75697569
* `Code.CANCELLED`.
75707570
*
75717571
* Create a request for the method "operations.cancel".
@@ -7596,7 +7596,7 @@ public class Cancel extends BackupdrRequest<com.google.api.services.backupdr.v1.
75967596
* it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other
75977597
* methods to check whether the cancellation succeeded or whether the operation completed despite
75987598
* cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an
7599-
* operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to
7599+
* operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to
76007600
* `Code.CANCELLED`.
76017601
*
76027602
* Create a request for the method "operations.cancel".
@@ -8165,6 +8165,168 @@ public List set(String parameterName, Object value) {
81658165
}
81668166

81678167
}
8168+
/**
8169+
* An accessor for creating requests from the ServiceConfig collection.
8170+
*
8171+
* <p>The typical use is:</p>
8172+
* <pre>
8173+
* {@code Backupdr backupdr = new Backupdr(...);}
8174+
* {@code Backupdr.ServiceConfig.List request = backupdr.serviceConfig().list(parameters ...)}
8175+
* </pre>
8176+
*
8177+
* @return the resource collection
8178+
*/
8179+
public ServiceConfig serviceConfig() {
8180+
return new ServiceConfig();
8181+
}
8182+
8183+
/**
8184+
* The "serviceConfig" collection of methods.
8185+
*/
8186+
public class ServiceConfig {
8187+
8188+
/**
8189+
* Initializes the service related config for a project.
8190+
*
8191+
* Create a request for the method "serviceConfig.initialize".
8192+
*
8193+
* This request holds the parameters needed by the backupdr server. After setting any optional
8194+
* parameters, call the {@link Initialize#execute()} method to invoke the remote operation.
8195+
*
8196+
* @param name Required. The resource name of the serviceConfig used to initialize the service. Format:
8197+
* `projects/{project_id}/locations/{location}/serviceConfig`.
8198+
* @param content the {@link com.google.api.services.backupdr.v1.model.InitializeServiceRequest}
8199+
* @return the request
8200+
*/
8201+
public Initialize initialize(java.lang.String name, com.google.api.services.backupdr.v1.model.InitializeServiceRequest content) throws java.io.IOException {
8202+
Initialize result = new Initialize(name, content);
8203+
initialize(result);
8204+
return result;
8205+
}
8206+
8207+
public class Initialize extends BackupdrRequest<com.google.api.services.backupdr.v1.model.Operation> {
8208+
8209+
private static final String REST_PATH = "v1/{+name}:initialize";
8210+
8211+
private final java.util.regex.Pattern NAME_PATTERN =
8212+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/serviceConfig$");
8213+
8214+
/**
8215+
* Initializes the service related config for a project.
8216+
*
8217+
* Create a request for the method "serviceConfig.initialize".
8218+
*
8219+
* This request holds the parameters needed by the the backupdr server. After setting any
8220+
* optional parameters, call the {@link Initialize#execute()} method to invoke the remote
8221+
* operation. <p> {@link
8222+
* Initialize#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
8223+
* must be called to initialize this instance immediately after invoking the constructor. </p>
8224+
*
8225+
* @param name Required. The resource name of the serviceConfig used to initialize the service. Format:
8226+
* `projects/{project_id}/locations/{location}/serviceConfig`.
8227+
* @param content the {@link com.google.api.services.backupdr.v1.model.InitializeServiceRequest}
8228+
* @since 1.13
8229+
*/
8230+
protected Initialize(java.lang.String name, com.google.api.services.backupdr.v1.model.InitializeServiceRequest content) {
8231+
super(Backupdr.this, "POST", REST_PATH, content, com.google.api.services.backupdr.v1.model.Operation.class);
8232+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
8233+
if (!getSuppressPatternChecks()) {
8234+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
8235+
"Parameter name must conform to the pattern " +
8236+
"^projects/[^/]+/locations/[^/]+/serviceConfig$");
8237+
}
8238+
}
8239+
8240+
@Override
8241+
public Initialize set$Xgafv(java.lang.String $Xgafv) {
8242+
return (Initialize) super.set$Xgafv($Xgafv);
8243+
}
8244+
8245+
@Override
8246+
public Initialize setAccessToken(java.lang.String accessToken) {
8247+
return (Initialize) super.setAccessToken(accessToken);
8248+
}
8249+
8250+
@Override
8251+
public Initialize setAlt(java.lang.String alt) {
8252+
return (Initialize) super.setAlt(alt);
8253+
}
8254+
8255+
@Override
8256+
public Initialize setCallback(java.lang.String callback) {
8257+
return (Initialize) super.setCallback(callback);
8258+
}
8259+
8260+
@Override
8261+
public Initialize setFields(java.lang.String fields) {
8262+
return (Initialize) super.setFields(fields);
8263+
}
8264+
8265+
@Override
8266+
public Initialize setKey(java.lang.String key) {
8267+
return (Initialize) super.setKey(key);
8268+
}
8269+
8270+
@Override
8271+
public Initialize setOauthToken(java.lang.String oauthToken) {
8272+
return (Initialize) super.setOauthToken(oauthToken);
8273+
}
8274+
8275+
@Override
8276+
public Initialize setPrettyPrint(java.lang.Boolean prettyPrint) {
8277+
return (Initialize) super.setPrettyPrint(prettyPrint);
8278+
}
8279+
8280+
@Override
8281+
public Initialize setQuotaUser(java.lang.String quotaUser) {
8282+
return (Initialize) super.setQuotaUser(quotaUser);
8283+
}
8284+
8285+
@Override
8286+
public Initialize setUploadType(java.lang.String uploadType) {
8287+
return (Initialize) super.setUploadType(uploadType);
8288+
}
8289+
8290+
@Override
8291+
public Initialize setUploadProtocol(java.lang.String uploadProtocol) {
8292+
return (Initialize) super.setUploadProtocol(uploadProtocol);
8293+
}
8294+
8295+
/**
8296+
* Required. The resource name of the serviceConfig used to initialize the service.
8297+
* Format: `projects/{project_id}/locations/{location}/serviceConfig`.
8298+
*/
8299+
@com.google.api.client.util.Key
8300+
private java.lang.String name;
8301+
8302+
/** Required. The resource name of the serviceConfig used to initialize the service. Format:
8303+
`projects/{project_id}/locations/{location}/serviceConfig`.
8304+
*/
8305+
public java.lang.String getName() {
8306+
return name;
8307+
}
8308+
8309+
/**
8310+
* Required. The resource name of the serviceConfig used to initialize the service.
8311+
* Format: `projects/{project_id}/locations/{location}/serviceConfig`.
8312+
*/
8313+
public Initialize setName(java.lang.String name) {
8314+
if (!getSuppressPatternChecks()) {
8315+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
8316+
"Parameter name must conform to the pattern " +
8317+
"^projects/[^/]+/locations/[^/]+/serviceConfig$");
8318+
}
8319+
this.name = name;
8320+
return this;
8321+
}
8322+
8323+
@Override
8324+
public Initialize set(String parameterName, Object value) {
8325+
return (Initialize) super.set(parameterName, value);
8326+
}
8327+
}
8328+
8329+
}
81688330
}
81698331
}
81708332

clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/Backup.java

+48
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,20 @@ public final class Backup extends com.google.api.client.json.GenericJson {
131131
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
132132
private java.lang.Long resourceSizeBytes;
133133

134+
/**
135+
* Optional. Output only. Reserved for future use.
136+
* The value may be {@code null}.
137+
*/
138+
@com.google.api.client.util.Key
139+
private java.lang.Boolean satisfiesPzi;
140+
141+
/**
142+
* Optional. Output only. Reserved for future use.
143+
* The value may be {@code null}.
144+
*/
145+
@com.google.api.client.util.Key
146+
private java.lang.Boolean satisfiesPzs;
147+
134148
/**
135149
* Output only. The list of BackupLocks taken by the service to prevent the deletion of the
136150
* backup.
@@ -397,6 +411,40 @@ public Backup setResourceSizeBytes(java.lang.Long resourceSizeBytes) {
397411
return this;
398412
}
399413

414+
/**
415+
* Optional. Output only. Reserved for future use.
416+
* @return value or {@code null} for none
417+
*/
418+
public java.lang.Boolean getSatisfiesPzi() {
419+
return satisfiesPzi;
420+
}
421+
422+
/**
423+
* Optional. Output only. Reserved for future use.
424+
* @param satisfiesPzi satisfiesPzi or {@code null} for none
425+
*/
426+
public Backup setSatisfiesPzi(java.lang.Boolean satisfiesPzi) {
427+
this.satisfiesPzi = satisfiesPzi;
428+
return this;
429+
}
430+
431+
/**
432+
* Optional. Output only. Reserved for future use.
433+
* @return value or {@code null} for none
434+
*/
435+
public java.lang.Boolean getSatisfiesPzs() {
436+
return satisfiesPzs;
437+
}
438+
439+
/**
440+
* Optional. Output only. Reserved for future use.
441+
* @param satisfiesPzs satisfiesPzs or {@code null} for none
442+
*/
443+
public Backup setSatisfiesPzs(java.lang.Boolean satisfiesPzs) {
444+
this.satisfiesPzs = satisfiesPzs;
445+
return this;
446+
}
447+
400448
/**
401449
* Output only. The list of BackupLocks taken by the service to prevent the deletion of the
402450
* backup.

clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/BackupPlan.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ public final class BackupPlan extends com.google.api.client.json.GenericJson {
9999

100100
/**
101101
* Required. The resource type to which the `BackupPlan` will be applied. Examples include,
102-
* "compute.googleapis.com/Instance", "sqladmin.googleapis.com/Instance" and
103-
* "storage.googleapis.com/Bucket".
102+
* "compute.googleapis.com/Instance", "sqladmin.googleapis.com/Instance", or
103+
* "alloydb.googleapis.com/Cluster".
104104
* The value may be {@code null}.
105105
*/
106106
@com.google.api.client.util.Key
@@ -276,8 +276,8 @@ public BackupPlan setName(java.lang.String name) {
276276

277277
/**
278278
* Required. The resource type to which the `BackupPlan` will be applied. Examples include,
279-
* "compute.googleapis.com/Instance", "sqladmin.googleapis.com/Instance" and
280-
* "storage.googleapis.com/Bucket".
279+
* "compute.googleapis.com/Instance", "sqladmin.googleapis.com/Instance", or
280+
* "alloydb.googleapis.com/Cluster".
281281
* @return value or {@code null} for none
282282
*/
283283
public java.lang.String getResourceType() {
@@ -286,8 +286,8 @@ public java.lang.String getResourceType() {
286286

287287
/**
288288
* Required. The resource type to which the `BackupPlan` will be applied. Examples include,
289-
* "compute.googleapis.com/Instance", "sqladmin.googleapis.com/Instance" and
290-
* "storage.googleapis.com/Bucket".
289+
* "compute.googleapis.com/Instance", "sqladmin.googleapis.com/Instance", or
290+
* "alloydb.googleapis.com/Cluster".
291291
* @param resourceType resourceType or {@code null} for none
292292
*/
293293
public BackupPlan setResourceType(java.lang.String resourceType) {

clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/BackupPlanAssociation.java

+9-9
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ public final class BackupPlanAssociation extends com.google.api.client.json.Gene
4747
private String createTime;
4848

4949
/**
50-
* Output only. Output Only. Resource name of data source which will be used as storage location
51-
* for backups taken. Format :
50+
* Output only. Resource name of data source which will be used as storage location for backups
51+
* taken. Format :
5252
* projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}
5353
* The value may be {@code null}.
5454
*/
@@ -71,7 +71,7 @@ public final class BackupPlanAssociation extends com.google.api.client.json.Gene
7171
private java.lang.String resource;
7272

7373
/**
74-
* Optional. Required. Resource type of workload on which backupplan is applied
74+
* Required. Immutable. Resource type of workload on which backupplan is applied
7575
* The value may be {@code null}.
7676
*/
7777
@com.google.api.client.util.Key
@@ -135,8 +135,8 @@ public BackupPlanAssociation setCreateTime(String createTime) {
135135
}
136136

137137
/**
138-
* Output only. Output Only. Resource name of data source which will be used as storage location
139-
* for backups taken. Format :
138+
* Output only. Resource name of data source which will be used as storage location for backups
139+
* taken. Format :
140140
* projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}
141141
* @return value or {@code null} for none
142142
*/
@@ -145,8 +145,8 @@ public java.lang.String getDataSource() {
145145
}
146146

147147
/**
148-
* Output only. Output Only. Resource name of data source which will be used as storage location
149-
* for backups taken. Format :
148+
* Output only. Resource name of data source which will be used as storage location for backups
149+
* taken. Format :
150150
* projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}
151151
* @param dataSource dataSource or {@code null} for none
152152
*/
@@ -192,15 +192,15 @@ public BackupPlanAssociation setResource(java.lang.String resource) {
192192
}
193193

194194
/**
195-
* Optional. Required. Resource type of workload on which backupplan is applied
195+
* Required. Immutable. Resource type of workload on which backupplan is applied
196196
* @return value or {@code null} for none
197197
*/
198198
public java.lang.String getResourceType() {
199199
return resourceType;
200200
}
201201

202202
/**
203-
* Optional. Required. Resource type of workload on which backupplan is applied
203+
* Required. Immutable. Resource type of workload on which backupplan is applied
204204
* @param resourceType resourceType or {@code null} for none
205205
*/
206206
public BackupPlanAssociation setResourceType(java.lang.String resourceType) {

clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/BackupRule.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public final class BackupRule extends com.google.api.client.json.GenericJson {
3535
* The value should be greater than or equal to minimum enforced retention of the backup vault.
3636
* Minimum value is 1 and maximum value is 90 for hourly backups. Minimum value is 1 and maximum
3737
* value is 90 for daily backups. Minimum value is 7 and maximum value is 186 for weekly backups.
38-
* Minimum value is 30 and maximum value is 732 for monthly backups. Minimum value is 30 and
38+
* Minimum value is 30 and maximum value is 732 for monthly backups. Minimum value is 365 and
3939
* maximum value is 36159 for yearly backups.
4040
* The value may be {@code null}.
4141
*/
@@ -63,7 +63,7 @@ public final class BackupRule extends com.google.api.client.json.GenericJson {
6363
* The value should be greater than or equal to minimum enforced retention of the backup vault.
6464
* Minimum value is 1 and maximum value is 90 for hourly backups. Minimum value is 1 and maximum
6565
* value is 90 for daily backups. Minimum value is 7 and maximum value is 186 for weekly backups.
66-
* Minimum value is 30 and maximum value is 732 for monthly backups. Minimum value is 30 and
66+
* Minimum value is 30 and maximum value is 732 for monthly backups. Minimum value is 365 and
6767
* maximum value is 36159 for yearly backups.
6868
* @return value or {@code null} for none
6969
*/
@@ -76,7 +76,7 @@ public java.lang.Integer getBackupRetentionDays() {
7676
* The value should be greater than or equal to minimum enforced retention of the backup vault.
7777
* Minimum value is 1 and maximum value is 90 for hourly backups. Minimum value is 1 and maximum
7878
* value is 90 for daily backups. Minimum value is 7 and maximum value is 186 for weekly backups.
79-
* Minimum value is 30 and maximum value is 732 for monthly backups. Minimum value is 30 and
79+
* Minimum value is 30 and maximum value is 732 for monthly backups. Minimum value is 365 and
8080
* maximum value is 36159 for yearly backups.
8181
* @param backupRetentionDays backupRetentionDays or {@code null} for none
8282
*/

0 commit comments

Comments
 (0)