Skip to content

Commit 55acb61

Browse files
1 parent a44405e commit 55acb61

File tree

16 files changed

+1178
-42
lines changed

16 files changed

+1178
-42
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# App Hub API Client Library for Java
22

3-
3+
App Hub lets you build, operate, and manage applications on Google Cloud.
44

55
This page contains information about getting started with the App Hub API
66
using the Google API Client Library for Java. In addition, you may be interested
@@ -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-rev20251114-2.0.0</version>
25+
<version>v1-rev20251210-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-rev20251114-2.0.0'
38+
implementation 'com.google.apis:google-api-services-apphub:v1-rev20251210-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: 356 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* Service definition for AppHub (v1).
2121
*
2222
* <p>
23-
*
23+
* App Hub lets you build, operate, and manage applications on Google Cloud.
2424
* </p>
2525
*
2626
* <p>
@@ -5787,6 +5787,361 @@ public Lookup set(String parameterName, Object value) {
57875787
}
57885788
}
57895789

5790+
}
5791+
/**
5792+
* An accessor for creating requests from the ExtendedMetadataSchemas collection.
5793+
*
5794+
* <p>The typical use is:</p>
5795+
* <pre>
5796+
* {@code AppHub apphub = new AppHub(...);}
5797+
* {@code AppHub.ExtendedMetadataSchemas.List request = apphub.extendedMetadataSchemas().list(parameters ...)}
5798+
* </pre>
5799+
*
5800+
* @return the resource collection
5801+
*/
5802+
public ExtendedMetadataSchemas extendedMetadataSchemas() {
5803+
return new ExtendedMetadataSchemas();
5804+
}
5805+
5806+
/**
5807+
* The "extendedMetadataSchemas" collection of methods.
5808+
*/
5809+
public class ExtendedMetadataSchemas {
5810+
5811+
/**
5812+
* Gets an Extended Metadata Schema.
5813+
*
5814+
* Create a request for the method "extendedMetadataSchemas.get".
5815+
*
5816+
* This request holds the parameters needed by the apphub server. After setting any optional
5817+
* parameters, call the {@link Get#execute()} method to invoke the remote operation.
5818+
*
5819+
* @param name Required. Schema resource name Format: projects//locations//extendedMetadataSchemas/ could be
5820+
* "apphub.googleapis.com/Name"
5821+
* @return the request
5822+
*/
5823+
public Get get(java.lang.String name) throws java.io.IOException {
5824+
Get result = new Get(name);
5825+
initialize(result);
5826+
return result;
5827+
}
5828+
5829+
public class Get extends AppHubRequest<com.google.api.services.apphub.v1.model.ExtendedMetadataSchema> {
5830+
5831+
private static final String REST_PATH = "v1/{+name}";
5832+
5833+
private final java.util.regex.Pattern NAME_PATTERN =
5834+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/extendedMetadataSchemas/.*$");
5835+
5836+
/**
5837+
* Gets an Extended Metadata Schema.
5838+
*
5839+
* Create a request for the method "extendedMetadataSchemas.get".
5840+
*
5841+
* This request holds the parameters needed by the the apphub server. After setting any optional
5842+
* parameters, call the {@link Get#execute()} method to invoke the remote operation. <p> {@link
5843+
* Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
5844+
* called to initialize this instance immediately after invoking the constructor. </p>
5845+
*
5846+
* @param name Required. Schema resource name Format: projects//locations//extendedMetadataSchemas/ could be
5847+
* "apphub.googleapis.com/Name"
5848+
* @since 1.13
5849+
*/
5850+
protected Get(java.lang.String name) {
5851+
super(AppHub.this, "GET", REST_PATH, null, com.google.api.services.apphub.v1.model.ExtendedMetadataSchema.class);
5852+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
5853+
if (!getSuppressPatternChecks()) {
5854+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
5855+
"Parameter name must conform to the pattern " +
5856+
"^projects/[^/]+/locations/[^/]+/extendedMetadataSchemas/.*$");
5857+
}
5858+
}
5859+
5860+
@Override
5861+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
5862+
return super.executeUsingHead();
5863+
}
5864+
5865+
@Override
5866+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
5867+
return super.buildHttpRequestUsingHead();
5868+
}
5869+
5870+
@Override
5871+
public Get set$Xgafv(java.lang.String $Xgafv) {
5872+
return (Get) super.set$Xgafv($Xgafv);
5873+
}
5874+
5875+
@Override
5876+
public Get setAccessToken(java.lang.String accessToken) {
5877+
return (Get) super.setAccessToken(accessToken);
5878+
}
5879+
5880+
@Override
5881+
public Get setAlt(java.lang.String alt) {
5882+
return (Get) super.setAlt(alt);
5883+
}
5884+
5885+
@Override
5886+
public Get setCallback(java.lang.String callback) {
5887+
return (Get) super.setCallback(callback);
5888+
}
5889+
5890+
@Override
5891+
public Get setFields(java.lang.String fields) {
5892+
return (Get) super.setFields(fields);
5893+
}
5894+
5895+
@Override
5896+
public Get setKey(java.lang.String key) {
5897+
return (Get) super.setKey(key);
5898+
}
5899+
5900+
@Override
5901+
public Get setOauthToken(java.lang.String oauthToken) {
5902+
return (Get) super.setOauthToken(oauthToken);
5903+
}
5904+
5905+
@Override
5906+
public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
5907+
return (Get) super.setPrettyPrint(prettyPrint);
5908+
}
5909+
5910+
@Override
5911+
public Get setQuotaUser(java.lang.String quotaUser) {
5912+
return (Get) super.setQuotaUser(quotaUser);
5913+
}
5914+
5915+
@Override
5916+
public Get setUploadType(java.lang.String uploadType) {
5917+
return (Get) super.setUploadType(uploadType);
5918+
}
5919+
5920+
@Override
5921+
public Get setUploadProtocol(java.lang.String uploadProtocol) {
5922+
return (Get) super.setUploadProtocol(uploadProtocol);
5923+
}
5924+
5925+
/**
5926+
* Required. Schema resource name Format: projects//locations//extendedMetadataSchemas/
5927+
* could be "apphub.googleapis.com/Name"
5928+
*/
5929+
@com.google.api.client.util.Key
5930+
private java.lang.String name;
5931+
5932+
/** Required. Schema resource name Format: projects//locations//extendedMetadataSchemas/ could be
5933+
"apphub.googleapis.com/Name"
5934+
*/
5935+
public java.lang.String getName() {
5936+
return name;
5937+
}
5938+
5939+
/**
5940+
* Required. Schema resource name Format: projects//locations//extendedMetadataSchemas/
5941+
* could be "apphub.googleapis.com/Name"
5942+
*/
5943+
public Get setName(java.lang.String name) {
5944+
if (!getSuppressPatternChecks()) {
5945+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
5946+
"Parameter name must conform to the pattern " +
5947+
"^projects/[^/]+/locations/[^/]+/extendedMetadataSchemas/.*$");
5948+
}
5949+
this.name = name;
5950+
return this;
5951+
}
5952+
5953+
@Override
5954+
public Get set(String parameterName, Object value) {
5955+
return (Get) super.set(parameterName, value);
5956+
}
5957+
}
5958+
/**
5959+
* Lists Extended Metadata Schemas available in a host project and location.
5960+
*
5961+
* Create a request for the method "extendedMetadataSchemas.list".
5962+
*
5963+
* This request holds the parameters needed by the apphub server. After setting any optional
5964+
* parameters, call the {@link List#execute()} method to invoke the remote operation.
5965+
*
5966+
* @param parent Required. Project and location to list Extended Metadata Schemas on. Expected format:
5967+
* `projects/{project}/locations/{location}`.
5968+
* @return the request
5969+
*/
5970+
public List list(java.lang.String parent) throws java.io.IOException {
5971+
List result = new List(parent);
5972+
initialize(result);
5973+
return result;
5974+
}
5975+
5976+
public class List extends AppHubRequest<com.google.api.services.apphub.v1.model.ListExtendedMetadataSchemasResponse> {
5977+
5978+
private static final String REST_PATH = "v1/{+parent}/extendedMetadataSchemas";
5979+
5980+
private final java.util.regex.Pattern PARENT_PATTERN =
5981+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
5982+
5983+
/**
5984+
* Lists Extended Metadata Schemas available in a host project and location.
5985+
*
5986+
* Create a request for the method "extendedMetadataSchemas.list".
5987+
*
5988+
* This request holds the parameters needed by the the apphub server. After setting any optional
5989+
* parameters, call the {@link List#execute()} method to invoke the remote operation. <p> {@link
5990+
* List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
5991+
* called to initialize this instance immediately after invoking the constructor. </p>
5992+
*
5993+
* @param parent Required. Project and location to list Extended Metadata Schemas on. Expected format:
5994+
* `projects/{project}/locations/{location}`.
5995+
* @since 1.13
5996+
*/
5997+
protected List(java.lang.String parent) {
5998+
super(AppHub.this, "GET", REST_PATH, null, com.google.api.services.apphub.v1.model.ListExtendedMetadataSchemasResponse.class);
5999+
this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
6000+
if (!getSuppressPatternChecks()) {
6001+
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
6002+
"Parameter parent must conform to the pattern " +
6003+
"^projects/[^/]+/locations/[^/]+$");
6004+
}
6005+
}
6006+
6007+
@Override
6008+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
6009+
return super.executeUsingHead();
6010+
}
6011+
6012+
@Override
6013+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
6014+
return super.buildHttpRequestUsingHead();
6015+
}
6016+
6017+
@Override
6018+
public List set$Xgafv(java.lang.String $Xgafv) {
6019+
return (List) super.set$Xgafv($Xgafv);
6020+
}
6021+
6022+
@Override
6023+
public List setAccessToken(java.lang.String accessToken) {
6024+
return (List) super.setAccessToken(accessToken);
6025+
}
6026+
6027+
@Override
6028+
public List setAlt(java.lang.String alt) {
6029+
return (List) super.setAlt(alt);
6030+
}
6031+
6032+
@Override
6033+
public List setCallback(java.lang.String callback) {
6034+
return (List) super.setCallback(callback);
6035+
}
6036+
6037+
@Override
6038+
public List setFields(java.lang.String fields) {
6039+
return (List) super.setFields(fields);
6040+
}
6041+
6042+
@Override
6043+
public List setKey(java.lang.String key) {
6044+
return (List) super.setKey(key);
6045+
}
6046+
6047+
@Override
6048+
public List setOauthToken(java.lang.String oauthToken) {
6049+
return (List) super.setOauthToken(oauthToken);
6050+
}
6051+
6052+
@Override
6053+
public List setPrettyPrint(java.lang.Boolean prettyPrint) {
6054+
return (List) super.setPrettyPrint(prettyPrint);
6055+
}
6056+
6057+
@Override
6058+
public List setQuotaUser(java.lang.String quotaUser) {
6059+
return (List) super.setQuotaUser(quotaUser);
6060+
}
6061+
6062+
@Override
6063+
public List setUploadType(java.lang.String uploadType) {
6064+
return (List) super.setUploadType(uploadType);
6065+
}
6066+
6067+
@Override
6068+
public List setUploadProtocol(java.lang.String uploadProtocol) {
6069+
return (List) super.setUploadProtocol(uploadProtocol);
6070+
}
6071+
6072+
/**
6073+
* Required. Project and location to list Extended Metadata Schemas on. Expected format:
6074+
* `projects/{project}/locations/{location}`.
6075+
*/
6076+
@com.google.api.client.util.Key
6077+
private java.lang.String parent;
6078+
6079+
/** Required. Project and location to list Extended Metadata Schemas on. Expected format:
6080+
`projects/{project}/locations/{location}`.
6081+
*/
6082+
public java.lang.String getParent() {
6083+
return parent;
6084+
}
6085+
6086+
/**
6087+
* Required. Project and location to list Extended Metadata Schemas on. Expected format:
6088+
* `projects/{project}/locations/{location}`.
6089+
*/
6090+
public List setParent(java.lang.String parent) {
6091+
if (!getSuppressPatternChecks()) {
6092+
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
6093+
"Parameter parent must conform to the pattern " +
6094+
"^projects/[^/]+/locations/[^/]+$");
6095+
}
6096+
this.parent = parent;
6097+
return this;
6098+
}
6099+
6100+
/**
6101+
* Optional. Requested page size. Server may return fewer items than requested. If
6102+
* unspecified, server will pick an appropriate default.
6103+
*/
6104+
@com.google.api.client.util.Key
6105+
private java.lang.Integer pageSize;
6106+
6107+
/** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server
6108+
will pick an appropriate default.
6109+
*/
6110+
public java.lang.Integer getPageSize() {
6111+
return pageSize;
6112+
}
6113+
6114+
/**
6115+
* Optional. Requested page size. Server may return fewer items than requested. If
6116+
* unspecified, server will pick an appropriate default.
6117+
*/
6118+
public List setPageSize(java.lang.Integer pageSize) {
6119+
this.pageSize = pageSize;
6120+
return this;
6121+
}
6122+
6123+
/** Optional. A token identifying a page of results the server should return. */
6124+
@com.google.api.client.util.Key
6125+
private java.lang.String pageToken;
6126+
6127+
/** Optional. A token identifying a page of results the server should return.
6128+
*/
6129+
public java.lang.String getPageToken() {
6130+
return pageToken;
6131+
}
6132+
6133+
/** Optional. A token identifying a page of results the server should return. */
6134+
public List setPageToken(java.lang.String pageToken) {
6135+
this.pageToken = pageToken;
6136+
return this;
6137+
}
6138+
6139+
@Override
6140+
public List set(String parameterName, Object value) {
6141+
return (List) super.set(parameterName, value);
6142+
}
6143+
}
6144+
57906145
}
57916146
/**
57926147
* An accessor for creating requests from the Operations collection.

0 commit comments

Comments
 (0)