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-cloudbuild/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-cloudbuild</artifactId>
<version>v1-rev20261010-2.9.2</version>
<version>v1-rev20261025-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-cloudbuild:v1-rev20261010-2.9.2'
implementation 'com.google.apis:google-api-services-cloudbuild:v1-rev20261025-2.9.2'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,9 @@ public class Builds {
/**
* Approves or rejects a pending build. If approved, the returned long-running operation (LRO) will
* be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be
* immediately done.
* immediately done. Note: This method only approves or rejects builds in the "global" region when
* using the legacy resource path projects/{project_id}/builds/{id}:approve. For all regions, use
* the regional resource path: `projects/{project_id}/locations/{location}/builds/{id}:approve`.
*
* Create a request for the method "builds.approve".
*
Expand All @@ -831,7 +833,10 @@ public class Approve extends CloudBuildRequest<com.google.api.services.cloudbuil
/**
* Approves or rejects a pending build. If approved, the returned long-running operation (LRO)
* will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO
* will be immediately done.
* will be immediately done. Note: This method only approves or rejects builds in the "global"
* region when using the legacy resource path projects/{project_id}/builds/{id}:approve. For all
* regions, use the regional resource path:
* `projects/{project_id}/locations/{location}/builds/{id}:approve`.
*
* Create a request for the method "builds.approve".
*
Expand Down Expand Up @@ -4180,7 +4185,9 @@ public class Builds {
/**
* Approves or rejects a pending build. If approved, the returned long-running operation (LRO) will
* be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be
* immediately done.
* immediately done. Note: This method only approves or rejects builds in the "global" region when
* using the legacy resource path projects/{project_id}/builds/{id}:approve. For all regions, use
* the regional resource path: `projects/{project_id}/locations/{location}/builds/{id}:approve`.
*
* Create a request for the method "builds.approve".
*
Expand All @@ -4207,7 +4214,10 @@ public class Approve extends CloudBuildRequest<com.google.api.services.cloudbuil
/**
* Approves or rejects a pending build. If approved, the returned long-running operation (LRO)
* will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO
* will be immediately done.
* will be immediately done. Note: This method only approves or rejects builds in the "global"
* region when using the legacy resource path projects/{project_id}/builds/{id}:approve. For all
* regions, use the regional resource path:
* `projects/{project_id}/locations/{location}/builds/{id}:approve`.
*
* Create a request for the method "builds.approve".
*
Expand Down Expand Up @@ -6412,7 +6422,9 @@ public Triggers triggers() {
public class Triggers {

/**
* Creates a new `BuildTrigger`.
* Creates a new `BuildTrigger`. Note: This method only creates triggers in the "global" region when
* using the legacy resource path projects/{project_id}/triggers. For all regions, use the regional
* resource path: `projects/{project_id}/locations/{location}/triggers`.
*
* Create a request for the method "triggers.create".
*
Expand All @@ -6438,7 +6450,9 @@ public class Create extends CloudBuildRequest<com.google.api.services.cloudbuild
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");

/**
* Creates a new `BuildTrigger`.
* Creates a new `BuildTrigger`. Note: This method only creates triggers in the "global" region
* when using the legacy resource path projects/{project_id}/triggers. For all regions, use the
* regional resource path: `projects/{project_id}/locations/{location}/triggers`.
*
* Create a request for the method "triggers.create".
*
Expand Down Expand Up @@ -6568,7 +6582,10 @@ public Create set(String parameterName, Object value) {
}
}
/**
* Deletes a `BuildTrigger` by its project ID and trigger ID.
* Deletes a `BuildTrigger` by its project ID and trigger ID. Note: This method only deletes
* triggers in the "global" region when using the legacy resource path
* projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path:
* `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.
*
* Create a request for the method "triggers.delete".
*
Expand All @@ -6593,7 +6610,10 @@ public class Delete extends CloudBuildRequest<com.google.api.services.cloudbuild
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/triggers/[^/]+$");

/**
* Deletes a `BuildTrigger` by its project ID and trigger ID.
* Deletes a `BuildTrigger` by its project ID and trigger ID. Note: This method only deletes
* triggers in the "global" region when using the legacy resource path
* projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path:
* `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.
*
* Create a request for the method "triggers.delete".
*
Expand Down Expand Up @@ -6738,7 +6758,10 @@ public Delete set(String parameterName, Object value) {
}
}
/**
* Returns information about a `BuildTrigger`.
* Returns information about a `BuildTrigger`. Note: This method only gets triggers in the "global"
* region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all
* regions, use the regional resource path:
* `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.
*
* Create a request for the method "triggers.get".
*
Expand All @@ -6763,7 +6786,10 @@ public class Get extends CloudBuildRequest<com.google.api.services.cloudbuild.v1
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/triggers/[^/]+$");

/**
* Returns information about a `BuildTrigger`.
* Returns information about a `BuildTrigger`. Note: This method only gets triggers in the
* "global" region when using the legacy resource path
* projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path:
* `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.
*
* Create a request for the method "triggers.get".
*
Expand Down Expand Up @@ -6917,7 +6943,9 @@ public Get set(String parameterName, Object value) {
}
}
/**
* Lists existing `BuildTrigger`s.
* Lists existing `BuildTrigger`s. Note: This method only lists triggers in the "global" region when
* using the legacy resource path projects/{project_id}/triggers. For all regions, use the regional
* resource path: `projects/{project_id}/locations/{location}/triggers`.
*
* Create a request for the method "triggers.list".
*
Expand All @@ -6941,7 +6969,9 @@ public class List extends CloudBuildRequest<com.google.api.services.cloudbuild.v
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");

/**
* Lists existing `BuildTrigger`s.
* Lists existing `BuildTrigger`s. Note: This method only lists triggers in the "global" region
* when using the legacy resource path projects/{project_id}/triggers. For all regions, use the
* regional resource path: `projects/{project_id}/locations/{location}/triggers`.
*
* Create a request for the method "triggers.list".
*
Expand Down Expand Up @@ -7109,7 +7139,10 @@ public List set(String parameterName, Object value) {
}
}
/**
* Updates a `BuildTrigger` by its project ID and trigger ID.
* Updates a `BuildTrigger` by its project ID and trigger ID. Note: This method only updates
* triggers in the "global" region when using the legacy resource path
* projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path:
* `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.
*
* Create a request for the method "triggers.patch".
*
Expand All @@ -7135,7 +7168,10 @@ public class Patch extends CloudBuildRequest<com.google.api.services.cloudbuild.
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/triggers/[^/]+$");

/**
* Updates a `BuildTrigger` by its project ID and trigger ID.
* Updates a `BuildTrigger` by its project ID and trigger ID. Note: This method only updates
* triggers in the "global" region when using the legacy resource path
* projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path:
* `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.
*
* Create a request for the method "triggers.patch".
*
Expand Down Expand Up @@ -8604,7 +8640,9 @@ public Triggers triggers() {
public class Triggers {

/**
* Creates a new `BuildTrigger`.
* Creates a new `BuildTrigger`. Note: This method only creates triggers in the "global" region when
* using the legacy resource path projects/{project_id}/triggers. For all regions, use the regional
* resource path: `projects/{project_id}/locations/{location}/triggers`.
*
* Create a request for the method "triggers.create".
*
Expand All @@ -8626,7 +8664,9 @@ public class Create extends CloudBuildRequest<com.google.api.services.cloudbuild
private static final String REST_PATH = "v1/projects/{projectId}/triggers";

/**
* Creates a new `BuildTrigger`.
* Creates a new `BuildTrigger`. Note: This method only creates triggers in the "global" region
* when using the legacy resource path projects/{project_id}/triggers. For all regions, use the
* regional resource path: `projects/{project_id}/locations/{location}/triggers`.
*
* Create a request for the method "triggers.create".
*
Expand Down Expand Up @@ -8745,7 +8785,10 @@ public Create set(String parameterName, Object value) {
}
}
/**
* Deletes a `BuildTrigger` by its project ID and trigger ID.
* Deletes a `BuildTrigger` by its project ID and trigger ID. Note: This method only deletes
* triggers in the "global" region when using the legacy resource path
* projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path:
* `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.
*
* Create a request for the method "triggers.delete".
*
Expand All @@ -8767,7 +8810,10 @@ public class Delete extends CloudBuildRequest<com.google.api.services.cloudbuild
private static final String REST_PATH = "v1/projects/{projectId}/triggers/{triggerId}";

/**
* Deletes a `BuildTrigger` by its project ID and trigger ID.
* Deletes a `BuildTrigger` by its project ID and trigger ID. Note: This method only deletes
* triggers in the "global" region when using the legacy resource path
* projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path:
* `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.
*
* Create a request for the method "triggers.delete".
*
Expand Down Expand Up @@ -8903,7 +8949,10 @@ public Delete set(String parameterName, Object value) {
}
}
/**
* Returns information about a `BuildTrigger`.
* Returns information about a `BuildTrigger`. Note: This method only gets triggers in the "global"
* region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all
* regions, use the regional resource path:
* `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.
*
* Create a request for the method "triggers.get".
*
Expand All @@ -8925,7 +8974,10 @@ public class Get extends CloudBuildRequest<com.google.api.services.cloudbuild.v1
private static final String REST_PATH = "v1/projects/{projectId}/triggers/{triggerId}";

/**
* Returns information about a `BuildTrigger`.
* Returns information about a `BuildTrigger`. Note: This method only gets triggers in the
* "global" region when using the legacy resource path
* projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path:
* `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.
*
* Create a request for the method "triggers.get".
*
Expand Down Expand Up @@ -9070,7 +9122,9 @@ public Get set(String parameterName, Object value) {
}
}
/**
* Lists existing `BuildTrigger`s.
* Lists existing `BuildTrigger`s. Note: This method only lists triggers in the "global" region when
* using the legacy resource path projects/{project_id}/triggers. For all regions, use the regional
* resource path: `projects/{project_id}/locations/{location}/triggers`.
*
* Create a request for the method "triggers.list".
*
Expand All @@ -9091,7 +9145,9 @@ public class List extends CloudBuildRequest<com.google.api.services.cloudbuild.v
private static final String REST_PATH = "v1/projects/{projectId}/triggers";

/**
* Lists existing `BuildTrigger`s.
* Lists existing `BuildTrigger`s. Note: This method only lists triggers in the "global" region
* when using the legacy resource path projects/{project_id}/triggers. For all regions, use the
* regional resource path: `projects/{project_id}/locations/{location}/triggers`.
*
* Create a request for the method "triggers.list".
*
Expand Down Expand Up @@ -9249,7 +9305,10 @@ public List set(String parameterName, Object value) {
}
}
/**
* Updates a `BuildTrigger` by its project ID and trigger ID.
* Updates a `BuildTrigger` by its project ID and trigger ID. Note: This method only updates
* triggers in the "global" region when using the legacy resource path
* projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path:
* `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.
*
* Create a request for the method "triggers.patch".
*
Expand All @@ -9272,7 +9331,10 @@ public class Patch extends CloudBuildRequest<com.google.api.services.cloudbuild.
private static final String REST_PATH = "v1/projects/{projectId}/triggers/{triggerId}";

/**
* Updates a `BuildTrigger` by its project ID and trigger ID.
* Updates a `BuildTrigger` by its project ID and trigger ID. Note: This method only updates
* triggers in the "global" region when using the legacy resource path
* projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path:
* `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.
*
* Create a request for the method "triggers.patch".
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,16 @@ public final class BuildOptions extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String pubsubTopic;

/**
* Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when
* provisioning Worker VMs. A concrete machine type will be selected based on machine availability
* in the given region. This field must be empty for the Build to be eligible to be paired with a
* pre-provisioned worker VM.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> rankedMachineSeries;

/**
* Requested verifiability options.
* The value may be {@code null}.
Expand Down Expand Up @@ -394,6 +404,29 @@ public BuildOptions setPubsubTopic(java.lang.String pubsubTopic) {
return this;
}

/**
* Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when
* provisioning Worker VMs. A concrete machine type will be selected based on machine availability
* in the given region. This field must be empty for the Build to be eligible to be paired with a
* pre-provisioned worker VM.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getRankedMachineSeries() {
return rankedMachineSeries;
}

/**
* Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when
* provisioning Worker VMs. A concrete machine type will be selected based on machine availability
* in the given region. This field must be empty for the Build to be eligible to be paired with a
* pre-provisioned worker VM.
* @param rankedMachineSeries rankedMachineSeries or {@code null} for none
*/
public BuildOptions setRankedMachineSeries(java.util.List<java.lang.String> rankedMachineSeries) {
this.rankedMachineSeries = rankedMachineSeries;
return this;
}

/**
* Requested verifiability options.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ public final class WorkerConfig extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String machineType;

/**
* Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when
* provisioning Worker VMs. A concrete machine type will be selected based on machine availability
* in the given region.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> rankedMachineSeries;

/**
* Optional. Option to specify which release or release channel (rapid|regular|stable) to use to
* run this build.
Expand Down Expand Up @@ -124,6 +133,27 @@ public WorkerConfig setMachineType(java.lang.String machineType) {
return this;
}

/**
* Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when
* provisioning Worker VMs. A concrete machine type will be selected based on machine availability
* in the given region.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getRankedMachineSeries() {
return rankedMachineSeries;
}

/**
* Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when
* provisioning Worker VMs. A concrete machine type will be selected based on machine availability
* in the given region.
* @param rankedMachineSeries rankedMachineSeries or {@code null} for none
*/
public WorkerConfig setRankedMachineSeries(java.util.List<java.lang.String> rankedMachineSeries) {
this.rankedMachineSeries = rankedMachineSeries;
return this;
}

/**
* Optional. Option to specify which release or release channel (rapid|regular|stable) to use to
* run this build.
Expand Down
Loading
Loading