Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-apihub/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-apihub</artifactId>
<version>v1-rev20260831-2.0.0</version>
<version>v1-rev20260907-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<java.lang.String> 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.
Expand Down Expand Up @@ -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<java.lang.String> 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<java.lang.String> 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<java.lang.String> 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).
Expand Down Expand Up @@ -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:
Expand All @@ -188,13 +204,38 @@ 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<java.lang.String> specs;

/**
* Output only. The time at which the deployment was last updated.
* The value may be {@code null}.
*/
@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<java.lang.String> 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<java.lang.String> 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).
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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<java.lang.String> 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<java.lang.String> specs) {
this.specs = specs;
return this;
}

/**
* Output only. The time at which the deployment was last updated.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<java.lang.String> deployments;

/**
* Output only. Details parsed from the spec.
* The value may be {@code null}.
Expand Down Expand Up @@ -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<java.lang.String> 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<java.lang.String> deployments) {
this.deployments = deployments;
return this;
}

/**
* Output only. Details parsed from the spec.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<java.lang.String> deploymentResourceUris;

/**
* Optional. Timestamp indicating when the spec was created at the source.
* The value may be {@code null}.
Expand Down Expand Up @@ -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<java.lang.String> 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<java.lang.String> deploymentResourceUris) {
this.deploymentResourceUris = deploymentResourceUris;
return this;
}

/**
* Optional. Timestamp indicating when the spec was created at the source.
* @return value or {@code null} for none
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-apihub/v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-apihub</artifactId>
<version>v1-rev20260831-2.0.0</version>
<name>API hub API v1-rev20260831-2.0.0</name>
<version>v1-rev20260907-2.0.0</version>
<name>API hub API v1-rev20260907-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-apihub/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-apihub</artifactId>
<version>v1-rev20260831-2.0.0</version>
<version>v1-rev20260907-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Loading