Skip to content

Commit c932c95

Browse files
1 parent d601353 commit c932c95

32 files changed

Lines changed: 1099 additions & 207 deletions

‎clients/google-api-services-compute/alpha/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-compute</artifactId>
25-
<version>alpha-rev20260530-2.0.0</version>
25+
<version>alpha-rev20260612-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-compute:alpha-rev20260530-2.0.0'
38+
implementation 'com.google.apis:google-api-services-compute:alpha-rev20260612-2.0.0'
3939
}
4040
```
4141

‎clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/Compute.java‎

Lines changed: 242 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240906,6 +240906,248 @@ public ReportFaulty set(String parameterName, Object value) {
240906240906
return (ReportFaulty) super.set(parameterName, value);
240907240907
}
240908240908
}
240909+
/**
240910+
* Updates a reservation subBlock.
240911+
*
240912+
* Create a request for the method "reservationSubBlocks.update".
240913+
*
240914+
* This request holds the parameters needed by the compute server. After setting any optional
240915+
* parameters, call the {@link Update#execute()} method to invoke the remote operation.
240916+
*
240917+
* @param project The project ID for this request.
240918+
* @param zone The name of the zone for this request.
240919+
* @param parentName The name of the parent reservation and parent block. In the format of
240920+
* reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
240921+
* @param reservationSubBlock The name of the subBlock resource.
240922+
* @param content the {@link com.google.api.services.compute.model.ReservationSubBlock}
240923+
* @return the request
240924+
*/
240925+
public Update update(java.lang.String project, java.lang.String zone, java.lang.String parentName, java.lang.String reservationSubBlock, com.google.api.services.compute.model.ReservationSubBlock content) throws java.io.IOException {
240926+
Update result = new Update(project, zone, parentName, reservationSubBlock, content);
240927+
initialize(result);
240928+
return result;
240929+
}
240930+
240931+
public class Update extends ComputeRequest<com.google.api.services.compute.model.Operation> {
240932+
240933+
private static final String REST_PATH = "projects/{project}/zones/{zone}/{+parentName}/reservationSubBlocks/{reservationSubBlock}";
240934+
240935+
private final java.util.regex.Pattern PARENT_NAME_PATTERN =
240936+
java.util.regex.Pattern.compile("^reservations/[^/]+/reservationBlocks/[^/]+$");
240937+
240938+
/**
240939+
* Updates a reservation subBlock.
240940+
*
240941+
* Create a request for the method "reservationSubBlocks.update".
240942+
*
240943+
* This request holds the parameters needed by the the compute server. After setting any optional
240944+
* parameters, call the {@link Update#execute()} method to invoke the remote operation. <p> {@link
240945+
* Update#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
240946+
* be called to initialize this instance immediately after invoking the constructor. </p>
240947+
*
240948+
* @param project The project ID for this request.
240949+
* @param zone The name of the zone for this request.
240950+
* @param parentName The name of the parent reservation and parent block. In the format of
240951+
* reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
240952+
* @param reservationSubBlock The name of the subBlock resource.
240953+
* @param content the {@link com.google.api.services.compute.model.ReservationSubBlock}
240954+
* @since 1.13
240955+
*/
240956+
protected Update(java.lang.String project, java.lang.String zone, java.lang.String parentName, java.lang.String reservationSubBlock, com.google.api.services.compute.model.ReservationSubBlock content) {
240957+
super(Compute.this, "PATCH", REST_PATH, content, com.google.api.services.compute.model.Operation.class);
240958+
this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
240959+
this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
240960+
this.parentName = com.google.api.client.util.Preconditions.checkNotNull(parentName, "Required parameter parentName must be specified.");
240961+
if (!getSuppressPatternChecks()) {
240962+
com.google.api.client.util.Preconditions.checkArgument(PARENT_NAME_PATTERN.matcher(parentName).matches(),
240963+
"Parameter parentName must conform to the pattern " +
240964+
"^reservations/[^/]+/reservationBlocks/[^/]+$");
240965+
}
240966+
this.reservationSubBlock = com.google.api.client.util.Preconditions.checkNotNull(reservationSubBlock, "Required parameter reservationSubBlock must be specified.");
240967+
}
240968+
240969+
@Override
240970+
public Update set$Xgafv(java.lang.String $Xgafv) {
240971+
return (Update) super.set$Xgafv($Xgafv);
240972+
}
240973+
240974+
@Override
240975+
public Update setAccessToken(java.lang.String accessToken) {
240976+
return (Update) super.setAccessToken(accessToken);
240977+
}
240978+
240979+
@Override
240980+
public Update setAlt(java.lang.String alt) {
240981+
return (Update) super.setAlt(alt);
240982+
}
240983+
240984+
@Override
240985+
public Update setCallback(java.lang.String callback) {
240986+
return (Update) super.setCallback(callback);
240987+
}
240988+
240989+
@Override
240990+
public Update setFields(java.lang.String fields) {
240991+
return (Update) super.setFields(fields);
240992+
}
240993+
240994+
@Override
240995+
public Update setKey(java.lang.String key) {
240996+
return (Update) super.setKey(key);
240997+
}
240998+
240999+
@Override
241000+
public Update setOauthToken(java.lang.String oauthToken) {
241001+
return (Update) super.setOauthToken(oauthToken);
241002+
}
241003+
241004+
@Override
241005+
public Update setPrettyPrint(java.lang.Boolean prettyPrint) {
241006+
return (Update) super.setPrettyPrint(prettyPrint);
241007+
}
241008+
241009+
@Override
241010+
public Update setQuotaUser(java.lang.String quotaUser) {
241011+
return (Update) super.setQuotaUser(quotaUser);
241012+
}
241013+
241014+
@Override
241015+
public Update setUploadType(java.lang.String uploadType) {
241016+
return (Update) super.setUploadType(uploadType);
241017+
}
241018+
241019+
@Override
241020+
public Update setUploadProtocol(java.lang.String uploadProtocol) {
241021+
return (Update) super.setUploadProtocol(uploadProtocol);
241022+
}
241023+
241024+
@Override
241025+
public Update setUserIp(java.lang.String userIp) {
241026+
return (Update) super.setUserIp(userIp);
241027+
}
241028+
241029+
/** The project ID for this request. */
241030+
@com.google.api.client.util.Key
241031+
private java.lang.String project;
241032+
241033+
/** The project ID for this request.
241034+
*/
241035+
public java.lang.String getProject() {
241036+
return project;
241037+
}
241038+
241039+
/** The project ID for this request. */
241040+
public Update setProject(java.lang.String project) {
241041+
this.project = project;
241042+
return this;
241043+
}
241044+
241045+
/** The name of the zone for this request. */
241046+
@com.google.api.client.util.Key
241047+
private java.lang.String zone;
241048+
241049+
/** The name of the zone for this request.
241050+
*/
241051+
public java.lang.String getZone() {
241052+
return zone;
241053+
}
241054+
241055+
/** The name of the zone for this request. */
241056+
public Update setZone(java.lang.String zone) {
241057+
this.zone = zone;
241058+
return this;
241059+
}
241060+
241061+
/**
241062+
* The name of the parent reservation and parent block. In the format of
241063+
* reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
241064+
*/
241065+
@com.google.api.client.util.Key
241066+
private java.lang.String parentName;
241067+
241068+
/** The name of the parent reservation and parent block. In the format of
241069+
reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
241070+
*/
241071+
public java.lang.String getParentName() {
241072+
return parentName;
241073+
}
241074+
241075+
/**
241076+
* The name of the parent reservation and parent block. In the format of
241077+
* reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
241078+
*/
241079+
public Update setParentName(java.lang.String parentName) {
241080+
if (!getSuppressPatternChecks()) {
241081+
com.google.api.client.util.Preconditions.checkArgument(PARENT_NAME_PATTERN.matcher(parentName).matches(),
241082+
"Parameter parentName must conform to the pattern " +
241083+
"^reservations/[^/]+/reservationBlocks/[^/]+$");
241084+
}
241085+
this.parentName = parentName;
241086+
return this;
241087+
}
241088+
241089+
/** The name of the subBlock resource. */
241090+
@com.google.api.client.util.Key
241091+
private java.lang.String reservationSubBlock;
241092+
241093+
/** The name of the subBlock resource.
241094+
*/
241095+
public java.lang.String getReservationSubBlock() {
241096+
return reservationSubBlock;
241097+
}
241098+
241099+
/** The name of the subBlock resource. */
241100+
public Update setReservationSubBlock(java.lang.String reservationSubBlock) {
241101+
this.reservationSubBlock = reservationSubBlock;
241102+
return this;
241103+
}
241104+
241105+
/**
241106+
* An optional request ID to identify requests. Specify a unique request ID so that if you
241107+
* must retry your request, the server will know to ignore the request if it has already been
241108+
* completed.
241109+
*/
241110+
@com.google.api.client.util.Key
241111+
private java.lang.String requestId;
241112+
241113+
/** An optional request ID to identify requests. Specify a unique request ID so that if you must retry
241114+
your request, the server will know to ignore the request if it has already been completed.
241115+
*/
241116+
public java.lang.String getRequestId() {
241117+
return requestId;
241118+
}
241119+
241120+
/**
241121+
* An optional request ID to identify requests. Specify a unique request ID so that if you
241122+
* must retry your request, the server will know to ignore the request if it has already been
241123+
* completed.
241124+
*/
241125+
public Update setRequestId(java.lang.String requestId) {
241126+
this.requestId = requestId;
241127+
return this;
241128+
}
241129+
241130+
/** The fields to be updated as part of this request. */
241131+
@com.google.api.client.util.Key
241132+
private String updateMask;
241133+
241134+
/** The fields to be updated as part of this request.
241135+
*/
241136+
public String getUpdateMask() {
241137+
return updateMask;
241138+
}
241139+
241140+
/** The fields to be updated as part of this request. */
241141+
public Update setUpdateMask(String updateMask) {
241142+
this.updateMask = updateMask;
241143+
return this;
241144+
}
241145+
241146+
@Override
241147+
public Update set(String parameterName, Object value) {
241148+
return (Update) super.set(parameterName, value);
241149+
}
241150+
}
240909241151

240910241152
}
240911241153

‎clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/FutureReservation.java‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@ public final class FutureReservation extends com.google.api.client.json.GenericJ
7373
@com.google.api.client.util.Key
7474
private java.lang.Boolean autoDeleteAutoCreatedReservations;
7575

76+
/**
77+
* Full or partial URL of an existing future reservation to indicate intent for reserving capacity
78+
* in the same cluster as the colocation resource.
79+
* The value may be {@code null}.
80+
*/
81+
@com.google.api.client.util.Key
82+
private java.lang.String colocationResource;
83+
7684
/**
7785
* If not present, then FR will not deliver a new commitment or update an existing commitment.
7886
* The value may be {@code null}.
@@ -359,6 +367,25 @@ public FutureReservation setAutoDeleteAutoCreatedReservations(java.lang.Boolean
359367
return this;
360368
}
361369

370+
/**
371+
* Full or partial URL of an existing future reservation to indicate intent for reserving capacity
372+
* in the same cluster as the colocation resource.
373+
* @return value or {@code null} for none
374+
*/
375+
public java.lang.String getColocationResource() {
376+
return colocationResource;
377+
}
378+
379+
/**
380+
* Full or partial URL of an existing future reservation to indicate intent for reserving capacity
381+
* in the same cluster as the colocation resource.
382+
* @param colocationResource colocationResource or {@code null} for none
383+
*/
384+
public FutureReservation setColocationResource(java.lang.String colocationResource) {
385+
this.colocationResource = colocationResource;
386+
return this;
387+
}
388+
362389
/**
363390
* If not present, then FR will not deliver a new commitment or update an existing commitment.
364391
* @return value or {@code null} for none

‎clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerInstanceLifecyclePolicy.java‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ public final class InstanceGroupManagerInstanceLifecyclePolicy extends com.googl
3232
/**
3333
* The action that a MIG performs on a failed VM. If the value of the onFailedHealthCheck field is
3434
* `DEFAULT_ACTION`, then the same action also applies to the VMs on which your application fails
35-
* a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed VM by
36-
* recreating it. For more information, see about repairing VMs in a MIG. - DO_NOTHING: MIG does
37-
* not repair a failed VM.
35+
* a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed
36+
* VM by recreating it. For more information, see About repairing VMs in a MIG. -
37+
* DO_NOTHING: MIG does not repair a failed VM.
3838
* The value may be {@code null}.
3939
*/
4040
@com.google.api.client.util.Key
@@ -91,9 +91,9 @@ public final class InstanceGroupManagerInstanceLifecyclePolicy extends com.googl
9191
/**
9292
* The action that a MIG performs on a failed VM. If the value of the onFailedHealthCheck field is
9393
* `DEFAULT_ACTION`, then the same action also applies to the VMs on which your application fails
94-
* a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed VM by
95-
* recreating it. For more information, see about repairing VMs in a MIG. - DO_NOTHING: MIG does
96-
* not repair a failed VM.
94+
* a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed
95+
* VM by recreating it. For more information, see About repairing VMs in a MIG. -
96+
* DO_NOTHING: MIG does not repair a failed VM.
9797
* @return value or {@code null} for none
9898
*/
9999
public java.lang.String getDefaultActionOnFailure() {
@@ -103,9 +103,9 @@ public java.lang.String getDefaultActionOnFailure() {
103103
/**
104104
* The action that a MIG performs on a failed VM. If the value of the onFailedHealthCheck field is
105105
* `DEFAULT_ACTION`, then the same action also applies to the VMs on which your application fails
106-
* a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed VM by
107-
* recreating it. For more information, see about repairing VMs in a MIG. - DO_NOTHING: MIG does
108-
* not repair a failed VM.
106+
* a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed
107+
* VM by recreating it. For more information, see About repairing VMs in a MIG. -
108+
* DO_NOTHING: MIG does not repair a failed VM.
109109
* @param defaultActionOnFailure defaultActionOnFailure or {@code null} for none
110110
*/
111111
public InstanceGroupManagerInstanceLifecyclePolicy setDefaultActionOnFailure(java.lang.String defaultActionOnFailure) {

‎clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/InterconnectMacsec.java‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ public final class InterconnectMacsec extends com.google.api.client.json.Generic
4141
@com.google.api.client.util.Key
4242
private java.lang.Boolean failOpen;
4343

44+
/**
45+
* Optional. URL of the InterconnectKeyGroup resource to use for MACsec, in the format:
46+
* projects/{project}/locations/{region}/interconnectKeyGroups/{interconnectKeyGroup}.
47+
* The value may be {@code null}.
48+
*/
49+
@com.google.api.client.util.Key
50+
private java.lang.String interconnectKeyGroup;
51+
4452
/**
4553
* Required. A keychain placeholder describing a set of named key objects along with their start
4654
* times. A MACsec CKN/CAK is generated for each key in the key chain. Google router automatically
@@ -76,6 +84,25 @@ public InterconnectMacsec setFailOpen(java.lang.Boolean failOpen) {
7684
return this;
7785
}
7886

87+
/**
88+
* Optional. URL of the InterconnectKeyGroup resource to use for MACsec, in the format:
89+
* projects/{project}/locations/{region}/interconnectKeyGroups/{interconnectKeyGroup}.
90+
* @return value or {@code null} for none
91+
*/
92+
public java.lang.String getInterconnectKeyGroup() {
93+
return interconnectKeyGroup;
94+
}
95+
96+
/**
97+
* Optional. URL of the InterconnectKeyGroup resource to use for MACsec, in the format:
98+
* projects/{project}/locations/{region}/interconnectKeyGroups/{interconnectKeyGroup}.
99+
* @param interconnectKeyGroup interconnectKeyGroup or {@code null} for none
100+
*/
101+
public InterconnectMacsec setInterconnectKeyGroup(java.lang.String interconnectKeyGroup) {
102+
this.interconnectKeyGroup = interconnectKeyGroup;
103+
return this;
104+
}
105+
79106
/**
80107
* Required. A keychain placeholder describing a set of named key objects along with their start
81108
* times. A MACsec CKN/CAK is generated for each key in the key chain. Google router automatically

0 commit comments

Comments
 (0)