diff --git a/clients/google-api-services-compute/alpha/2.0.0/README.md b/clients/google-api-services-compute/alpha/2.0.0/README.md index cca829aac70..e4358f20a1b 100644 --- a/clients/google-api-services-compute/alpha/2.0.0/README.md +++ b/clients/google-api-services-compute/alpha/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-compute - alpha-rev20260530-2.0.0 + alpha-rev20260612-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-compute:alpha-rev20260530-2.0.0' + implementation 'com.google.apis:google-api-services-compute:alpha-rev20260612-2.0.0' } ``` diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/Compute.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/Compute.java index ed72adb4f2e..4b300ad299e 100644 --- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/Compute.java +++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/Compute.java @@ -240906,6 +240906,248 @@ public ReportFaulty set(String parameterName, Object value) { return (ReportFaulty) super.set(parameterName, value); } } + /** + * Updates a reservation subBlock. + * + * Create a request for the method "reservationSubBlocks.update". + * + * This request holds the parameters needed by the compute server. After setting any optional + * parameters, call the {@link Update#execute()} method to invoke the remote operation. + * + * @param project The project ID for this request. + * @param zone The name of the zone for this request. + * @param parentName The name of the parent reservation and parent block. In the format of + * reservations/{reservation_name}/reservationBlocks/{reservation_block_name} + * @param reservationSubBlock The name of the subBlock resource. + * @param content the {@link com.google.api.services.compute.model.ReservationSubBlock} + * @return the request + */ + 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 { + Update result = new Update(project, zone, parentName, reservationSubBlock, content); + initialize(result); + return result; + } + + public class Update extends ComputeRequest { + + private static final String REST_PATH = "projects/{project}/zones/{zone}/{+parentName}/reservationSubBlocks/{reservationSubBlock}"; + + private final java.util.regex.Pattern PARENT_NAME_PATTERN = + java.util.regex.Pattern.compile("^reservations/[^/]+/reservationBlocks/[^/]+$"); + + /** + * Updates a reservation subBlock. + * + * Create a request for the method "reservationSubBlocks.update". + * + * This request holds the parameters needed by the the compute server. After setting any optional + * parameters, call the {@link Update#execute()} method to invoke the remote operation.

{@link + * Update#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param project The project ID for this request. + * @param zone The name of the zone for this request. + * @param parentName The name of the parent reservation and parent block. In the format of + * reservations/{reservation_name}/reservationBlocks/{reservation_block_name} + * @param reservationSubBlock The name of the subBlock resource. + * @param content the {@link com.google.api.services.compute.model.ReservationSubBlock} + * @since 1.13 + */ + 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) { + super(Compute.this, "PATCH", REST_PATH, content, com.google.api.services.compute.model.Operation.class); + this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified."); + this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified."); + this.parentName = com.google.api.client.util.Preconditions.checkNotNull(parentName, "Required parameter parentName must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_NAME_PATTERN.matcher(parentName).matches(), + "Parameter parentName must conform to the pattern " + + "^reservations/[^/]+/reservationBlocks/[^/]+$"); + } + this.reservationSubBlock = com.google.api.client.util.Preconditions.checkNotNull(reservationSubBlock, "Required parameter reservationSubBlock must be specified."); + } + + @Override + public Update set$Xgafv(java.lang.String $Xgafv) { + return (Update) super.set$Xgafv($Xgafv); + } + + @Override + public Update setAccessToken(java.lang.String accessToken) { + return (Update) super.setAccessToken(accessToken); + } + + @Override + public Update setAlt(java.lang.String alt) { + return (Update) super.setAlt(alt); + } + + @Override + public Update setCallback(java.lang.String callback) { + return (Update) super.setCallback(callback); + } + + @Override + public Update setFields(java.lang.String fields) { + return (Update) super.setFields(fields); + } + + @Override + public Update setKey(java.lang.String key) { + return (Update) super.setKey(key); + } + + @Override + public Update setOauthToken(java.lang.String oauthToken) { + return (Update) super.setOauthToken(oauthToken); + } + + @Override + public Update setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Update) super.setPrettyPrint(prettyPrint); + } + + @Override + public Update setQuotaUser(java.lang.String quotaUser) { + return (Update) super.setQuotaUser(quotaUser); + } + + @Override + public Update setUploadType(java.lang.String uploadType) { + return (Update) super.setUploadType(uploadType); + } + + @Override + public Update setUploadProtocol(java.lang.String uploadProtocol) { + return (Update) super.setUploadProtocol(uploadProtocol); + } + + @Override + public Update setUserIp(java.lang.String userIp) { + return (Update) super.setUserIp(userIp); + } + + /** The project ID for this request. */ + @com.google.api.client.util.Key + private java.lang.String project; + + /** The project ID for this request. + */ + public java.lang.String getProject() { + return project; + } + + /** The project ID for this request. */ + public Update setProject(java.lang.String project) { + this.project = project; + return this; + } + + /** The name of the zone for this request. */ + @com.google.api.client.util.Key + private java.lang.String zone; + + /** The name of the zone for this request. + */ + public java.lang.String getZone() { + return zone; + } + + /** The name of the zone for this request. */ + public Update setZone(java.lang.String zone) { + this.zone = zone; + return this; + } + + /** + * The name of the parent reservation and parent block. In the format of + * reservations/{reservation_name}/reservationBlocks/{reservation_block_name} + */ + @com.google.api.client.util.Key + private java.lang.String parentName; + + /** The name of the parent reservation and parent block. In the format of + reservations/{reservation_name}/reservationBlocks/{reservation_block_name} + */ + public java.lang.String getParentName() { + return parentName; + } + + /** + * The name of the parent reservation and parent block. In the format of + * reservations/{reservation_name}/reservationBlocks/{reservation_block_name} + */ + public Update setParentName(java.lang.String parentName) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_NAME_PATTERN.matcher(parentName).matches(), + "Parameter parentName must conform to the pattern " + + "^reservations/[^/]+/reservationBlocks/[^/]+$"); + } + this.parentName = parentName; + return this; + } + + /** The name of the subBlock resource. */ + @com.google.api.client.util.Key + private java.lang.String reservationSubBlock; + + /** The name of the subBlock resource. + */ + public java.lang.String getReservationSubBlock() { + return reservationSubBlock; + } + + /** The name of the subBlock resource. */ + public Update setReservationSubBlock(java.lang.String reservationSubBlock) { + this.reservationSubBlock = reservationSubBlock; + return this; + } + + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you + * must retry your request, the server will know to ignore the request if it has already been + * completed. + */ + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry + your request, the server will know to ignore the request if it has already been completed. + */ + public java.lang.String getRequestId() { + return requestId; + } + + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you + * must retry your request, the server will know to ignore the request if it has already been + * completed. + */ + public Update setRequestId(java.lang.String requestId) { + this.requestId = requestId; + return this; + } + + /** The fields to be updated as part of this request. */ + @com.google.api.client.util.Key + private String updateMask; + + /** The fields to be updated as part of this request. + */ + public String getUpdateMask() { + return updateMask; + } + + /** The fields to be updated as part of this request. */ + public Update setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public Update set(String parameterName, Object value) { + return (Update) super.set(parameterName, value); + } + } } diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/FutureReservation.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/FutureReservation.java index 8d1901147cb..5268eb0c66c 100644 --- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/FutureReservation.java +++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/FutureReservation.java @@ -73,6 +73,14 @@ public final class FutureReservation extends com.google.api.client.json.GenericJ @com.google.api.client.util.Key private java.lang.Boolean autoDeleteAutoCreatedReservations; + /** + * Full or partial URL of an existing future reservation to indicate intent for reserving capacity + * in the same cluster as the colocation resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String colocationResource; + /** * If not present, then FR will not deliver a new commitment or update an existing commitment. * The value may be {@code null}. @@ -359,6 +367,25 @@ public FutureReservation setAutoDeleteAutoCreatedReservations(java.lang.Boolean return this; } + /** + * Full or partial URL of an existing future reservation to indicate intent for reserving capacity + * in the same cluster as the colocation resource. + * @return value or {@code null} for none + */ + public java.lang.String getColocationResource() { + return colocationResource; + } + + /** + * Full or partial URL of an existing future reservation to indicate intent for reserving capacity + * in the same cluster as the colocation resource. + * @param colocationResource colocationResource or {@code null} for none + */ + public FutureReservation setColocationResource(java.lang.String colocationResource) { + this.colocationResource = colocationResource; + return this; + } + /** * If not present, then FR will not deliver a new commitment or update an existing commitment. * @return value or {@code null} for none diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerInstanceLifecyclePolicy.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerInstanceLifecyclePolicy.java index e8f89f7b01b..0a91a02b2bc 100644 --- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerInstanceLifecyclePolicy.java +++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerInstanceLifecyclePolicy.java @@ -32,9 +32,9 @@ public final class InstanceGroupManagerInstanceLifecyclePolicy extends com.googl /** * The action that a MIG performs on a failed VM. If the value of the onFailedHealthCheck field is * `DEFAULT_ACTION`, then the same action also applies to the VMs on which your application fails - * a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed VM by - * recreating it. For more information, see about repairing VMs in a MIG. - DO_NOTHING: MIG does - * not repair a failed VM. + * a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed + * VM by recreating it. For more information, see About repairing VMs in a MIG. - + * DO_NOTHING: MIG does not repair a failed VM. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -91,9 +91,9 @@ public final class InstanceGroupManagerInstanceLifecyclePolicy extends com.googl /** * The action that a MIG performs on a failed VM. If the value of the onFailedHealthCheck field is * `DEFAULT_ACTION`, then the same action also applies to the VMs on which your application fails - * a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed VM by - * recreating it. For more information, see about repairing VMs in a MIG. - DO_NOTHING: MIG does - * not repair a failed VM. + * a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed + * VM by recreating it. For more information, see About repairing VMs in a MIG. - + * DO_NOTHING: MIG does not repair a failed VM. * @return value or {@code null} for none */ public java.lang.String getDefaultActionOnFailure() { @@ -103,9 +103,9 @@ public java.lang.String getDefaultActionOnFailure() { /** * The action that a MIG performs on a failed VM. If the value of the onFailedHealthCheck field is * `DEFAULT_ACTION`, then the same action also applies to the VMs on which your application fails - * a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed VM by - * recreating it. For more information, see about repairing VMs in a MIG. - DO_NOTHING: MIG does - * not repair a failed VM. + * a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed + * VM by recreating it. For more information, see About repairing VMs in a MIG. - + * DO_NOTHING: MIG does not repair a failed VM. * @param defaultActionOnFailure defaultActionOnFailure or {@code null} for none */ public InstanceGroupManagerInstanceLifecyclePolicy setDefaultActionOnFailure(java.lang.String defaultActionOnFailure) { diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/InterconnectMacsec.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/InterconnectMacsec.java index 904e54471a3..0034d84e1c3 100644 --- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/InterconnectMacsec.java +++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/InterconnectMacsec.java @@ -41,6 +41,14 @@ public final class InterconnectMacsec extends com.google.api.client.json.Generic @com.google.api.client.util.Key private java.lang.Boolean failOpen; + /** + * Optional. URL of the InterconnectKeyGroup resource to use for MACsec, in the format: + * projects/{project}/locations/{region}/interconnectKeyGroups/{interconnectKeyGroup}. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String interconnectKeyGroup; + /** * Required. A keychain placeholder describing a set of named key objects along with their start * 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) { return this; } + /** + * Optional. URL of the InterconnectKeyGroup resource to use for MACsec, in the format: + * projects/{project}/locations/{region}/interconnectKeyGroups/{interconnectKeyGroup}. + * @return value or {@code null} for none + */ + public java.lang.String getInterconnectKeyGroup() { + return interconnectKeyGroup; + } + + /** + * Optional. URL of the InterconnectKeyGroup resource to use for MACsec, in the format: + * projects/{project}/locations/{region}/interconnectKeyGroups/{interconnectKeyGroup}. + * @param interconnectKeyGroup interconnectKeyGroup or {@code null} for none + */ + public InterconnectMacsec setInterconnectKeyGroup(java.lang.String interconnectKeyGroup) { + this.interconnectKeyGroup = interconnectKeyGroup; + return this; + } + /** * Required. A keychain placeholder describing a set of named key objects along with their start * times. A MACsec CKN/CAK is generated for each key in the key chain. Google router automatically diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ReservationBlock.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ReservationBlock.java index aa570b1a944..fb362a80eab 100644 --- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ReservationBlock.java +++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ReservationBlock.java @@ -30,26 +30,26 @@ public final class ReservationBlock extends com.google.api.client.json.GenericJson { /** - * Output only. [Output Only] The number of resources that are allocated in this reservation - * block. + * Output only. [Output Only] Health information for the reservation block. * The value may be {@code null}. */ @com.google.api.client.util.Key - private java.lang.Integer count; + private ReservationBlockHealthInfo blockHealthInfo; /** - * Output only. [Output Only] Creation timestamp inRFC3339 text format. + * Output only. [Output Only] The number of resources that are allocated in this reservation + * block. * The value may be {@code null}. */ @com.google.api.client.util.Key - private java.lang.String creationTimestamp; + private java.lang.Integer count; /** - * Output only. [Output Only] Health information for the reservation block. + * Output only. [Output Only] Creation timestamp inRFC3339 text format. * The value may be {@code null}. */ @com.google.api.client.util.Key - private ReservationBlockHealthInfo healthInfo; + private java.lang.String creationTimestamp; /** * Output only. [Output Only] The unique identifier for the resource. This identifier is defined @@ -159,6 +159,23 @@ public final class ReservationBlock extends com.google.api.client.json.GenericJs @com.google.api.client.util.Key private java.lang.String zone; + /** + * Output only. [Output Only] Health information for the reservation block. + * @return value or {@code null} for none + */ + public ReservationBlockHealthInfo getBlockHealthInfo() { + return blockHealthInfo; + } + + /** + * Output only. [Output Only] Health information for the reservation block. + * @param blockHealthInfo blockHealthInfo or {@code null} for none + */ + public ReservationBlock setBlockHealthInfo(ReservationBlockHealthInfo blockHealthInfo) { + this.blockHealthInfo = blockHealthInfo; + return this; + } + /** * Output only. [Output Only] The number of resources that are allocated in this reservation * block. @@ -195,23 +212,6 @@ public ReservationBlock setCreationTimestamp(java.lang.String creationTimestamp) return this; } - /** - * Output only. [Output Only] Health information for the reservation block. - * @return value or {@code null} for none - */ - public ReservationBlockHealthInfo getHealthInfo() { - return healthInfo; - } - - /** - * Output only. [Output Only] Health information for the reservation block. - * @param healthInfo healthInfo or {@code null} for none - */ - public ReservationBlock setHealthInfo(ReservationBlockHealthInfo healthInfo) { - this.healthInfo = healthInfo; - return this; - } - /** * Output only. [Output Only] The unique identifier for the resource. This identifier is defined * by the server. diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ReservationSubBlock.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ReservationSubBlock.java index 7e39ffbcc94..e229ab3a396 100644 --- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ReservationSubBlock.java +++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ReservationSubBlock.java @@ -50,13 +50,6 @@ public final class ReservationSubBlock extends com.google.api.client.json.Generi @com.google.api.client.util.Key private java.lang.String creationTimestamp; - /** - * Output only. [Output Only] Health information for the reservation subBlock. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private ReservationSubBlockHealthInfo healthInfo; - /** * Output only. [Output Only] The unique identifier for the resource. This identifier is defined * by the server. @@ -112,6 +105,15 @@ public final class ReservationSubBlock extends com.google.api.client.json.Generi @com.google.api.client.util.Key private GroupMaintenanceInfo reservationSubBlockMaintenance; + /** + * Customer specified retention priority for power shedding events. Used to determine priority of + * the subBlock relative to others during a power shedding event. Higher priorities are retained + * over lower ones. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer retentionPriority; + /** * Output only. [Output Only] Server-defined fully-qualified URL for this resource. * The value may be {@code null}. @@ -133,6 +135,13 @@ public final class ReservationSubBlock extends com.google.api.client.json.Generi @com.google.api.client.util.Key private java.lang.String status; + /** + * Output only. [Output Only] Health information for the reservation subBlock. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ReservationSubBlockHealthInfo subBlockHealthInfo; + /** * Output only. [Output Only] Zone in which the reservation subBlock resides. * The value may be {@code null}. @@ -191,23 +200,6 @@ public ReservationSubBlock setCreationTimestamp(java.lang.String creationTimesta return this; } - /** - * Output only. [Output Only] Health information for the reservation subBlock. - * @return value or {@code null} for none - */ - public ReservationSubBlockHealthInfo getHealthInfo() { - return healthInfo; - } - - /** - * Output only. [Output Only] Health information for the reservation subBlock. - * @param healthInfo healthInfo or {@code null} for none - */ - public ReservationSubBlock setHealthInfo(ReservationSubBlockHealthInfo healthInfo) { - this.healthInfo = healthInfo; - return this; - } - /** * Output only. [Output Only] The unique identifier for the resource. This identifier is defined * by the server. @@ -339,6 +331,27 @@ public ReservationSubBlock setReservationSubBlockMaintenance(GroupMaintenanceInf return this; } + /** + * Customer specified retention priority for power shedding events. Used to determine priority of + * the subBlock relative to others during a power shedding event. Higher priorities are retained + * over lower ones. + * @return value or {@code null} for none + */ + public java.lang.Integer getRetentionPriority() { + return retentionPriority; + } + + /** + * Customer specified retention priority for power shedding events. Used to determine priority of + * the subBlock relative to others during a power shedding event. Higher priorities are retained + * over lower ones. + * @param retentionPriority retentionPriority or {@code null} for none + */ + public ReservationSubBlock setRetentionPriority(java.lang.Integer retentionPriority) { + this.retentionPriority = retentionPriority; + return this; + } + /** * Output only. [Output Only] Server-defined fully-qualified URL for this resource. * @return value or {@code null} for none @@ -390,6 +403,23 @@ public ReservationSubBlock setStatus(java.lang.String status) { return this; } + /** + * Output only. [Output Only] Health information for the reservation subBlock. + * @return value or {@code null} for none + */ + public ReservationSubBlockHealthInfo getSubBlockHealthInfo() { + return subBlockHealthInfo; + } + + /** + * Output only. [Output Only] Health information for the reservation subBlock. + * @param subBlockHealthInfo subBlockHealthInfo or {@code null} for none + */ + public ReservationSubBlock setSubBlockHealthInfo(ReservationSubBlockHealthInfo subBlockHealthInfo) { + this.subBlockHealthInfo = subBlockHealthInfo; + return this; + } + /** * Output only. [Output Only] Zone in which the reservation subBlock resides. * @return value or {@code null} for none diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/RouterNat.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/RouterNat.java index 49bb7ee52c3..67b18483489 100644 --- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/RouterNat.java +++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/RouterNat.java @@ -50,8 +50,8 @@ public final class RouterNat extends com.google.api.client.json.GenericJson { /** * Output only. Effective timeout (in seconds) for TCP connections that are in TIME_WAIT state. - * This value is equal to tcp_time_wait_timeout_sec if it is set, otherwise it is equal to 120s. - * The field is output only. + * This value is equal to tcp_time_wait_timeout_sec. If tcp_time_wait_timeout_sec isn't set, the + * effective timeout is 30s or 120s. The field is output only. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -280,8 +280,8 @@ public RouterNat setDrainNatIps(java.util.List drainNatIps) { /** * Output only. Effective timeout (in seconds) for TCP connections that are in TIME_WAIT state. - * This value is equal to tcp_time_wait_timeout_sec if it is set, otherwise it is equal to 120s. - * The field is output only. + * This value is equal to tcp_time_wait_timeout_sec. If tcp_time_wait_timeout_sec isn't set, the + * effective timeout is 30s or 120s. The field is output only. * @return value or {@code null} for none */ public java.lang.Integer getEffectiveTcpTimeWaitTimeoutSec() { @@ -290,8 +290,8 @@ public java.lang.Integer getEffectiveTcpTimeWaitTimeoutSec() { /** * Output only. Effective timeout (in seconds) for TCP connections that are in TIME_WAIT state. - * This value is equal to tcp_time_wait_timeout_sec if it is set, otherwise it is equal to 120s. - * The field is output only. + * This value is equal to tcp_time_wait_timeout_sec. If tcp_time_wait_timeout_sec isn't set, the + * effective timeout is 30s or 120s. The field is output only. * @param effectiveTcpTimeWaitTimeoutSec effectiveTcpTimeWaitTimeoutSec or {@code null} for none */ public RouterNat setEffectiveTcpTimeWaitTimeoutSec(java.lang.Integer effectiveTcpTimeWaitTimeoutSec) { diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/RouterNatRule.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/RouterNatRule.java index 6823a790fa6..b7d2abe99d6 100644 --- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/RouterNatRule.java +++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/RouterNatRule.java @@ -70,6 +70,13 @@ public final class RouterNatRule extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private java.lang.Long ruleNumber; + /** + * A list of source workload identities. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List sourceWorkloadIdentities; + /** * The action to be enforced for traffic that matches this rule. * @return value or {@code null} for none @@ -164,6 +171,23 @@ public RouterNatRule setRuleNumber(java.lang.Long ruleNumber) { return this; } + /** + * A list of source workload identities. + * @return value or {@code null} for none + */ + public java.util.List getSourceWorkloadIdentities() { + return sourceWorkloadIdentities; + } + + /** + * A list of source workload identities. + * @param sourceWorkloadIdentities sourceWorkloadIdentities or {@code null} for none + */ + public RouterNatRule setSourceWorkloadIdentities(java.util.List sourceWorkloadIdentities) { + this.sourceWorkloadIdentities = sourceWorkloadIdentities; + return this; + } + @Override public RouterNatRule set(String fieldName, Object value) { return (RouterNatRule) super.set(fieldName, value); diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Scheduling.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Scheduling.java index c53af81f19e..96e16373857 100644 --- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Scheduling.java +++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Scheduling.java @@ -223,6 +223,13 @@ public final class Scheduling extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String terminationTime; + /** + * The vsock mode of the instance. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private SchedulingVsockMode vsockMode; + /** * Represents the Windows Server License Optimization Mode of the VM. If unspecified, the default * mode is `OFF`. @@ -688,6 +695,23 @@ public Scheduling setTerminationTime(java.lang.String terminationTime) { return this; } + /** + * The vsock mode of the instance. + * @return value or {@code null} for none + */ + public SchedulingVsockMode getVsockMode() { + return vsockMode; + } + + /** + * The vsock mode of the instance. + * @param vsockMode vsockMode or {@code null} for none + */ + public Scheduling setVsockMode(SchedulingVsockMode vsockMode) { + this.vsockMode = vsockMode; + return this; + } + /** * Represents the Windows Server License Optimization Mode of the VM. If unspecified, the default * mode is `OFF`. diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/SchedulingVsockMode.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/SchedulingVsockMode.java new file mode 100644 index 00000000000..f270743584a --- /dev/null +++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/SchedulingVsockMode.java @@ -0,0 +1,63 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.compute.model; + +/** + * Message to control the enablement of the vsock device. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class SchedulingVsockMode extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mode; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getMode() { + return mode; + } + + /** + * @param mode mode or {@code null} for none + */ + public SchedulingVsockMode setMode(java.lang.String mode) { + this.mode = mode; + return this; + } + + @Override + public SchedulingVsockMode set(String fieldName, Object value) { + return (SchedulingVsockMode) super.set(fieldName, value); + } + + @Override + public SchedulingVsockMode clone() { + return (SchedulingVsockMode) super.clone(); + } + +} diff --git a/clients/google-api-services-compute/alpha/2.0.0/pom.xml b/clients/google-api-services-compute/alpha/2.0.0/pom.xml index d5ad37dbb7c..c1037e9efdd 100644 --- a/clients/google-api-services-compute/alpha/2.0.0/pom.xml +++ b/clients/google-api-services-compute/alpha/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-compute - alpha-rev20260530-2.0.0 - Compute Engine API alpha-rev20260530-2.0.0 + alpha-rev20260612-2.0.0 + Compute Engine API alpha-rev20260612-2.0.0 jar 2011 diff --git a/clients/google-api-services-compute/alpha/README.md b/clients/google-api-services-compute/alpha/README.md index cca829aac70..e4358f20a1b 100644 --- a/clients/google-api-services-compute/alpha/README.md +++ b/clients/google-api-services-compute/alpha/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-compute - alpha-rev20260530-2.0.0 + alpha-rev20260612-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-compute:alpha-rev20260530-2.0.0' + implementation 'com.google.apis:google-api-services-compute:alpha-rev20260612-2.0.0' } ``` diff --git a/clients/google-api-services-compute/beta/2.0.0/README.md b/clients/google-api-services-compute/beta/2.0.0/README.md index 42fa3a28507..bde52a07ef2 100644 --- a/clients/google-api-services-compute/beta/2.0.0/README.md +++ b/clients/google-api-services-compute/beta/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-compute - beta-rev20260530-2.0.0 + beta-rev20260612-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-compute:beta-rev20260530-2.0.0' + implementation 'com.google.apis:google-api-services-compute:beta-rev20260612-2.0.0' } ``` diff --git a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/Compute.java b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/Compute.java index 90cd2ab7038..8baabd95b0b 100644 --- a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/Compute.java +++ b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/Compute.java @@ -50504,6 +50504,236 @@ public Get set(String parameterName, Object value) { } + /** + * An accessor for creating requests from the ImageViews collection. + * + *

The typical use is:

+ *
+   *   {@code Compute compute = new Compute(...);}
+   *   {@code Compute.ImageViews.List request = compute.imageViews().list(parameters ...)}
+   * 
+ * + * @return the resource collection + */ + public ImageViews imageViews() { + return new ImageViews(); + } + + /** + * The "imageViews" collection of methods. + */ + public class ImageViews { + + /** + * Returns the specified global ImageView resource, with a regional context. + * + * Create a request for the method "imageViews.get". + * + * This request holds the parameters needed by the compute server. After setting any optional + * parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param project Required. Project ID for this request. + * @param region Required. Name of the region for this request. + * @param resourceId Name of the image resource to return. + * @return the request + */ + public Get get(java.lang.String project, java.lang.String region, java.lang.String resourceId) throws java.io.IOException { + Get result = new Get(project, region, resourceId); + initialize(result); + return result; + } + + public class Get extends ComputeRequest { + + private static final String REST_PATH = "projects/{project}/regions/{region}/imageViews/{resourceId}"; + + private final java.util.regex.Pattern PROJECT_PATTERN = + java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))"); + + private final java.util.regex.Pattern REGION_PATTERN = + java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"); + + private final java.util.regex.Pattern RESOURCE_ID_PATTERN = + java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}"); + + /** + * Returns the specified global ImageView resource, with a regional context. + * + * Create a request for the method "imageViews.get". + * + * This request holds the parameters needed by the the compute server. After setting any optional + * parameters, call the {@link Get#execute()} method to invoke the remote operation.

{@link + * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be + * called to initialize this instance immediately after invoking the constructor.

+ * + * @param project Required. Project ID for this request. + * @param region Required. Name of the region for this request. + * @param resourceId Name of the image resource to return. + * @since 1.13 + */ + protected Get(java.lang.String project, java.lang.String region, java.lang.String resourceId) { + super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.ImageView.class); + this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(), + "Parameter project must conform to the pattern " + + "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))"); + } + this.region = com.google.api.client.util.Preconditions.checkNotNull(region, "Required parameter region must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(REGION_PATTERN.matcher(region).matches(), + "Parameter region must conform to the pattern " + + "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"); + } + this.resourceId = com.google.api.client.util.Preconditions.checkNotNull(resourceId, "Required parameter resourceId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_ID_PATTERN.matcher(resourceId).matches(), + "Parameter resourceId must conform to the pattern " + + "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + @Override + public Get setUserIp(java.lang.String userIp) { + return (Get) super.setUserIp(userIp); + } + + /** Required. Project ID for this request. */ + @com.google.api.client.util.Key + private java.lang.String project; + + /** Required. Project ID for this request. + */ + public java.lang.String getProject() { + return project; + } + + /** Required. Project ID for this request. */ + public Get setProject(java.lang.String project) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(), + "Parameter project must conform to the pattern " + + "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))"); + } + this.project = project; + return this; + } + + /** Required. Name of the region for this request. */ + @com.google.api.client.util.Key + private java.lang.String region; + + /** Required. Name of the region for this request. + */ + public java.lang.String getRegion() { + return region; + } + + /** Required. Name of the region for this request. */ + public Get setRegion(java.lang.String region) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(REGION_PATTERN.matcher(region).matches(), + "Parameter region must conform to the pattern " + + "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"); + } + this.region = region; + return this; + } + + /** Name of the image resource to return. */ + @com.google.api.client.util.Key + private java.lang.String resourceId; + + /** Name of the image resource to return. + */ + public java.lang.String getResourceId() { + return resourceId; + } + + /** Name of the image resource to return. */ + public Get setResourceId(java.lang.String resourceId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_ID_PATTERN.matcher(resourceId).matches(), + "Parameter resourceId must conform to the pattern " + + "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}"); + } + this.resourceId = resourceId; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + + } + /** * An accessor for creating requests from the Images collection. * diff --git a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ImageView.java b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ImageView.java new file mode 100644 index 00000000000..02f8c290b50 --- /dev/null +++ b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ImageView.java @@ -0,0 +1,63 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.compute.model; + +/** + * Represents a read-only view of a global Image resource. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ImageView extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Image image; + + /** + * @return value or {@code null} for none + */ + public Image getImage() { + return image; + } + + /** + * @param image image or {@code null} for none + */ + public ImageView setImage(Image image) { + this.image = image; + return this; + } + + @Override + public ImageView set(String fieldName, Object value) { + return (ImageView) super.set(fieldName, value); + } + + @Override + public ImageView clone() { + return (ImageView) super.clone(); + } + +} diff --git a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerInstanceLifecyclePolicy.java b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerInstanceLifecyclePolicy.java index 18d01ae5ca8..5aba0671c09 100644 --- a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerInstanceLifecyclePolicy.java +++ b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerInstanceLifecyclePolicy.java @@ -32,9 +32,9 @@ public final class InstanceGroupManagerInstanceLifecyclePolicy extends com.googl /** * The action that a MIG performs on a failed VM. If the value of the onFailedHealthCheck field is * `DEFAULT_ACTION`, then the same action also applies to the VMs on which your application fails - * a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed VM by - * recreating it. For more information, seeAbout repairing VMs in a MIG. - DO_NOTHING: MIG does - * not repair a failed VM. + * a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed + * VM by recreating it. For more information, see About repairing VMs in a MIG. - + * DO_NOTHING: MIG does not repair a failed VM. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -75,9 +75,9 @@ public final class InstanceGroupManagerInstanceLifecyclePolicy extends com.googl /** * The action that a MIG performs on a failed VM. If the value of the onFailedHealthCheck field is * `DEFAULT_ACTION`, then the same action also applies to the VMs on which your application fails - * a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed VM by - * recreating it. For more information, seeAbout repairing VMs in a MIG. - DO_NOTHING: MIG does - * not repair a failed VM. + * a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed + * VM by recreating it. For more information, see About repairing VMs in a MIG. - + * DO_NOTHING: MIG does not repair a failed VM. * @return value or {@code null} for none */ public java.lang.String getDefaultActionOnFailure() { @@ -87,9 +87,9 @@ public java.lang.String getDefaultActionOnFailure() { /** * The action that a MIG performs on a failed VM. If the value of the onFailedHealthCheck field is * `DEFAULT_ACTION`, then the same action also applies to the VMs on which your application fails - * a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed VM by - * recreating it. For more information, seeAbout repairing VMs in a MIG. - DO_NOTHING: MIG does - * not repair a failed VM. + * a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed + * VM by recreating it. For more information, see About repairing VMs in a MIG. - + * DO_NOTHING: MIG does not repair a failed VM. * @param defaultActionOnFailure defaultActionOnFailure or {@code null} for none */ public InstanceGroupManagerInstanceLifecyclePolicy setDefaultActionOnFailure(java.lang.String defaultActionOnFailure) { diff --git a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ReservationBlock.java b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ReservationBlock.java index 3cc78bd8634..32a16dff87f 100644 --- a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ReservationBlock.java +++ b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ReservationBlock.java @@ -30,26 +30,26 @@ public final class ReservationBlock extends com.google.api.client.json.GenericJson { /** - * Output only. [Output Only] The number of resources that are allocated in this reservation - * block. + * Output only. [Output Only] Health information for the reservation block. * The value may be {@code null}. */ @com.google.api.client.util.Key - private java.lang.Integer count; + private ReservationBlockHealthInfo blockHealthInfo; /** - * Output only. [Output Only] Creation timestamp inRFC3339 text format. + * Output only. [Output Only] The number of resources that are allocated in this reservation + * block. * The value may be {@code null}. */ @com.google.api.client.util.Key - private java.lang.String creationTimestamp; + private java.lang.Integer count; /** - * Output only. [Output Only] Health information for the reservation block. + * Output only. [Output Only] Creation timestamp inRFC3339 text format. * The value may be {@code null}. */ @com.google.api.client.util.Key - private ReservationBlockHealthInfo healthInfo; + private java.lang.String creationTimestamp; /** * Output only. [Output Only] The unique identifier for the resource. This identifier is defined @@ -150,6 +150,23 @@ public final class ReservationBlock extends com.google.api.client.json.GenericJs @com.google.api.client.util.Key private java.lang.String zone; + /** + * Output only. [Output Only] Health information for the reservation block. + * @return value or {@code null} for none + */ + public ReservationBlockHealthInfo getBlockHealthInfo() { + return blockHealthInfo; + } + + /** + * Output only. [Output Only] Health information for the reservation block. + * @param blockHealthInfo blockHealthInfo or {@code null} for none + */ + public ReservationBlock setBlockHealthInfo(ReservationBlockHealthInfo blockHealthInfo) { + this.blockHealthInfo = blockHealthInfo; + return this; + } + /** * Output only. [Output Only] The number of resources that are allocated in this reservation * block. @@ -186,23 +203,6 @@ public ReservationBlock setCreationTimestamp(java.lang.String creationTimestamp) return this; } - /** - * Output only. [Output Only] Health information for the reservation block. - * @return value or {@code null} for none - */ - public ReservationBlockHealthInfo getHealthInfo() { - return healthInfo; - } - - /** - * Output only. [Output Only] Health information for the reservation block. - * @param healthInfo healthInfo or {@code null} for none - */ - public ReservationBlock setHealthInfo(ReservationBlockHealthInfo healthInfo) { - this.healthInfo = healthInfo; - return this; - } - /** * Output only. [Output Only] The unique identifier for the resource. This identifier is defined * by the server. diff --git a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ReservationSubBlock.java b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ReservationSubBlock.java index 7e39ffbcc94..5b7bf1ae41b 100644 --- a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ReservationSubBlock.java +++ b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ReservationSubBlock.java @@ -50,13 +50,6 @@ public final class ReservationSubBlock extends com.google.api.client.json.Generi @com.google.api.client.util.Key private java.lang.String creationTimestamp; - /** - * Output only. [Output Only] Health information for the reservation subBlock. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private ReservationSubBlockHealthInfo healthInfo; - /** * Output only. [Output Only] The unique identifier for the resource. This identifier is defined * by the server. @@ -133,6 +126,13 @@ public final class ReservationSubBlock extends com.google.api.client.json.Generi @com.google.api.client.util.Key private java.lang.String status; + /** + * Output only. [Output Only] Health information for the reservation subBlock. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ReservationSubBlockHealthInfo subBlockHealthInfo; + /** * Output only. [Output Only] Zone in which the reservation subBlock resides. * The value may be {@code null}. @@ -191,23 +191,6 @@ public ReservationSubBlock setCreationTimestamp(java.lang.String creationTimesta return this; } - /** - * Output only. [Output Only] Health information for the reservation subBlock. - * @return value or {@code null} for none - */ - public ReservationSubBlockHealthInfo getHealthInfo() { - return healthInfo; - } - - /** - * Output only. [Output Only] Health information for the reservation subBlock. - * @param healthInfo healthInfo or {@code null} for none - */ - public ReservationSubBlock setHealthInfo(ReservationSubBlockHealthInfo healthInfo) { - this.healthInfo = healthInfo; - return this; - } - /** * Output only. [Output Only] The unique identifier for the resource. This identifier is defined * by the server. @@ -390,6 +373,23 @@ public ReservationSubBlock setStatus(java.lang.String status) { return this; } + /** + * Output only. [Output Only] Health information for the reservation subBlock. + * @return value or {@code null} for none + */ + public ReservationSubBlockHealthInfo getSubBlockHealthInfo() { + return subBlockHealthInfo; + } + + /** + * Output only. [Output Only] Health information for the reservation subBlock. + * @param subBlockHealthInfo subBlockHealthInfo or {@code null} for none + */ + public ReservationSubBlock setSubBlockHealthInfo(ReservationSubBlockHealthInfo subBlockHealthInfo) { + this.subBlockHealthInfo = subBlockHealthInfo; + return this; + } + /** * Output only. [Output Only] Zone in which the reservation subBlock resides. * @return value or {@code null} for none diff --git a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/RouterNat.java b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/RouterNat.java index 49bb7ee52c3..67b18483489 100644 --- a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/RouterNat.java +++ b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/RouterNat.java @@ -50,8 +50,8 @@ public final class RouterNat extends com.google.api.client.json.GenericJson { /** * Output only. Effective timeout (in seconds) for TCP connections that are in TIME_WAIT state. - * This value is equal to tcp_time_wait_timeout_sec if it is set, otherwise it is equal to 120s. - * The field is output only. + * This value is equal to tcp_time_wait_timeout_sec. If tcp_time_wait_timeout_sec isn't set, the + * effective timeout is 30s or 120s. The field is output only. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -280,8 +280,8 @@ public RouterNat setDrainNatIps(java.util.List drainNatIps) { /** * Output only. Effective timeout (in seconds) for TCP connections that are in TIME_WAIT state. - * This value is equal to tcp_time_wait_timeout_sec if it is set, otherwise it is equal to 120s. - * The field is output only. + * This value is equal to tcp_time_wait_timeout_sec. If tcp_time_wait_timeout_sec isn't set, the + * effective timeout is 30s or 120s. The field is output only. * @return value or {@code null} for none */ public java.lang.Integer getEffectiveTcpTimeWaitTimeoutSec() { @@ -290,8 +290,8 @@ public java.lang.Integer getEffectiveTcpTimeWaitTimeoutSec() { /** * Output only. Effective timeout (in seconds) for TCP connections that are in TIME_WAIT state. - * This value is equal to tcp_time_wait_timeout_sec if it is set, otherwise it is equal to 120s. - * The field is output only. + * This value is equal to tcp_time_wait_timeout_sec. If tcp_time_wait_timeout_sec isn't set, the + * effective timeout is 30s or 120s. The field is output only. * @param effectiveTcpTimeWaitTimeoutSec effectiveTcpTimeWaitTimeoutSec or {@code null} for none */ public RouterNat setEffectiveTcpTimeWaitTimeoutSec(java.lang.Integer effectiveTcpTimeWaitTimeoutSec) { diff --git a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ServiceAttachment.java b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ServiceAttachment.java index 60323086c10..118b6842cef 100644 --- a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ServiceAttachment.java +++ b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ServiceAttachment.java @@ -148,6 +148,14 @@ public final class ServiceAttachment extends com.google.api.client.json.GenericJ @com.google.api.client.util.Key private java.lang.String name; + /** + * The number of NAT IP addresses to be allocated per connected endpoint. If not specified, the + * default value is 1. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Long natIpsPerEndpoint; + /** * An array of URLs where each entry is the URL of a subnet provided by the service producer to * use for NAT in this service attachment. @@ -541,6 +549,25 @@ public ServiceAttachment setName(java.lang.String name) { return this; } + /** + * The number of NAT IP addresses to be allocated per connected endpoint. If not specified, the + * default value is 1. + * @return value or {@code null} for none + */ + public java.lang.Long getNatIpsPerEndpoint() { + return natIpsPerEndpoint; + } + + /** + * The number of NAT IP addresses to be allocated per connected endpoint. If not specified, the + * default value is 1. + * @param natIpsPerEndpoint natIpsPerEndpoint or {@code null} for none + */ + public ServiceAttachment setNatIpsPerEndpoint(java.lang.Long natIpsPerEndpoint) { + this.natIpsPerEndpoint = natIpsPerEndpoint; + return this; + } + /** * An array of URLs where each entry is the URL of a subnet provided by the service producer to * use for NAT in this service attachment. diff --git a/clients/google-api-services-compute/beta/2.0.0/pom.xml b/clients/google-api-services-compute/beta/2.0.0/pom.xml index abf792cd1d9..c3f59197258 100644 --- a/clients/google-api-services-compute/beta/2.0.0/pom.xml +++ b/clients/google-api-services-compute/beta/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-compute - beta-rev20260530-2.0.0 - Compute Engine API beta-rev20260530-2.0.0 + beta-rev20260612-2.0.0 + Compute Engine API beta-rev20260612-2.0.0 jar 2011 diff --git a/clients/google-api-services-compute/beta/README.md b/clients/google-api-services-compute/beta/README.md index 42fa3a28507..bde52a07ef2 100644 --- a/clients/google-api-services-compute/beta/README.md +++ b/clients/google-api-services-compute/beta/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-compute - beta-rev20260530-2.0.0 + beta-rev20260612-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-compute:beta-rev20260530-2.0.0' + implementation 'com.google.apis:google-api-services-compute:beta-rev20260612-2.0.0' } ``` diff --git a/clients/google-api-services-compute/v1/2.0.0/README.md b/clients/google-api-services-compute/v1/2.0.0/README.md index 7b6be1fb530..64342908dbb 100644 --- a/clients/google-api-services-compute/v1/2.0.0/README.md +++ b/clients/google-api-services-compute/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-compute - v1-rev20260530-2.0.0 + v1-rev20260612-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-compute:v1-rev20260530-2.0.0' + implementation 'com.google.apis:google-api-services-compute:v1-rev20260612-2.0.0' } ``` diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerInstanceLifecyclePolicy.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerInstanceLifecyclePolicy.java index c85c076da7f..5aba0671c09 100644 --- a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerInstanceLifecyclePolicy.java +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerInstanceLifecyclePolicy.java @@ -30,11 +30,11 @@ public final class InstanceGroupManagerInstanceLifecyclePolicy extends com.google.api.client.json.GenericJson { /** - * The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when - * the application running on that VM fails a health check. Valid values are - REPAIR - * (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more - * information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed - * or an unhealthy VM. + * The action that a MIG performs on a failed VM. If the value of the onFailedHealthCheck field is + * `DEFAULT_ACTION`, then the same action also applies to the VMs on which your application fails + * a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed + * VM by recreating it. For more information, see About repairing VMs in a MIG. - + * DO_NOTHING: MIG does not repair a failed VM. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -73,11 +73,11 @@ public final class InstanceGroupManagerInstanceLifecyclePolicy extends com.googl private InstanceGroupManagerInstanceLifecyclePolicyOnRepair onRepair; /** - * The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when - * the application running on that VM fails a health check. Valid values are - REPAIR - * (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more - * information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed - * or an unhealthy VM. + * The action that a MIG performs on a failed VM. If the value of the onFailedHealthCheck field is + * `DEFAULT_ACTION`, then the same action also applies to the VMs on which your application fails + * a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed + * VM by recreating it. For more information, see About repairing VMs in a MIG. - + * DO_NOTHING: MIG does not repair a failed VM. * @return value or {@code null} for none */ public java.lang.String getDefaultActionOnFailure() { @@ -85,11 +85,11 @@ public java.lang.String getDefaultActionOnFailure() { } /** - * The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when - * the application running on that VM fails a health check. Valid values are - REPAIR - * (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more - * information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed - * or an unhealthy VM. + * The action that a MIG performs on a failed VM. If the value of the onFailedHealthCheck field is + * `DEFAULT_ACTION`, then the same action also applies to the VMs on which your application fails + * a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed + * VM by recreating it. For more information, see About repairing VMs in a MIG. - + * DO_NOTHING: MIG does not repair a failed VM. * @param defaultActionOnFailure defaultActionOnFailure or {@code null} for none */ public InstanceGroupManagerInstanceLifecyclePolicy setDefaultActionOnFailure(java.lang.String defaultActionOnFailure) { diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ReservationBlock.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ReservationBlock.java index 3cc78bd8634..32a16dff87f 100644 --- a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ReservationBlock.java +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ReservationBlock.java @@ -30,26 +30,26 @@ public final class ReservationBlock extends com.google.api.client.json.GenericJson { /** - * Output only. [Output Only] The number of resources that are allocated in this reservation - * block. + * Output only. [Output Only] Health information for the reservation block. * The value may be {@code null}. */ @com.google.api.client.util.Key - private java.lang.Integer count; + private ReservationBlockHealthInfo blockHealthInfo; /** - * Output only. [Output Only] Creation timestamp inRFC3339 text format. + * Output only. [Output Only] The number of resources that are allocated in this reservation + * block. * The value may be {@code null}. */ @com.google.api.client.util.Key - private java.lang.String creationTimestamp; + private java.lang.Integer count; /** - * Output only. [Output Only] Health information for the reservation block. + * Output only. [Output Only] Creation timestamp inRFC3339 text format. * The value may be {@code null}. */ @com.google.api.client.util.Key - private ReservationBlockHealthInfo healthInfo; + private java.lang.String creationTimestamp; /** * Output only. [Output Only] The unique identifier for the resource. This identifier is defined @@ -150,6 +150,23 @@ public final class ReservationBlock extends com.google.api.client.json.GenericJs @com.google.api.client.util.Key private java.lang.String zone; + /** + * Output only. [Output Only] Health information for the reservation block. + * @return value or {@code null} for none + */ + public ReservationBlockHealthInfo getBlockHealthInfo() { + return blockHealthInfo; + } + + /** + * Output only. [Output Only] Health information for the reservation block. + * @param blockHealthInfo blockHealthInfo or {@code null} for none + */ + public ReservationBlock setBlockHealthInfo(ReservationBlockHealthInfo blockHealthInfo) { + this.blockHealthInfo = blockHealthInfo; + return this; + } + /** * Output only. [Output Only] The number of resources that are allocated in this reservation * block. @@ -186,23 +203,6 @@ public ReservationBlock setCreationTimestamp(java.lang.String creationTimestamp) return this; } - /** - * Output only. [Output Only] Health information for the reservation block. - * @return value or {@code null} for none - */ - public ReservationBlockHealthInfo getHealthInfo() { - return healthInfo; - } - - /** - * Output only. [Output Only] Health information for the reservation block. - * @param healthInfo healthInfo or {@code null} for none - */ - public ReservationBlock setHealthInfo(ReservationBlockHealthInfo healthInfo) { - this.healthInfo = healthInfo; - return this; - } - /** * Output only. [Output Only] The unique identifier for the resource. This identifier is defined * by the server. diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ReservationSubBlock.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ReservationSubBlock.java index 7e39ffbcc94..5b7bf1ae41b 100644 --- a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ReservationSubBlock.java +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ReservationSubBlock.java @@ -50,13 +50,6 @@ public final class ReservationSubBlock extends com.google.api.client.json.Generi @com.google.api.client.util.Key private java.lang.String creationTimestamp; - /** - * Output only. [Output Only] Health information for the reservation subBlock. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private ReservationSubBlockHealthInfo healthInfo; - /** * Output only. [Output Only] The unique identifier for the resource. This identifier is defined * by the server. @@ -133,6 +126,13 @@ public final class ReservationSubBlock extends com.google.api.client.json.Generi @com.google.api.client.util.Key private java.lang.String status; + /** + * Output only. [Output Only] Health information for the reservation subBlock. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ReservationSubBlockHealthInfo subBlockHealthInfo; + /** * Output only. [Output Only] Zone in which the reservation subBlock resides. * The value may be {@code null}. @@ -191,23 +191,6 @@ public ReservationSubBlock setCreationTimestamp(java.lang.String creationTimesta return this; } - /** - * Output only. [Output Only] Health information for the reservation subBlock. - * @return value or {@code null} for none - */ - public ReservationSubBlockHealthInfo getHealthInfo() { - return healthInfo; - } - - /** - * Output only. [Output Only] Health information for the reservation subBlock. - * @param healthInfo healthInfo or {@code null} for none - */ - public ReservationSubBlock setHealthInfo(ReservationSubBlockHealthInfo healthInfo) { - this.healthInfo = healthInfo; - return this; - } - /** * Output only. [Output Only] The unique identifier for the resource. This identifier is defined * by the server. @@ -390,6 +373,23 @@ public ReservationSubBlock setStatus(java.lang.String status) { return this; } + /** + * Output only. [Output Only] Health information for the reservation subBlock. + * @return value or {@code null} for none + */ + public ReservationSubBlockHealthInfo getSubBlockHealthInfo() { + return subBlockHealthInfo; + } + + /** + * Output only. [Output Only] Health information for the reservation subBlock. + * @param subBlockHealthInfo subBlockHealthInfo or {@code null} for none + */ + public ReservationSubBlock setSubBlockHealthInfo(ReservationSubBlockHealthInfo subBlockHealthInfo) { + this.subBlockHealthInfo = subBlockHealthInfo; + return this; + } + /** * Output only. [Output Only] Zone in which the reservation subBlock resides. * @return value or {@code null} for none diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/RouterNat.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/RouterNat.java index dcdeb0aed60..67b18483489 100644 --- a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/RouterNat.java +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/RouterNat.java @@ -48,6 +48,15 @@ public final class RouterNat extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.util.List drainNatIps; + /** + * Output only. Effective timeout (in seconds) for TCP connections that are in TIME_WAIT state. + * This value is equal to tcp_time_wait_timeout_sec. If tcp_time_wait_timeout_sec isn't set, the + * effective timeout is 30s or 120s. The field is output only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer effectiveTcpTimeWaitTimeoutSec; + /** * Enable Dynamic Port Allocation. * @@ -269,6 +278,27 @@ public RouterNat setDrainNatIps(java.util.List drainNatIps) { return this; } + /** + * Output only. Effective timeout (in seconds) for TCP connections that are in TIME_WAIT state. + * This value is equal to tcp_time_wait_timeout_sec. If tcp_time_wait_timeout_sec isn't set, the + * effective timeout is 30s or 120s. The field is output only. + * @return value or {@code null} for none + */ + public java.lang.Integer getEffectiveTcpTimeWaitTimeoutSec() { + return effectiveTcpTimeWaitTimeoutSec; + } + + /** + * Output only. Effective timeout (in seconds) for TCP connections that are in TIME_WAIT state. + * This value is equal to tcp_time_wait_timeout_sec. If tcp_time_wait_timeout_sec isn't set, the + * effective timeout is 30s or 120s. The field is output only. + * @param effectiveTcpTimeWaitTimeoutSec effectiveTcpTimeWaitTimeoutSec or {@code null} for none + */ + public RouterNat setEffectiveTcpTimeWaitTimeoutSec(java.lang.Integer effectiveTcpTimeWaitTimeoutSec) { + this.effectiveTcpTimeWaitTimeoutSec = effectiveTcpTimeWaitTimeoutSec; + return this; + } + /** * Enable Dynamic Port Allocation. * diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/SecurityPolicyDdosProtectionConfig.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/SecurityPolicyDdosProtectionConfig.java index 17d5630766a..33873905536 100644 --- a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/SecurityPolicyDdosProtectionConfig.java +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/SecurityPolicyDdosProtectionConfig.java @@ -29,12 +29,90 @@ @SuppressWarnings("javadoc") public final class SecurityPolicyDdosProtectionConfig extends com.google.api.client.json.GenericJson { + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ddosAdaptiveProtection; + + /** + * DDoS Protection for Network Load Balancers (and VMs with public IPs) builds DDoS mitigations + * that minimize collateral damage. It quantifies this as the fraction of a non-abuse baseline + * that's inadvertently blocked. + * + * Rules whose collateral damage exceeds ddosImpactedBaselineThreshold will not be deployed. Using + * a lower value will prioritize keeping collateral damage low, possibly at the cost of its + * effectiveness in rate limiting some or all of the attack. It should typically be unset, so + * Advanced DDoS (and Adaptive Protection) uses the best mitigation it can find. Setting the + * threshold is advised if there are logs for false positive detections with high collateral + * damage, and will cause Advanced DDoS to attempt to find a less aggressive rule that satisfies + * the constraint. If a suitable rule cannot be found, the system falls back to either no + * mitigation for smaller attacks or broader network throttles for larger ones. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Float ddosImpactedBaselineThreshold; + /** * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String ddosProtection; + /** + * @return value or {@code null} for none + */ + public java.lang.String getDdosAdaptiveProtection() { + return ddosAdaptiveProtection; + } + + /** + * @param ddosAdaptiveProtection ddosAdaptiveProtection or {@code null} for none + */ + public SecurityPolicyDdosProtectionConfig setDdosAdaptiveProtection(java.lang.String ddosAdaptiveProtection) { + this.ddosAdaptiveProtection = ddosAdaptiveProtection; + return this; + } + + /** + * DDoS Protection for Network Load Balancers (and VMs with public IPs) builds DDoS mitigations + * that minimize collateral damage. It quantifies this as the fraction of a non-abuse baseline + * that's inadvertently blocked. + * + * Rules whose collateral damage exceeds ddosImpactedBaselineThreshold will not be deployed. Using + * a lower value will prioritize keeping collateral damage low, possibly at the cost of its + * effectiveness in rate limiting some or all of the attack. It should typically be unset, so + * Advanced DDoS (and Adaptive Protection) uses the best mitigation it can find. Setting the + * threshold is advised if there are logs for false positive detections with high collateral + * damage, and will cause Advanced DDoS to attempt to find a less aggressive rule that satisfies + * the constraint. If a suitable rule cannot be found, the system falls back to either no + * mitigation for smaller attacks or broader network throttles for larger ones. + * @return value or {@code null} for none + */ + public java.lang.Float getDdosImpactedBaselineThreshold() { + return ddosImpactedBaselineThreshold; + } + + /** + * DDoS Protection for Network Load Balancers (and VMs with public IPs) builds DDoS mitigations + * that minimize collateral damage. It quantifies this as the fraction of a non-abuse baseline + * that's inadvertently blocked. + * + * Rules whose collateral damage exceeds ddosImpactedBaselineThreshold will not be deployed. Using + * a lower value will prioritize keeping collateral damage low, possibly at the cost of its + * effectiveness in rate limiting some or all of the attack. It should typically be unset, so + * Advanced DDoS (and Adaptive Protection) uses the best mitigation it can find. Setting the + * threshold is advised if there are logs for false positive detections with high collateral + * damage, and will cause Advanced DDoS to attempt to find a less aggressive rule that satisfies + * the constraint. If a suitable rule cannot be found, the system falls back to either no + * mitigation for smaller attacks or broader network throttles for larger ones. + * @param ddosImpactedBaselineThreshold ddosImpactedBaselineThreshold or {@code null} for none + */ + public SecurityPolicyDdosProtectionConfig setDdosImpactedBaselineThreshold(java.lang.Float ddosImpactedBaselineThreshold) { + this.ddosImpactedBaselineThreshold = ddosImpactedBaselineThreshold; + return this; + } + /** * @return value or {@code null} for none */ diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ServiceAttachment.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ServiceAttachment.java index 5e43c5b2d63..c8b71d96bb6 100644 --- a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ServiceAttachment.java +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ServiceAttachment.java @@ -148,6 +148,14 @@ public final class ServiceAttachment extends com.google.api.client.json.GenericJ @com.google.api.client.util.Key private java.lang.String name; + /** + * The number of NAT IP addresses to be allocated per connected endpoint. If not specified, the + * default value is 1. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Long natIpsPerEndpoint; + /** * An array of URLs where each entry is the URL of a subnet provided by the service producer to * use for NAT in this service attachment. @@ -530,6 +538,25 @@ public ServiceAttachment setName(java.lang.String name) { return this; } + /** + * The number of NAT IP addresses to be allocated per connected endpoint. If not specified, the + * default value is 1. + * @return value or {@code null} for none + */ + public java.lang.Long getNatIpsPerEndpoint() { + return natIpsPerEndpoint; + } + + /** + * The number of NAT IP addresses to be allocated per connected endpoint. If not specified, the + * default value is 1. + * @param natIpsPerEndpoint natIpsPerEndpoint or {@code null} for none + */ + public ServiceAttachment setNatIpsPerEndpoint(java.lang.Long natIpsPerEndpoint) { + this.natIpsPerEndpoint = natIpsPerEndpoint; + return this; + } + /** * An array of URLs where each entry is the URL of a subnet provided by the service producer to * use for NAT in this service attachment. diff --git a/clients/google-api-services-compute/v1/2.0.0/pom.xml b/clients/google-api-services-compute/v1/2.0.0/pom.xml index e88cdae4805..90ab1942596 100644 --- a/clients/google-api-services-compute/v1/2.0.0/pom.xml +++ b/clients/google-api-services-compute/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-compute - v1-rev20260530-2.0.0 - Compute Engine API v1-rev20260530-2.0.0 + v1-rev20260612-2.0.0 + Compute Engine API v1-rev20260612-2.0.0 jar 2011 diff --git a/clients/google-api-services-compute/v1/README.md b/clients/google-api-services-compute/v1/README.md index 7b6be1fb530..64342908dbb 100644 --- a/clients/google-api-services-compute/v1/README.md +++ b/clients/google-api-services-compute/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-compute - v1-rev20260530-2.0.0 + v1-rev20260612-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-compute:v1-rev20260530-2.0.0' + implementation 'com.google.apis:google-api-services-compute:v1-rev20260612-2.0.0' } ```