Skip to content

Commit 6a45fc6

Browse files
1 parent 1f0178c commit 6a45fc6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+3140
-208
lines changed

clients/google-api-services-apphub/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-apphub</artifactId>
25-
<version>v1-rev20240307-2.0.0</version>
25+
<version>v1-rev20241008-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-apphub:v1-rev20240307-2.0.0'
38+
implementation 'com.google.apis:google-api-services-apphub:v1-rev20241008-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-apphub/v1/2.0.0/com/google/api/services/apphub/v1/AppHub.java

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1786,8 +1786,8 @@ public List set(String parameterName, Object value) {
17861786
* This request holds the parameters needed by the apphub server. After setting any optional
17871787
* parameters, call the {@link Patch#execute()} method to invoke the remote operation.
17881788
*
1789-
* @param name Identifier. The resource name of an Application. Format: "projects/{host-project-
1790-
* id}/locations/{location}/applications/{application-id}"
1789+
* @param name Identifier. The resource name of an Application. Format: `"projects/{host-project-
1790+
* id}/locations/{location}/applications/{application-id}"`
17911791
* @param content the {@link com.google.api.services.apphub.v1.model.Application}
17921792
* @return the request
17931793
*/
@@ -1814,8 +1814,8 @@ public class Patch extends AppHubRequest<com.google.api.services.apphub.v1.model
18141814
* Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
18151815
* be called to initialize this instance immediately after invoking the constructor. </p>
18161816
*
1817-
* @param name Identifier. The resource name of an Application. Format: "projects/{host-project-
1818-
* id}/locations/{location}/applications/{application-id}"
1817+
* @param name Identifier. The resource name of an Application. Format: `"projects/{host-project-
1818+
* id}/locations/{location}/applications/{application-id}"`
18191819
* @param content the {@link com.google.api.services.apphub.v1.model.Application}
18201820
* @since 1.13
18211821
*/
@@ -1885,22 +1885,22 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
18851885
}
18861886

18871887
/**
1888-
* Identifier. The resource name of an Application. Format: "projects/{host-project-
1889-
* id}/locations/{location}/applications/{application-id}"
1888+
* Identifier. The resource name of an Application. Format: `"projects/{host-project-
1889+
* id}/locations/{location}/applications/{application-id}"`
18901890
*/
18911891
@com.google.api.client.util.Key
18921892
private java.lang.String name;
18931893

1894-
/** Identifier. The resource name of an Application. Format: "projects/{host-project-
1895-
id}/locations/{location}/applications/{application-id}"
1894+
/** Identifier. The resource name of an Application. Format: `"projects/{host-project-
1895+
id}/locations/{location}/applications/{application-id}"`
18961896
*/
18971897
public java.lang.String getName() {
18981898
return name;
18991899
}
19001900

19011901
/**
1902-
* Identifier. The resource name of an Application. Format: "projects/{host-project-
1903-
* id}/locations/{location}/applications/{application-id}"
1902+
* Identifier. The resource name of an Application. Format: `"projects/{host-project-
1903+
* id}/locations/{location}/applications/{application-id}"`
19041904
*/
19051905
public Patch setName(java.lang.String name) {
19061906
if (!getSuppressPatternChecks()) {
@@ -3080,8 +3080,8 @@ public List set(String parameterName, Object value) {
30803080
* This request holds the parameters needed by the apphub server. After setting any optional
30813081
* parameters, call the {@link Patch#execute()} method to invoke the remote operation.
30823082
*
3083-
* @param name Identifier. The resource name of a Service. Format: "projects/{host-project-
3084-
* id}/locations/{location}/applications/{application-id}/services/{service-id}"
3083+
* @param name Identifier. The resource name of a Service. Format: `"projects/{host-project-
3084+
* id}/locations/{location}/applications/{application-id}/services/{service-id}"`
30853085
* @param content the {@link com.google.api.services.apphub.v1.model.Service}
30863086
* @return the request
30873087
*/
@@ -3108,8 +3108,8 @@ public class Patch extends AppHubRequest<com.google.api.services.apphub.v1.model
31083108
* Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
31093109
* be called to initialize this instance immediately after invoking the constructor. </p>
31103110
*
3111-
* @param name Identifier. The resource name of a Service. Format: "projects/{host-project-
3112-
* id}/locations/{location}/applications/{application-id}/services/{service-id}"
3111+
* @param name Identifier. The resource name of a Service. Format: `"projects/{host-project-
3112+
* id}/locations/{location}/applications/{application-id}/services/{service-id}"`
31133113
* @param content the {@link com.google.api.services.apphub.v1.model.Service}
31143114
* @since 1.13
31153115
*/
@@ -3179,22 +3179,22 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
31793179
}
31803180

31813181
/**
3182-
* Identifier. The resource name of a Service. Format: "projects/{host-project-
3183-
* id}/locations/{location}/applications/{application-id}/services/{service-id}"
3182+
* Identifier. The resource name of a Service. Format: `"projects/{host-project-
3183+
* id}/locations/{location}/applications/{application-id}/services/{service-id}"`
31843184
*/
31853185
@com.google.api.client.util.Key
31863186
private java.lang.String name;
31873187

3188-
/** Identifier. The resource name of a Service. Format: "projects/{host-project-
3189-
id}/locations/{location}/applications/{application-id}/services/{service-id}"
3188+
/** Identifier. The resource name of a Service. Format: `"projects/{host-project-
3189+
id}/locations/{location}/applications/{application-id}/services/{service-id}"`
31903190
*/
31913191
public java.lang.String getName() {
31923192
return name;
31933193
}
31943194

31953195
/**
3196-
* Identifier. The resource name of a Service. Format: "projects/{host-project-
3197-
* id}/locations/{location}/applications/{application-id}/services/{service-id}"
3196+
* Identifier. The resource name of a Service. Format: `"projects/{host-project-
3197+
* id}/locations/{location}/applications/{application-id}/services/{service-id}"`
31983198
*/
31993199
public Patch setName(java.lang.String name) {
32003200
if (!getSuppressPatternChecks()) {
@@ -4077,8 +4077,8 @@ public List set(String parameterName, Object value) {
40774077
* This request holds the parameters needed by the apphub server. After setting any optional
40784078
* parameters, call the {@link Patch#execute()} method to invoke the remote operation.
40794079
*
4080-
* @param name Identifier. The resource name of the Workload. Format: "projects/{host-project-
4081-
* id}/locations/{location}/applications/{application-id}/workloads/{workload-id}"
4080+
* @param name Identifier. The resource name of the Workload. Format: `"projects/{host-project-
4081+
* id}/locations/{location}/applications/{application-id}/workloads/{workload-id}"`
40824082
* @param content the {@link com.google.api.services.apphub.v1.model.Workload}
40834083
* @return the request
40844084
*/
@@ -4105,8 +4105,8 @@ public class Patch extends AppHubRequest<com.google.api.services.apphub.v1.model
41054105
* Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
41064106
* be called to initialize this instance immediately after invoking the constructor. </p>
41074107
*
4108-
* @param name Identifier. The resource name of the Workload. Format: "projects/{host-project-
4109-
* id}/locations/{location}/applications/{application-id}/workloads/{workload-id}"
4108+
* @param name Identifier. The resource name of the Workload. Format: `"projects/{host-project-
4109+
* id}/locations/{location}/applications/{application-id}/workloads/{workload-id}"`
41104110
* @param content the {@link com.google.api.services.apphub.v1.model.Workload}
41114111
* @since 1.13
41124112
*/
@@ -4176,22 +4176,22 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
41764176
}
41774177

41784178
/**
4179-
* Identifier. The resource name of the Workload. Format: "projects/{host-project-
4180-
* id}/locations/{location}/applications/{application-id}/workloads/{workload-id}"
4179+
* Identifier. The resource name of the Workload. Format: `"projects/{host-project-
4180+
* id}/locations/{location}/applications/{application-id}/workloads/{workload-id}"`
41814181
*/
41824182
@com.google.api.client.util.Key
41834183
private java.lang.String name;
41844184

4185-
/** Identifier. The resource name of the Workload. Format: "projects/{host-project-
4186-
id}/locations/{location}/applications/{application-id}/workloads/{workload-id}"
4185+
/** Identifier. The resource name of the Workload. Format: `"projects/{host-project-
4186+
id}/locations/{location}/applications/{application-id}/workloads/{workload-id}"`
41874187
*/
41884188
public java.lang.String getName() {
41894189
return name;
41904190
}
41914191

41924192
/**
4193-
* Identifier. The resource name of the Workload. Format: "projects/{host-project-
4194-
* id}/locations/{location}/applications/{application-id}/workloads/{workload-id}"
4193+
* Identifier. The resource name of the Workload. Format: `"projects/{host-project-
4194+
* id}/locations/{location}/applications/{application-id}/workloads/{workload-id}"`
41954195
*/
41964196
public Patch setName(java.lang.String name) {
41974197
if (!getSuppressPatternChecks()) {

clients/google-api-services-apphub/v1/2.0.0/com/google/api/services/apphub/v1/model/Application.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.apphub.v1.model;
1818

1919
/**
20-
* Application defines the governance boundary for App Hub Entities that perform a logical end-to-
20+
* Application defines the governance boundary for App Hub entities that perform a logical end-to-
2121
* end business function. App Hub supports application level IAM permission to align with governance
2222
* requirements.
2323
*
@@ -61,8 +61,8 @@ public final class Application extends com.google.api.client.json.GenericJson {
6161
private java.lang.String displayName;
6262

6363
/**
64-
* Identifier. The resource name of an Application. Format: "projects/{host-project-
65-
* id}/locations/{location}/applications/{application-id}"
64+
* Identifier. The resource name of an Application. Format: `"projects/{host-project-
65+
* id}/locations/{location}/applications/{application-id}"`
6666
* The value may be {@code null}.
6767
*/
6868
@com.google.api.client.util.Key
@@ -168,17 +168,17 @@ public Application setDisplayName(java.lang.String displayName) {
168168
}
169169

170170
/**
171-
* Identifier. The resource name of an Application. Format: "projects/{host-project-
172-
* id}/locations/{location}/applications/{application-id}"
171+
* Identifier. The resource name of an Application. Format: `"projects/{host-project-
172+
* id}/locations/{location}/applications/{application-id}"`
173173
* @return value or {@code null} for none
174174
*/
175175
public java.lang.String getName() {
176176
return name;
177177
}
178178

179179
/**
180-
* Identifier. The resource name of an Application. Format: "projects/{host-project-
181-
* id}/locations/{location}/applications/{application-id}"
180+
* Identifier. The resource name of an Application. Format: `"projects/{host-project-
181+
* id}/locations/{location}/applications/{application-id}"`
182182
* @param name name or {@code null} for none
183183
*/
184184
public Application setName(java.lang.String name) {
Lines changed: 172 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,172 @@
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.apphub.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 App Hub API. For a detailed explanation 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 AssetLocation extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS
35+
* for storing resource metadata.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String ccfeRmsPath;
40+
41+
/**
42+
* Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at
43+
* the time of asset creation.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private IsolationExpectations expected;
48+
49+
/**
50+
* Defines extra parameters required for specific asset types.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.util.List<ExtraParameter> extraParameters;
55+
56+
/**
57+
* Contains all kinds of physical location definitions for this asset.
58+
* The value may be {@code null}.
59+
*/
60+
@com.google.api.client.util.Key
61+
private java.util.List<LocationData> locationData;
62+
63+
/**
64+
* Defines parents assets if any in order to allow later generation of child_asset_location data
65+
* via child assets.
66+
* The value may be {@code null}.
67+
*/
68+
@com.google.api.client.util.Key
69+
private java.util.List<CloudAsset> parentAsset;
70+
71+
/**
72+
* Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS
73+
* for storing resource metadata.
74+
* @return value or {@code null} for none
75+
*/
76+
public java.lang.String getCcfeRmsPath() {
77+
return ccfeRmsPath;
78+
}
79+
80+
/**
81+
* Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS
82+
* for storing resource metadata.
83+
* @param ccfeRmsPath ccfeRmsPath or {@code null} for none
84+
*/
85+
public AssetLocation setCcfeRmsPath(java.lang.String ccfeRmsPath) {
86+
this.ccfeRmsPath = ccfeRmsPath;
87+
return this;
88+
}
89+
90+
/**
91+
* Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at
92+
* the time of asset creation.
93+
* @return value or {@code null} for none
94+
*/
95+
public IsolationExpectations getExpected() {
96+
return expected;
97+
}
98+
99+
/**
100+
* Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at
101+
* the time of asset creation.
102+
* @param expected expected or {@code null} for none
103+
*/
104+
public AssetLocation setExpected(IsolationExpectations expected) {
105+
this.expected = expected;
106+
return this;
107+
}
108+
109+
/**
110+
* Defines extra parameters required for specific asset types.
111+
* @return value or {@code null} for none
112+
*/
113+
public java.util.List<ExtraParameter> getExtraParameters() {
114+
return extraParameters;
115+
}
116+
117+
/**
118+
* Defines extra parameters required for specific asset types.
119+
* @param extraParameters extraParameters or {@code null} for none
120+
*/
121+
public AssetLocation setExtraParameters(java.util.List<ExtraParameter> extraParameters) {
122+
this.extraParameters = extraParameters;
123+
return this;
124+
}
125+
126+
/**
127+
* Contains all kinds of physical location definitions for this asset.
128+
* @return value or {@code null} for none
129+
*/
130+
public java.util.List<LocationData> getLocationData() {
131+
return locationData;
132+
}
133+
134+
/**
135+
* Contains all kinds of physical location definitions for this asset.
136+
* @param locationData locationData or {@code null} for none
137+
*/
138+
public AssetLocation setLocationData(java.util.List<LocationData> locationData) {
139+
this.locationData = locationData;
140+
return this;
141+
}
142+
143+
/**
144+
* Defines parents assets if any in order to allow later generation of child_asset_location data
145+
* via child assets.
146+
* @return value or {@code null} for none
147+
*/
148+
public java.util.List<CloudAsset> getParentAsset() {
149+
return parentAsset;
150+
}
151+
152+
/**
153+
* Defines parents assets if any in order to allow later generation of child_asset_location data
154+
* via child assets.
155+
* @param parentAsset parentAsset or {@code null} for none
156+
*/
157+
public AssetLocation setParentAsset(java.util.List<CloudAsset> parentAsset) {
158+
this.parentAsset = parentAsset;
159+
return this;
160+
}
161+
162+
@Override
163+
public AssetLocation set(String fieldName, Object value) {
164+
return (AssetLocation) super.set(fieldName, value);
165+
}
166+
167+
@Override
168+
public AssetLocation clone() {
169+
return (AssetLocation) super.clone();
170+
}
171+
172+
}

0 commit comments

Comments
 (0)