Skip to content

Commit 76c6ffa

Browse files
1 parent a0fc4df commit 76c6ffa

24 files changed

+1565
-54
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-rev20240711-2.0.0</version>
25+
<version>v1-rev20240725-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-rev20240711-2.0.0'
38+
implementation 'com.google.apis:google-api-services-backupdr:v1-rev20240725-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: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,7 +1623,7 @@ public List set(String parameterName, Object value) {
16231623
* This request holds the parameters needed by the backupdr server. After setting any optional
16241624
* parameters, call the {@link Patch#execute()} method to invoke the remote operation.
16251625
*
1626-
* @param name Output only. The resource name.
1626+
* @param name Output only. Identifier. The resource name.
16271627
* @param content the {@link com.google.api.services.backupdr.v1.model.BackupVault}
16281628
* @return the request
16291629
*/
@@ -1651,7 +1651,7 @@ public class Patch extends BackupdrRequest<com.google.api.services.backupdr.v1.m
16511651
* Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
16521652
* be called to initialize this instance immediately after invoking the constructor. </p>
16531653
*
1654-
* @param name Output only. The resource name.
1654+
* @param name Output only. Identifier. The resource name.
16551655
* @param content the {@link com.google.api.services.backupdr.v1.model.BackupVault}
16561656
* @since 1.13
16571657
*/
@@ -1720,17 +1720,17 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
17201720
return (Patch) super.setUploadProtocol(uploadProtocol);
17211721
}
17221722

1723-
/** Output only. The resource name. */
1723+
/** Output only. Identifier. The resource name. */
17241724
@com.google.api.client.util.Key
17251725
private java.lang.String name;
17261726

1727-
/** Output only. The resource name.
1727+
/** Output only. Identifier. The resource name.
17281728
*/
17291729
public java.lang.String getName() {
17301730
return name;
17311731
}
17321732

1733-
/** Output only. The resource name. */
1733+
/** Output only. Identifier. The resource name. */
17341734
public Patch setName(java.lang.String name) {
17351735
if (!getSuppressPatternChecks()) {
17361736
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
@@ -1743,21 +1743,20 @@ public Patch setName(java.lang.String name) {
17431743

17441744
/**
17451745
* Optional. If set to true, will not check plan duration against backup vault enforcement
1746-
* duration. Non-standard field.
1746+
* duration.
17471747
*/
17481748
@com.google.api.client.util.Key
17491749
private java.lang.Boolean force;
17501750

17511751
/** Optional. If set to true, will not check plan duration against backup vault enforcement duration.
1752-
Non-standard field.
17531752
*/
17541753
public java.lang.Boolean getForce() {
17551754
return force;
17561755
}
17571756

17581757
/**
17591758
* Optional. If set to true, will not check plan duration against backup vault enforcement
1760-
* duration. Non-standard field.
1759+
* duration.
17611760
*/
17621761
public Patch setForce(java.lang.Boolean force) {
17631762
this.force = force;
@@ -2976,7 +2975,7 @@ public List set(String parameterName, Object value) {
29762975
* This request holds the parameters needed by the backupdr server. After setting any optional
29772976
* parameters, call the {@link Patch#execute()} method to invoke the remote operation.
29782977
*
2979-
* @param name Output only. The resource name.
2978+
* @param name Output only. Identifier. The resource name.
29802979
* @param content the {@link com.google.api.services.backupdr.v1.model.DataSource}
29812980
* @return the request
29822981
*/
@@ -3004,7 +3003,7 @@ public class Patch extends BackupdrRequest<com.google.api.services.backupdr.v1.m
30043003
* Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
30053004
* be called to initialize this instance immediately after invoking the constructor. </p>
30063005
*
3007-
* @param name Output only. The resource name.
3006+
* @param name Output only. Identifier. The resource name.
30083007
* @param content the {@link com.google.api.services.backupdr.v1.model.DataSource}
30093008
* @since 1.13
30103009
*/
@@ -3073,17 +3072,17 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
30733072
return (Patch) super.setUploadProtocol(uploadProtocol);
30743073
}
30753074

3076-
/** Output only. The resource name. */
3075+
/** Output only. Identifier. The resource name. */
30773076
@com.google.api.client.util.Key
30783077
private java.lang.String name;
30793078

3080-
/** Output only. The resource name.
3079+
/** Output only. Identifier. The resource name.
30813080
*/
30823081
public java.lang.String getName() {
30833082
return name;
30843083
}
30853084

3086-
/** Output only. The resource name. */
3085+
/** Output only. Identifier. The resource name. */
30873086
public Patch setName(java.lang.String name) {
30883087
if (!getSuppressPatternChecks()) {
30893088
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
@@ -4040,7 +4039,7 @@ public List set(String parameterName, Object value) {
40404039
* This request holds the parameters needed by the backupdr server. After setting any optional
40414040
* parameters, call the {@link Patch#execute()} method to invoke the remote operation.
40424041
*
4043-
* @param name Output only. Name of the resource.
4042+
* @param name Output only. Identifier. Name of the resource.
40444043
* @param content the {@link com.google.api.services.backupdr.v1.model.Backup}
40454044
* @return the request
40464045
*/
@@ -4068,7 +4067,7 @@ public class Patch extends BackupdrRequest<com.google.api.services.backupdr.v1.m
40684067
* Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
40694068
* be called to initialize this instance immediately after invoking the constructor. </p>
40704069
*
4071-
* @param name Output only. Name of the resource.
4070+
* @param name Output only. Identifier. Name of the resource.
40724071
* @param content the {@link com.google.api.services.backupdr.v1.model.Backup}
40734072
* @since 1.13
40744073
*/
@@ -4137,17 +4136,17 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
41374136
return (Patch) super.setUploadProtocol(uploadProtocol);
41384137
}
41394138

4140-
/** Output only. Name of the resource. */
4139+
/** Output only. Identifier. Name of the resource. */
41414140
@com.google.api.client.util.Key
41424141
private java.lang.String name;
41434142

4144-
/** Output only. Name of the resource.
4143+
/** Output only. Identifier. Name of the resource.
41454144
*/
41464145
public java.lang.String getName() {
41474146
return name;
41484147
}
41494148

4150-
/** Output only. Name of the resource. */
4149+
/** Output only. Identifier. Name of the resource. */
41514150
public Patch setName(java.lang.String name) {
41524151
if (!getSuppressPatternChecks()) {
41534152
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
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+
* Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines
21+
* the location on its behalf.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Backup and DR Service API. For a detailed explanation
25+
* see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class AssetLocation extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS
36+
* for storing resource metadata.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String ccfeRmsPath;
41+
42+
/**
43+
* Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at
44+
* the time of asset creation.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private IsolationExpectations expected;
49+
50+
/**
51+
* Defines extra parameters required for specific asset types.
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private java.util.List<ExtraParameter> extraParameters;
56+
57+
/**
58+
* Contains all kinds of physical location definitions for this asset.
59+
* The value may be {@code null}.
60+
*/
61+
@com.google.api.client.util.Key
62+
private java.util.List<LocationData> locationData;
63+
64+
/**
65+
* Defines parents assets if any in order to allow later generation of child_asset_location data
66+
* via child assets.
67+
* The value may be {@code null}.
68+
*/
69+
@com.google.api.client.util.Key
70+
private java.util.List<CloudAsset> parentAsset;
71+
72+
/**
73+
* Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS
74+
* for storing resource metadata.
75+
* @return value or {@code null} for none
76+
*/
77+
public java.lang.String getCcfeRmsPath() {
78+
return ccfeRmsPath;
79+
}
80+
81+
/**
82+
* Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS
83+
* for storing resource metadata.
84+
* @param ccfeRmsPath ccfeRmsPath or {@code null} for none
85+
*/
86+
public AssetLocation setCcfeRmsPath(java.lang.String ccfeRmsPath) {
87+
this.ccfeRmsPath = ccfeRmsPath;
88+
return this;
89+
}
90+
91+
/**
92+
* Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at
93+
* the time of asset creation.
94+
* @return value or {@code null} for none
95+
*/
96+
public IsolationExpectations getExpected() {
97+
return expected;
98+
}
99+
100+
/**
101+
* Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at
102+
* the time of asset creation.
103+
* @param expected expected or {@code null} for none
104+
*/
105+
public AssetLocation setExpected(IsolationExpectations expected) {
106+
this.expected = expected;
107+
return this;
108+
}
109+
110+
/**
111+
* Defines extra parameters required for specific asset types.
112+
* @return value or {@code null} for none
113+
*/
114+
public java.util.List<ExtraParameter> getExtraParameters() {
115+
return extraParameters;
116+
}
117+
118+
/**
119+
* Defines extra parameters required for specific asset types.
120+
* @param extraParameters extraParameters or {@code null} for none
121+
*/
122+
public AssetLocation setExtraParameters(java.util.List<ExtraParameter> extraParameters) {
123+
this.extraParameters = extraParameters;
124+
return this;
125+
}
126+
127+
/**
128+
* Contains all kinds of physical location definitions for this asset.
129+
* @return value or {@code null} for none
130+
*/
131+
public java.util.List<LocationData> getLocationData() {
132+
return locationData;
133+
}
134+
135+
/**
136+
* Contains all kinds of physical location definitions for this asset.
137+
* @param locationData locationData or {@code null} for none
138+
*/
139+
public AssetLocation setLocationData(java.util.List<LocationData> locationData) {
140+
this.locationData = locationData;
141+
return this;
142+
}
143+
144+
/**
145+
* Defines parents assets if any in order to allow later generation of child_asset_location data
146+
* via child assets.
147+
* @return value or {@code null} for none
148+
*/
149+
public java.util.List<CloudAsset> getParentAsset() {
150+
return parentAsset;
151+
}
152+
153+
/**
154+
* Defines parents assets if any in order to allow later generation of child_asset_location data
155+
* via child assets.
156+
* @param parentAsset parentAsset or {@code null} for none
157+
*/
158+
public AssetLocation setParentAsset(java.util.List<CloudAsset> parentAsset) {
159+
this.parentAsset = parentAsset;
160+
return this;
161+
}
162+
163+
@Override
164+
public AssetLocation set(String fieldName, Object value) {
165+
return (AssetLocation) super.set(fieldName, value);
166+
}
167+
168+
@Override
169+
public AssetLocation clone() {
170+
return (AssetLocation) super.clone();
171+
}
172+
173+
}

0 commit comments

Comments
 (0)