Skip to content

Commit 90ee031

Browse files
1 parent f7b08e8 commit 90ee031

File tree

10 files changed

+967
-6
lines changed

10 files changed

+967
-6
lines changed

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

Lines changed: 2 additions & 2 deletions
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-rev20251001-2.0.0</version>
25+
<version>v1-rev20251015-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-rev20251001-2.0.0'
38+
implementation 'com.google.apis:google-api-services-backupdr:v1-rev20251015-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 547 additions & 0 deletions
Large diffs are not rendered by default.

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,13 @@ public final class Backup extends com.google.api.client.json.GenericJson {
128128
@com.google.api.client.util.Key
129129
private GCPBackupPlanInfo gcpBackupPlanInfo;
130130

131+
/**
132+
* Output only. Unique identifier of the GCP resource that is being backed up.
133+
* The value may be {@code null}.
134+
*/
135+
@com.google.api.client.util.Key
136+
private BackupGcpResource gcpResource;
137+
131138
/**
132139
* Optional. Resource labels to represent user provided metadata. No labels currently defined.
133140
* The value may be {@code null}.
@@ -426,6 +433,23 @@ public Backup setGcpBackupPlanInfo(GCPBackupPlanInfo gcpBackupPlanInfo) {
426433
return this;
427434
}
428435

436+
/**
437+
* Output only. Unique identifier of the GCP resource that is being backed up.
438+
* @return value or {@code null} for none
439+
*/
440+
public BackupGcpResource getGcpResource() {
441+
return gcpResource;
442+
}
443+
444+
/**
445+
* Output only. Unique identifier of the GCP resource that is being backed up.
446+
* @param gcpResource gcpResource or {@code null} for none
447+
*/
448+
public Backup setGcpResource(BackupGcpResource gcpResource) {
449+
this.gcpResource = gcpResource;
450+
return this;
451+
}
452+
429453
/**
430454
* Optional. Resource labels to represent user provided metadata. No labels currently defined.
431455
* @return value or {@code null} for none
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.backupdr.v1.model;
18+
19+
/**
20+
* Minimum details to identify a Google Cloud resource for a backup.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Backup and DR Service API. For a detailed explanation
24+
* see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class BackupGcpResource extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Name of the Google Cloud resource.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String gcpResourcename;
39+
40+
/**
41+
* Location of the resource: //"global"/"unspecified".
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String location;
46+
47+
/**
48+
* Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String type;
53+
54+
/**
55+
* Name of the Google Cloud resource.
56+
* @return value or {@code null} for none
57+
*/
58+
public java.lang.String getGcpResourcename() {
59+
return gcpResourcename;
60+
}
61+
62+
/**
63+
* Name of the Google Cloud resource.
64+
* @param gcpResourcename gcpResourcename or {@code null} for none
65+
*/
66+
public BackupGcpResource setGcpResourcename(java.lang.String gcpResourcename) {
67+
this.gcpResourcename = gcpResourcename;
68+
return this;
69+
}
70+
71+
/**
72+
* Location of the resource: //"global"/"unspecified".
73+
* @return value or {@code null} for none
74+
*/
75+
public java.lang.String getLocation() {
76+
return location;
77+
}
78+
79+
/**
80+
* Location of the resource: //"global"/"unspecified".
81+
* @param location location or {@code null} for none
82+
*/
83+
public BackupGcpResource setLocation(java.lang.String location) {
84+
this.location = location;
85+
return this;
86+
}
87+
88+
/**
89+
* Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
90+
* @return value or {@code null} for none
91+
*/
92+
public java.lang.String getType() {
93+
return type;
94+
}
95+
96+
/**
97+
* Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
98+
* @param type type or {@code null} for none
99+
*/
100+
public BackupGcpResource setType(java.lang.String type) {
101+
this.type = type;
102+
return this;
103+
}
104+
105+
@Override
106+
public BackupGcpResource set(String fieldName, Object value) {
107+
return (BackupGcpResource) super.set(fieldName, value);
108+
}
109+
110+
@Override
111+
public BackupGcpResource clone() {
112+
return (BackupGcpResource) super.clone();
113+
}
114+
115+
}

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

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,20 @@ public final class CloudSqlInstanceBackupProperties extends com.google.api.clien
4545
@com.google.api.client.util.Key
4646
private java.lang.Boolean finalBackup;
4747

48+
/**
49+
* Output only. The instance creation timestamp.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private String instanceCreateTime;
54+
55+
/**
56+
* Output only. The instance delete timestamp.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private String instanceDeleteTime;
61+
4862
/**
4963
* Output only. The tier (or machine type) for this instance. Example: `db-custom-1-3840`
5064
* The value may be {@code null}.
@@ -95,6 +109,40 @@ public CloudSqlInstanceBackupProperties setFinalBackup(java.lang.Boolean finalBa
95109
return this;
96110
}
97111

112+
/**
113+
* Output only. The instance creation timestamp.
114+
* @return value or {@code null} for none
115+
*/
116+
public String getInstanceCreateTime() {
117+
return instanceCreateTime;
118+
}
119+
120+
/**
121+
* Output only. The instance creation timestamp.
122+
* @param instanceCreateTime instanceCreateTime or {@code null} for none
123+
*/
124+
public CloudSqlInstanceBackupProperties setInstanceCreateTime(String instanceCreateTime) {
125+
this.instanceCreateTime = instanceCreateTime;
126+
return this;
127+
}
128+
129+
/**
130+
* Output only. The instance delete timestamp.
131+
* @return value or {@code null} for none
132+
*/
133+
public String getInstanceDeleteTime() {
134+
return instanceDeleteTime;
135+
}
136+
137+
/**
138+
* Output only. The instance delete timestamp.
139+
* @param instanceDeleteTime instanceDeleteTime or {@code null} for none
140+
*/
141+
public CloudSqlInstanceBackupProperties setInstanceDeleteTime(String instanceDeleteTime) {
142+
this.instanceDeleteTime = instanceDeleteTime;
143+
return this;
144+
}
145+
98146
/**
99147
* Output only. The tier (or machine type) for this instance. Example: `db-custom-1-3840`
100148
* @return value or {@code null} for none

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,14 @@ public final class DataSourceReference extends com.google.api.client.json.Generi
8181
@com.google.api.client.util.Key
8282
private java.lang.String name;
8383

84+
/**
85+
* Output only. Total size of the storage used by all backup resources for the referenced
86+
* datasource.
87+
* The value may be {@code null}.
88+
*/
89+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
90+
private java.lang.Long totalStoredBytes;
91+
8492
/**
8593
* Output only. The time when the DataSourceReference was created.
8694
* @return value or {@code null} for none
@@ -204,6 +212,25 @@ public DataSourceReference setName(java.lang.String name) {
204212
return this;
205213
}
206214

215+
/**
216+
* Output only. Total size of the storage used by all backup resources for the referenced
217+
* datasource.
218+
* @return value or {@code null} for none
219+
*/
220+
public java.lang.Long getTotalStoredBytes() {
221+
return totalStoredBytes;
222+
}
223+
224+
/**
225+
* Output only. Total size of the storage used by all backup resources for the referenced
226+
* datasource.
227+
* @param totalStoredBytes totalStoredBytes or {@code null} for none
228+
*/
229+
public DataSourceReference setTotalStoredBytes(java.lang.Long totalStoredBytes) {
230+
this.totalStoredBytes = totalStoredBytes;
231+
return this;
232+
}
233+
207234
@Override
208235
public DataSourceReference set(String fieldName, Object value) {
209236
return (DataSourceReference) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.backupdr.v1.model;
18+
19+
/**
20+
* Response for the FetchBackupsForResourceType method.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Backup and DR Service API. For a detailed explanation
24+
* see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class FetchBackupsForResourceTypeResponse extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The Backups from the specified parent.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<Backup> backups;
39+
40+
static {
41+
// hack to force ProGuard to consider Backup used, since otherwise it would be stripped out
42+
// see https://github.com/google/google-api-java-client/issues/543
43+
com.google.api.client.util.Data.nullOf(Backup.class);
44+
}
45+
46+
/**
47+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
48+
* there are no subsequent pages.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String nextPageToken;
53+
54+
/**
55+
* The Backups from the specified parent.
56+
* @return value or {@code null} for none
57+
*/
58+
public java.util.List<Backup> getBackups() {
59+
return backups;
60+
}
61+
62+
/**
63+
* The Backups from the specified parent.
64+
* @param backups backups or {@code null} for none
65+
*/
66+
public FetchBackupsForResourceTypeResponse setBackups(java.util.List<Backup> backups) {
67+
this.backups = backups;
68+
return this;
69+
}
70+
71+
/**
72+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
73+
* there are no subsequent pages.
74+
* @return value or {@code null} for none
75+
*/
76+
public java.lang.String getNextPageToken() {
77+
return nextPageToken;
78+
}
79+
80+
/**
81+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
82+
* there are no subsequent pages.
83+
* @param nextPageToken nextPageToken or {@code null} for none
84+
*/
85+
public FetchBackupsForResourceTypeResponse setNextPageToken(java.lang.String nextPageToken) {
86+
this.nextPageToken = nextPageToken;
87+
return this;
88+
}
89+
90+
@Override
91+
public FetchBackupsForResourceTypeResponse set(String fieldName, Object value) {
92+
return (FetchBackupsForResourceTypeResponse) super.set(fieldName, value);
93+
}
94+
95+
@Override
96+
public FetchBackupsForResourceTypeResponse clone() {
97+
return (FetchBackupsForResourceTypeResponse) super.clone();
98+
}
99+
100+
}

0 commit comments

Comments
 (0)