diff --git a/clients/google-api-services-apihub/v1/2.0.0/README.md b/clients/google-api-services-apihub/v1/2.0.0/README.md index f40d75fd214..c5c92895aab 100644 --- a/clients/google-api-services-apihub/v1/2.0.0/README.md +++ b/clients/google-api-services-apihub/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-apihub - v1-rev20260831-2.0.0 + v1-rev20260907-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-apihub:v1-rev20260831-2.0.0' + implementation 'com.google.apis:google-api-services-apihub:v1-rev20260907-2.0.0' } ``` diff --git a/clients/google-api-services-apihub/v1/2.0.0/com/google/api/services/apihub/v1/model/GoogleCloudApihubV1ApiOperation.java b/clients/google-api-services-apihub/v1/2.0.0/com/google/api/services/apihub/v1/model/GoogleCloudApihubV1ApiOperation.java index df6f86ca1b3..f4c42c95f81 100644 --- a/clients/google-api-services-apihub/v1/2.0.0/com/google/api/services/apihub/v1/model/GoogleCloudApihubV1ApiOperation.java +++ b/clients/google-api-services-apihub/v1/2.0.0/com/google/api/services/apihub/v1/model/GoogleCloudApihubV1ApiOperation.java @@ -52,6 +52,16 @@ public final class GoogleCloudApihubV1ApiOperation extends com.google.api.client @com.google.api.client.util.Key private String createTime; + /** + * Optional. The deployments linked directly to this API operation. For operations parsed from a + * spec, `UpdateApiOperation` returns `FAILED_PRECONDITION`; link the parent spec to the + * deployment via `Spec.deployments` instead. Format is + * `projects/{project}/locations/{location}/deployments/{deployment}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List deployments; + /** * Optional. Operation details. Note: Even though this field is optional, it is required for * CreateApiOperation API and we will fail the request if not provided. @@ -131,6 +141,29 @@ public GoogleCloudApihubV1ApiOperation setCreateTime(String createTime) { return this; } + /** + * Optional. The deployments linked directly to this API operation. For operations parsed from a + * spec, `UpdateApiOperation` returns `FAILED_PRECONDITION`; link the parent spec to the + * deployment via `Spec.deployments` instead. Format is + * `projects/{project}/locations/{location}/deployments/{deployment}` + * @return value or {@code null} for none + */ + public java.util.List getDeployments() { + return deployments; + } + + /** + * Optional. The deployments linked directly to this API operation. For operations parsed from a + * spec, `UpdateApiOperation` returns `FAILED_PRECONDITION`; link the parent spec to the + * deployment via `Spec.deployments` instead. Format is + * `projects/{project}/locations/{location}/deployments/{deployment}` + * @param deployments deployments or {@code null} for none + */ + public GoogleCloudApihubV1ApiOperation setDeployments(java.util.List deployments) { + this.deployments = deployments; + return this; + } + /** * Optional. Operation details. Note: Even though this field is optional, it is required for * CreateApiOperation API and we will fail the request if not provided. diff --git a/clients/google-api-services-apihub/v1/2.0.0/com/google/api/services/apihub/v1/model/GoogleCloudApihubV1Deployment.java b/clients/google-api-services-apihub/v1/2.0.0/com/google/api/services/apihub/v1/model/GoogleCloudApihubV1Deployment.java index e333596259a..8e9fc3ed343 100644 --- a/clients/google-api-services-apihub/v1/2.0.0/com/google/api/services/apihub/v1/model/GoogleCloudApihubV1Deployment.java +++ b/clients/google-api-services-apihub/v1/2.0.0/com/google/api/services/apihub/v1/model/GoogleCloudApihubV1Deployment.java @@ -31,6 +31,13 @@ @SuppressWarnings("javadoc") public final class GoogleCloudApihubV1Deployment extends com.google.api.client.json.GenericJson { + /** + * Output only. The API operations linked directly to this deployment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List apiOperations; + /** * Output only. The API versions linked to this deployment. Note: A particular deployment could be * linked to multiple different API versions (of same or different APIs). @@ -176,6 +183,15 @@ public final class GoogleCloudApihubV1Deployment extends com.google.api.client.j @com.google.api.client.util.Key private java.lang.String sourceProject; + /** + * Optional. A revision identifier for the underlying gateway configuration that this deployment + * serves. For Apigee gateway variants, this is typically the proxy revision number populated + * automatically when the deployment is discovered. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sourceRevision; + /** * Optional. The uri where additional source specific information for this deployment can be * found. This maps to the following system defined attribute: @@ -188,6 +204,14 @@ public final class GoogleCloudApihubV1Deployment extends com.google.api.client.j @com.google.api.client.util.Key private GoogleCloudApihubV1AttributeValues sourceUri; + /** + * Output only. The specs linked directly to this deployment. Note: a deployment could serve + * multiple specs (e.g., across different revisions of the same underlying gateway configuration). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List specs; + /** * Output only. The time at which the deployment was last updated. * The value may be {@code null}. @@ -195,6 +219,23 @@ public final class GoogleCloudApihubV1Deployment extends com.google.api.client.j @com.google.api.client.util.Key private String updateTime; + /** + * Output only. The API operations linked directly to this deployment. + * @return value or {@code null} for none + */ + public java.util.List getApiOperations() { + return apiOperations; + } + + /** + * Output only. The API operations linked directly to this deployment. + * @param apiOperations apiOperations or {@code null} for none + */ + public GoogleCloudApihubV1Deployment setApiOperations(java.util.List apiOperations) { + this.apiOperations = apiOperations; + return this; + } + /** * Output only. The API versions linked to this deployment. Note: A particular deployment could be * linked to multiple different API versions (of same or different APIs). @@ -521,6 +562,27 @@ public GoogleCloudApihubV1Deployment setSourceProject(java.lang.String sourcePro return this; } + /** + * Optional. A revision identifier for the underlying gateway configuration that this deployment + * serves. For Apigee gateway variants, this is typically the proxy revision number populated + * automatically when the deployment is discovered. + * @return value or {@code null} for none + */ + public java.lang.String getSourceRevision() { + return sourceRevision; + } + + /** + * Optional. A revision identifier for the underlying gateway configuration that this deployment + * serves. For Apigee gateway variants, this is typically the proxy revision number populated + * automatically when the deployment is discovered. + * @param sourceRevision sourceRevision or {@code null} for none + */ + public GoogleCloudApihubV1Deployment setSourceRevision(java.lang.String sourceRevision) { + this.sourceRevision = sourceRevision; + return this; + } + /** * Optional. The uri where additional source specific information for this deployment can be * found. This maps to the following system defined attribute: @@ -548,6 +610,25 @@ public GoogleCloudApihubV1Deployment setSourceUri(GoogleCloudApihubV1AttributeVa return this; } + /** + * Output only. The specs linked directly to this deployment. Note: a deployment could serve + * multiple specs (e.g., across different revisions of the same underlying gateway configuration). + * @return value or {@code null} for none + */ + public java.util.List getSpecs() { + return specs; + } + + /** + * Output only. The specs linked directly to this deployment. Note: a deployment could serve + * multiple specs (e.g., across different revisions of the same underlying gateway configuration). + * @param specs specs or {@code null} for none + */ + public GoogleCloudApihubV1Deployment setSpecs(java.util.List specs) { + this.specs = specs; + return this; + } + /** * Output only. The time at which the deployment was last updated. * @return value or {@code null} for none diff --git a/clients/google-api-services-apihub/v1/2.0.0/com/google/api/services/apihub/v1/model/GoogleCloudApihubV1Spec.java b/clients/google-api-services-apihub/v1/2.0.0/com/google/api/services/apihub/v1/model/GoogleCloudApihubV1Spec.java index c81acbd14ca..58b890a73fc 100644 --- a/clients/google-api-services-apihub/v1/2.0.0/com/google/api/services/apihub/v1/model/GoogleCloudApihubV1Spec.java +++ b/clients/google-api-services-apihub/v1/2.0.0/com/google/api/services/apihub/v1/model/GoogleCloudApihubV1Spec.java @@ -73,6 +73,14 @@ public final class GoogleCloudApihubV1Spec extends com.google.api.client.json.Ge @com.google.api.client.util.Key private String createTime; + /** + * Optional. The deployments linked directly to this spec. Format is + * `projects/{project}/locations/{location}/deployments/{deployment}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List deployments; + /** * Output only. Details parsed from the spec. * The value may be {@code null}. @@ -229,6 +237,25 @@ public GoogleCloudApihubV1Spec setCreateTime(String createTime) { return this; } + /** + * Optional. The deployments linked directly to this spec. Format is + * `projects/{project}/locations/{location}/deployments/{deployment}` + * @return value or {@code null} for none + */ + public java.util.List getDeployments() { + return deployments; + } + + /** + * Optional. The deployments linked directly to this spec. Format is + * `projects/{project}/locations/{location}/deployments/{deployment}` + * @param deployments deployments or {@code null} for none + */ + public GoogleCloudApihubV1Spec setDeployments(java.util.List deployments) { + this.deployments = deployments; + return this; + } + /** * Output only. Details parsed from the spec. * @return value or {@code null} for none diff --git a/clients/google-api-services-apihub/v1/2.0.0/com/google/api/services/apihub/v1/model/GoogleCloudApihubV1SpecMetadata.java b/clients/google-api-services-apihub/v1/2.0.0/com/google/api/services/apihub/v1/model/GoogleCloudApihubV1SpecMetadata.java index 9820f8fd003..d5352104aab 100644 --- a/clients/google-api-services-apihub/v1/2.0.0/com/google/api/services/apihub/v1/model/GoogleCloudApihubV1SpecMetadata.java +++ b/clients/google-api-services-apihub/v1/2.0.0/com/google/api/services/apihub/v1/model/GoogleCloudApihubV1SpecMetadata.java @@ -29,6 +29,16 @@ @SuppressWarnings("javadoc") public final class GoogleCloudApihubV1SpecMetadata extends com.google.api.client.json.GenericJson { + /** + * Optional. The gateway-side URIs of deployments that serve this spec. If provided, the API Hub + * service creates links between this spec and the deployments identified by these URIs. URIs that + * don't match any known deployment are ignored; a subsequent ingestion cycle that includes the + * missing deployment will re-establish the link. The maximum number of URIs allowed is 100. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List deploymentResourceUris; + /** * Optional. Timestamp indicating when the spec was created at the source. * The value may be {@code null}. @@ -58,6 +68,29 @@ public final class GoogleCloudApihubV1SpecMetadata extends com.google.api.client @com.google.api.client.util.Key private GoogleCloudApihubV1Spec spec; + /** + * Optional. The gateway-side URIs of deployments that serve this spec. If provided, the API Hub + * service creates links between this spec and the deployments identified by these URIs. URIs that + * don't match any known deployment are ignored; a subsequent ingestion cycle that includes the + * missing deployment will re-establish the link. The maximum number of URIs allowed is 100. + * @return value or {@code null} for none + */ + public java.util.List getDeploymentResourceUris() { + return deploymentResourceUris; + } + + /** + * Optional. The gateway-side URIs of deployments that serve this spec. If provided, the API Hub + * service creates links between this spec and the deployments identified by these URIs. URIs that + * don't match any known deployment are ignored; a subsequent ingestion cycle that includes the + * missing deployment will re-establish the link. The maximum number of URIs allowed is 100. + * @param deploymentResourceUris deploymentResourceUris or {@code null} for none + */ + public GoogleCloudApihubV1SpecMetadata setDeploymentResourceUris(java.util.List deploymentResourceUris) { + this.deploymentResourceUris = deploymentResourceUris; + return this; + } + /** * Optional. Timestamp indicating when the spec was created at the source. * @return value or {@code null} for none diff --git a/clients/google-api-services-apihub/v1/2.0.0/pom.xml b/clients/google-api-services-apihub/v1/2.0.0/pom.xml index a595e7dfbe5..c06c2446fe9 100644 --- a/clients/google-api-services-apihub/v1/2.0.0/pom.xml +++ b/clients/google-api-services-apihub/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-apihub - v1-rev20260831-2.0.0 - API hub API v1-rev20260831-2.0.0 + v1-rev20260907-2.0.0 + API hub API v1-rev20260907-2.0.0 jar 2011 diff --git a/clients/google-api-services-apihub/v1/README.md b/clients/google-api-services-apihub/v1/README.md index f40d75fd214..c5c92895aab 100644 --- a/clients/google-api-services-apihub/v1/README.md +++ b/clients/google-api-services-apihub/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-apihub - v1-rev20260831-2.0.0 + v1-rev20260907-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-apihub:v1-rev20260831-2.0.0' + implementation 'com.google.apis:google-api-services-apihub:v1-rev20260907-2.0.0' } ```