From d43ab4b2499b53714d61b7d8baec4ea22fcbf5b8 Mon Sep 17 00:00:00 2001
From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>
Date: Sun, 1 Nov 2026 17:00:03 -0800
Subject: [PATCH] chore: regenerate compute client
---
.../alpha/2.0.0/README.md | 4 +-
.../model/ConfidentialInstanceConfig.java | 9 +-
.../model/ConfidentialParavisorConfig.java | 6 +
.../compute/model/MachineImageParams.java | 24 +-
.../RecoverableSnapshotOriginalSnapshot.java | 6 +-
.../api/services/compute/model/Snapshot.java | 9 +-
.../compute/model/TargetHttpsProxy.java | 12 +-
.../alpha/2.0.0/pom.xml | 4 +-
.../alpha/README.md | 4 +-
.../beta/2.0.0/README.md | 4 +-
.../model/ConfidentialInstanceConfig.java | 9 +-
.../compute/model/MachineImageParams.java | 24 +-
.../RecoverableSnapshotOriginalSnapshot.java | 6 +-
.../api/services/compute/model/Snapshot.java | 9 +-
.../compute/model/TargetHttpsProxy.java | 12 +-
.../beta/2.0.0/pom.xml | 4 +-
.../beta/README.md | 4 +-
.../preview/2.0.0/README.md | 4 +-
.../google/api/services/compute/Compute.java | 5081 ++++++++++++++---
.../model/ConfidentialInstanceConfig.java | 33 +-
.../model/ConfidentialParavisorConfig.java | 90 +
.../model/FolderRolloutsListResponse.java | 401 ++
...nceFlexibilityPolicyInstanceSelection.java | 113 +
.../api/services/compute/model/Network.java | 27 +
.../compute/model/NetworkLocationBinding.java | 324 ++
.../model/NetworkLocationBindingList.java | 437 ++
.../model/NetworkLocationBindingStatus.java | 96 +
.../NetworkLocationBindingZonalBinding.java | 69 +
.../api/services/compute/model/Snapshot.java | 9 +-
.../compute/model/TargetHttpsProxy.java | 12 +-
.../preview/2.0.0/pom.xml | 4 +-
.../preview/README.md | 4 +-
32 files changed, 5976 insertions(+), 878 deletions(-)
create mode 100644 clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/ConfidentialParavisorConfig.java
create mode 100644 clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/FolderRolloutsListResponse.java
create mode 100644 clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/NetworkLocationBinding.java
create mode 100644 clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/NetworkLocationBindingList.java
create mode 100644 clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/NetworkLocationBindingStatus.java
create mode 100644 clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/NetworkLocationBindingZonalBinding.java
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 9b66859aabe..62ff742d101 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-rev20261016-2.9.2
+ alpha-rev20261026-2.9.2
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-compute:alpha-rev20261016-2.9.2'
+ implementation 'com.google.apis:google-api-services-compute:alpha-rev20261026-2.9.2'
}
```
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ConfidentialInstanceConfig.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ConfidentialInstanceConfig.java
index 920f3a7463d..c54344cdcb1 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ConfidentialInstanceConfig.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ConfidentialInstanceConfig.java
@@ -44,7 +44,8 @@ public final class ConfidentialInstanceConfig extends com.google.api.client.json
private ConfidentialParavisorConfig confidentialParavisorConfig;
/**
- * Defines whether the instance should have confidential compute enabled.
+ * Defines whether the instance should have confidential compute enabled. When enabled, the
+ * technology used defaults to AMD SEV unless confidentialInstanceType is specified.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -85,7 +86,8 @@ public ConfidentialInstanceConfig setConfidentialParavisorConfig(ConfidentialPar
}
/**
- * Defines whether the instance should have confidential compute enabled.
+ * Defines whether the instance should have confidential compute enabled. When enabled, the
+ * technology used defaults to AMD SEV unless confidentialInstanceType is specified.
* @return value or {@code null} for none
*/
public java.lang.Boolean getEnableConfidentialCompute() {
@@ -93,7 +95,8 @@ public java.lang.Boolean getEnableConfidentialCompute() {
}
/**
- * Defines whether the instance should have confidential compute enabled.
+ * Defines whether the instance should have confidential compute enabled. When enabled, the
+ * technology used defaults to AMD SEV unless confidentialInstanceType is specified.
* @param enableConfidentialCompute enableConfidentialCompute or {@code null} for none
*/
public ConfidentialInstanceConfig setEnableConfidentialCompute(java.lang.Boolean enableConfidentialCompute) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ConfidentialParavisorConfig.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ConfidentialParavisorConfig.java
index 17a27a65ef8..f474bb21c78 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ConfidentialParavisorConfig.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ConfidentialParavisorConfig.java
@@ -30,18 +30,21 @@
public final class ConfidentialParavisorConfig extends com.google.api.client.json.GenericJson {
/**
+ * Defines the type of TPM to use for the confidential instance.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String confidentialTpmType;
/**
+ * Defines the IRQ mode to use for the confidential instance.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String sevSnpIrqMode;
/**
+ * Defines the type of TPM to use for the confidential instance.
* @return value or {@code null} for none
*/
public java.lang.String getConfidentialTpmType() {
@@ -49,6 +52,7 @@ public java.lang.String getConfidentialTpmType() {
}
/**
+ * Defines the type of TPM to use for the confidential instance.
* @param confidentialTpmType confidentialTpmType or {@code null} for none
*/
public ConfidentialParavisorConfig setConfidentialTpmType(java.lang.String confidentialTpmType) {
@@ -57,6 +61,7 @@ public ConfidentialParavisorConfig setConfidentialTpmType(java.lang.String confi
}
/**
+ * Defines the IRQ mode to use for the confidential instance.
* @return value or {@code null} for none
*/
public java.lang.String getSevSnpIrqMode() {
@@ -64,6 +69,7 @@ public java.lang.String getSevSnpIrqMode() {
}
/**
+ * Defines the IRQ mode to use for the confidential instance.
* @param sevSnpIrqMode sevSnpIrqMode or {@code null} for none
*/
public ConfidentialParavisorConfig setSevSnpIrqMode(java.lang.String sevSnpIrqMode) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/MachineImageParams.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/MachineImageParams.java
index 02e308422a6..51b0c37dab3 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/MachineImageParams.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/MachineImageParams.java
@@ -30,16 +30,16 @@
public final class MachineImageParams extends com.google.api.client.json.GenericJson {
/**
- * Input only. [Input Only] Specifies the list of disk device names that must be excluded from the
- * new machine image.
+ * Input only. Specifies the list of disk device names that must be excluded from the new machine
+ * image.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List excludedDisks;
/**
- * Input only. [Input Only] Specifies the list of disk device names that must be included with the
- * new machine image.
+ * Input only. Specifies the list of disk device names that must be included with the new machine
+ * image.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -57,8 +57,8 @@ public final class MachineImageParams extends com.google.api.client.json.Generic
private java.util.Map resourceManagerTags;
/**
- * Input only. [Input Only] Specifies the list of disk device names that must be excluded from the
- * new machine image.
+ * Input only. Specifies the list of disk device names that must be excluded from the new machine
+ * image.
* @return value or {@code null} for none
*/
public java.util.List getExcludedDisks() {
@@ -66,8 +66,8 @@ public java.util.List getExcludedDisks() {
}
/**
- * Input only. [Input Only] Specifies the list of disk device names that must be excluded from the
- * new machine image.
+ * Input only. Specifies the list of disk device names that must be excluded from the new machine
+ * image.
* @param excludedDisks excludedDisks or {@code null} for none
*/
public MachineImageParams setExcludedDisks(java.util.List excludedDisks) {
@@ -76,8 +76,8 @@ public MachineImageParams setExcludedDisks(java.util.List excl
}
/**
- * Input only. [Input Only] Specifies the list of disk device names that must be included with the
- * new machine image.
+ * Input only. Specifies the list of disk device names that must be included with the new machine
+ * image.
* @return value or {@code null} for none
*/
public java.util.List getIncludedDisks() {
@@ -85,8 +85,8 @@ public java.util.List getIncludedDisks() {
}
/**
- * Input only. [Input Only] Specifies the list of disk device names that must be included with the
- * new machine image.
+ * Input only. Specifies the list of disk device names that must be included with the new machine
+ * image.
* @param includedDisks includedDisks or {@code null} for none
*/
public MachineImageParams setIncludedDisks(java.util.List includedDisks) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/RecoverableSnapshotOriginalSnapshot.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/RecoverableSnapshotOriginalSnapshot.java
index 05a5acd1c93..3ce12c3b8f6 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/RecoverableSnapshotOriginalSnapshot.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/RecoverableSnapshotOriginalSnapshot.java
@@ -252,7 +252,7 @@ public final class RecoverableSnapshotOriginalSnapshot extends com.google.api.cl
private java.lang.String snapshotGroupName;
/**
- * Indicates the type of the snapshot.
+ * Indicates the type of the snapshot. Valid values are ARCHIVE or STANDARD.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -902,7 +902,7 @@ public RecoverableSnapshotOriginalSnapshot setSnapshotGroupName(java.lang.String
}
/**
- * Indicates the type of the snapshot.
+ * Indicates the type of the snapshot. Valid values are ARCHIVE or STANDARD.
* @return value or {@code null} for none
*/
public java.lang.String getSnapshotType() {
@@ -910,7 +910,7 @@ public java.lang.String getSnapshotType() {
}
/**
- * Indicates the type of the snapshot.
+ * Indicates the type of the snapshot. Valid values are ARCHIVE or STANDARD.
* @param snapshotType snapshotType or {@code null} for none
*/
public RecoverableSnapshotOriginalSnapshot setSnapshotType(java.lang.String snapshotType) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Snapshot.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Snapshot.java
index b0893fa3415..8f43dc29064 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Snapshot.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Snapshot.java
@@ -288,7 +288,8 @@ public final class Snapshot extends com.google.api.client.json.GenericJson {
private java.lang.String snapshotGroupName;
/**
- * Indicates the type of the snapshot.
+ * Indicates the type of the snapshot. Valid values are ARCHIVE or STANDARD. The default is
+ * STANDARD.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -1031,7 +1032,8 @@ public Snapshot setSnapshotGroupName(java.lang.String snapshotGroupName) {
}
/**
- * Indicates the type of the snapshot.
+ * Indicates the type of the snapshot. Valid values are ARCHIVE or STANDARD. The default is
+ * STANDARD.
* @return value or {@code null} for none
*/
public java.lang.String getSnapshotType() {
@@ -1039,7 +1041,8 @@ public java.lang.String getSnapshotType() {
}
/**
- * Indicates the type of the snapshot.
+ * Indicates the type of the snapshot. Valid values are ARCHIVE or STANDARD. The default is
+ * STANDARD.
* @param snapshotType snapshotType or {@code null} for none
*/
public Snapshot setSnapshotType(java.lang.String snapshotType) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/TargetHttpsProxy.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/TargetHttpsProxy.java
index c575d234f17..031c53f2aac 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/TargetHttpsProxy.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/TargetHttpsProxy.java
@@ -254,8 +254,8 @@ public final class TargetHttpsProxy extends com.google.api.client.json.GenericJs
*
* Certificate Manager Certificates accepted formats are: - //certificatemanager.googleapis
* .com/projects/{project}/locations/{location}/certificates/{resourceName}. - https://certific
- * atemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resour
- * ceName}.
+ * atemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{reso
+ * urceName}.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -797,8 +797,8 @@ public TargetHttpsProxy setServerTlsPolicy(java.lang.String serverTlsPolicy) {
*
* Certificate Manager Certificates accepted formats are: - //certificatemanager.googleapis
* .com/projects/{project}/locations/{location}/certificates/{resourceName}. - https://certific
- * atemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resour
- * ceName}.
+ * atemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{reso
+ * urceName}.
* @return value or {@code null} for none
*/
public java.util.List getSslCertificates() {
@@ -821,8 +821,8 @@ public java.util.List getSslCertificates() {
*
* Certificate Manager Certificates accepted formats are: - //certificatemanager.googleapis
* .com/projects/{project}/locations/{location}/certificates/{resourceName}. - https://certific
- * atemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resour
- * ceName}.
+ * atemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{reso
+ * urceName}.
* @param sslCertificates sslCertificates or {@code null} for none
*/
public TargetHttpsProxy setSslCertificates(java.util.List sslCertificates) {
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 246f3d589df..61e3ec80cc6 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-rev20261016-2.9.2
- Compute Engine API alpha-rev20261016-2.9.2
+ alpha-rev20261026-2.9.2
+ Compute Engine API alpha-rev20261026-2.9.2
jar
2011
diff --git a/clients/google-api-services-compute/alpha/README.md b/clients/google-api-services-compute/alpha/README.md
index 9b66859aabe..62ff742d101 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-rev20261016-2.9.2
+ alpha-rev20261026-2.9.2
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-compute:alpha-rev20261016-2.9.2'
+ implementation 'com.google.apis:google-api-services-compute:alpha-rev20261026-2.9.2'
}
```
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 706ae708423..f763a1d29db 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-rev20261016-2.9.2
+ beta-rev20261026-2.9.2
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-compute:beta-rev20261016-2.9.2'
+ implementation 'com.google.apis:google-api-services-compute:beta-rev20261026-2.9.2'
}
```
diff --git a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ConfidentialInstanceConfig.java b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ConfidentialInstanceConfig.java
index 3034c3d9301..5269ebf09df 100644
--- a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ConfidentialInstanceConfig.java
+++ b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ConfidentialInstanceConfig.java
@@ -37,7 +37,8 @@ public final class ConfidentialInstanceConfig extends com.google.api.client.json
private java.lang.String confidentialInstanceType;
/**
- * Defines whether the instance should have confidential compute enabled.
+ * Defines whether the instance should have confidential compute enabled. When enabled, the
+ * technology used defaults to AMD SEV unless confidentialInstanceType is specified.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -61,7 +62,8 @@ public ConfidentialInstanceConfig setConfidentialInstanceType(java.lang.String c
}
/**
- * Defines whether the instance should have confidential compute enabled.
+ * Defines whether the instance should have confidential compute enabled. When enabled, the
+ * technology used defaults to AMD SEV unless confidentialInstanceType is specified.
* @return value or {@code null} for none
*/
public java.lang.Boolean getEnableConfidentialCompute() {
@@ -69,7 +71,8 @@ public java.lang.Boolean getEnableConfidentialCompute() {
}
/**
- * Defines whether the instance should have confidential compute enabled.
+ * Defines whether the instance should have confidential compute enabled. When enabled, the
+ * technology used defaults to AMD SEV unless confidentialInstanceType is specified.
* @param enableConfidentialCompute enableConfidentialCompute or {@code null} for none
*/
public ConfidentialInstanceConfig setEnableConfidentialCompute(java.lang.Boolean enableConfidentialCompute) {
diff --git a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/MachineImageParams.java b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/MachineImageParams.java
index 02e308422a6..51b0c37dab3 100644
--- a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/MachineImageParams.java
+++ b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/MachineImageParams.java
@@ -30,16 +30,16 @@
public final class MachineImageParams extends com.google.api.client.json.GenericJson {
/**
- * Input only. [Input Only] Specifies the list of disk device names that must be excluded from the
- * new machine image.
+ * Input only. Specifies the list of disk device names that must be excluded from the new machine
+ * image.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List excludedDisks;
/**
- * Input only. [Input Only] Specifies the list of disk device names that must be included with the
- * new machine image.
+ * Input only. Specifies the list of disk device names that must be included with the new machine
+ * image.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -57,8 +57,8 @@ public final class MachineImageParams extends com.google.api.client.json.Generic
private java.util.Map resourceManagerTags;
/**
- * Input only. [Input Only] Specifies the list of disk device names that must be excluded from the
- * new machine image.
+ * Input only. Specifies the list of disk device names that must be excluded from the new machine
+ * image.
* @return value or {@code null} for none
*/
public java.util.List getExcludedDisks() {
@@ -66,8 +66,8 @@ public java.util.List getExcludedDisks() {
}
/**
- * Input only. [Input Only] Specifies the list of disk device names that must be excluded from the
- * new machine image.
+ * Input only. Specifies the list of disk device names that must be excluded from the new machine
+ * image.
* @param excludedDisks excludedDisks or {@code null} for none
*/
public MachineImageParams setExcludedDisks(java.util.List excludedDisks) {
@@ -76,8 +76,8 @@ public MachineImageParams setExcludedDisks(java.util.List excl
}
/**
- * Input only. [Input Only] Specifies the list of disk device names that must be included with the
- * new machine image.
+ * Input only. Specifies the list of disk device names that must be included with the new machine
+ * image.
* @return value or {@code null} for none
*/
public java.util.List getIncludedDisks() {
@@ -85,8 +85,8 @@ public java.util.List getIncludedDisks() {
}
/**
- * Input only. [Input Only] Specifies the list of disk device names that must be included with the
- * new machine image.
+ * Input only. Specifies the list of disk device names that must be included with the new machine
+ * image.
* @param includedDisks includedDisks or {@code null} for none
*/
public MachineImageParams setIncludedDisks(java.util.List includedDisks) {
diff --git a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/RecoverableSnapshotOriginalSnapshot.java b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/RecoverableSnapshotOriginalSnapshot.java
index 05a5acd1c93..3ce12c3b8f6 100644
--- a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/RecoverableSnapshotOriginalSnapshot.java
+++ b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/RecoverableSnapshotOriginalSnapshot.java
@@ -252,7 +252,7 @@ public final class RecoverableSnapshotOriginalSnapshot extends com.google.api.cl
private java.lang.String snapshotGroupName;
/**
- * Indicates the type of the snapshot.
+ * Indicates the type of the snapshot. Valid values are ARCHIVE or STANDARD.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -902,7 +902,7 @@ public RecoverableSnapshotOriginalSnapshot setSnapshotGroupName(java.lang.String
}
/**
- * Indicates the type of the snapshot.
+ * Indicates the type of the snapshot. Valid values are ARCHIVE or STANDARD.
* @return value or {@code null} for none
*/
public java.lang.String getSnapshotType() {
@@ -910,7 +910,7 @@ public java.lang.String getSnapshotType() {
}
/**
- * Indicates the type of the snapshot.
+ * Indicates the type of the snapshot. Valid values are ARCHIVE or STANDARD.
* @param snapshotType snapshotType or {@code null} for none
*/
public RecoverableSnapshotOriginalSnapshot setSnapshotType(java.lang.String snapshotType) {
diff --git a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/Snapshot.java b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/Snapshot.java
index aadca6047e1..810f45522db 100644
--- a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/Snapshot.java
+++ b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/Snapshot.java
@@ -267,7 +267,8 @@ public final class Snapshot extends com.google.api.client.json.GenericJson {
private java.lang.String snapshotGroupName;
/**
- * Indicates the type of the snapshot.
+ * Indicates the type of the snapshot. Valid values are ARCHIVE or STANDARD. The default is
+ * STANDARD.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -959,7 +960,8 @@ public Snapshot setSnapshotGroupName(java.lang.String snapshotGroupName) {
}
/**
- * Indicates the type of the snapshot.
+ * Indicates the type of the snapshot. Valid values are ARCHIVE or STANDARD. The default is
+ * STANDARD.
* @return value or {@code null} for none
*/
public java.lang.String getSnapshotType() {
@@ -967,7 +969,8 @@ public java.lang.String getSnapshotType() {
}
/**
- * Indicates the type of the snapshot.
+ * Indicates the type of the snapshot. Valid values are ARCHIVE or STANDARD. The default is
+ * STANDARD.
* @param snapshotType snapshotType or {@code null} for none
*/
public Snapshot setSnapshotType(java.lang.String snapshotType) {
diff --git a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/TargetHttpsProxy.java b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/TargetHttpsProxy.java
index 6327f41e582..6623b5cb292 100644
--- a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/TargetHttpsProxy.java
+++ b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/TargetHttpsProxy.java
@@ -247,8 +247,8 @@ public final class TargetHttpsProxy extends com.google.api.client.json.GenericJs
*
* Certificate Manager Certificates accepted formats are: - //certificatemanager.googleapis
* .com/projects/{project}/locations/{location}/certificates/{resourceName}. - https://certific
- * atemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resour
- * ceName}.
+ * atemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{reso
+ * urceName}.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -773,8 +773,8 @@ public TargetHttpsProxy setServerTlsPolicy(java.lang.String serverTlsPolicy) {
*
* Certificate Manager Certificates accepted formats are: - //certificatemanager.googleapis
* .com/projects/{project}/locations/{location}/certificates/{resourceName}. - https://certific
- * atemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resour
- * ceName}.
+ * atemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{reso
+ * urceName}.
* @return value or {@code null} for none
*/
public java.util.List getSslCertificates() {
@@ -797,8 +797,8 @@ public java.util.List getSslCertificates() {
*
* Certificate Manager Certificates accepted formats are: - //certificatemanager.googleapis
* .com/projects/{project}/locations/{location}/certificates/{resourceName}. - https://certific
- * atemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resour
- * ceName}.
+ * atemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{reso
+ * urceName}.
* @param sslCertificates sslCertificates or {@code null} for none
*/
public TargetHttpsProxy setSslCertificates(java.util.List sslCertificates) {
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 2da5abd904d..48228cf8b43 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-rev20261016-2.9.2
- Compute Engine API beta-rev20261016-2.9.2
+ beta-rev20261026-2.9.2
+ Compute Engine API beta-rev20261026-2.9.2
jar
2011
diff --git a/clients/google-api-services-compute/beta/README.md b/clients/google-api-services-compute/beta/README.md
index 706ae708423..f763a1d29db 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-rev20261016-2.9.2
+ beta-rev20261026-2.9.2
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-compute:beta-rev20261016-2.9.2'
+ implementation 'com.google.apis:google-api-services-compute:beta-rev20261026-2.9.2'
}
```
diff --git a/clients/google-api-services-compute/preview/2.0.0/README.md b/clients/google-api-services-compute/preview/2.0.0/README.md
index 6dd214cc9b3..990ec6c21c5 100644
--- a/clients/google-api-services-compute/preview/2.0.0/README.md
+++ b/clients/google-api-services-compute/preview/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
- preview-rev20261016-2.9.2
+ preview-rev20261026-2.9.2
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-compute:preview-rev20261016-2.9.2'
+ implementation 'com.google.apis:google-api-services-compute:preview-rev20261026-2.9.2'
}
```
diff --git a/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/Compute.java b/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/Compute.java
index 6e536ede158..4f9ceab188f 100644
--- a/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/Compute.java
+++ b/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/Compute.java
@@ -33402,60 +33402,59 @@ public Update set(String parameterName, Object value) {
}
/**
- * An accessor for creating requests from the FolderZoneVmExtensionPolicies collection.
+ * An accessor for creating requests from the FolderRolloutPlans collection.
*
* The typical use is:
*
* {@code Compute compute = new Compute(...);}
- * {@code Compute.FolderZoneVmExtensionPolicies.List request = compute.folderZoneVmExtensionPolicies().list(parameters ...)}
+ * {@code Compute.FolderRolloutPlans.List request = compute.folderRolloutPlans().list(parameters ...)}
*
*
* @return the resource collection
*/
- public FolderZoneVmExtensionPolicies folderZoneVmExtensionPolicies() {
- return new FolderZoneVmExtensionPolicies();
+ public FolderRolloutPlans folderRolloutPlans() {
+ return new FolderRolloutPlans();
}
/**
- * The "folderZoneVmExtensionPolicies" collection of methods.
+ * The "folderRolloutPlans" collection of methods.
*/
- public class FolderZoneVmExtensionPolicies {
+ public class FolderRolloutPlans {
/**
- * Deletes a specified zone VM extension policy within a folder.
+ * Deletes a FolderRolloutPlan.
*
- * Create a request for the method "folderZoneVmExtensionPolicies.delete".
+ * Create a request for the method "folderRolloutPlans.delete".
*
* This request holds the parameters needed by the compute server. After setting any optional
* parameters, call the {@link Delete#execute()} method to invoke the remote operation.
*
* @param folder Folder ID for this request.
- * @param zone Name of the zone for this request.
- * @param vmExtensionPolicy Name of the zone VM extension policy to delete.
+ * @param rolloutPlan Name of the FolderRolloutPlan resource to delete.
* @return the request
*/
- public Delete delete(java.lang.String folder, java.lang.String zone, java.lang.String vmExtensionPolicy) throws java.io.IOException {
- Delete result = new Delete(folder, zone, vmExtensionPolicy);
+ public Delete delete(java.lang.String folder, java.lang.String rolloutPlan) throws java.io.IOException {
+ Delete result = new Delete(folder, rolloutPlan);
initialize(result);
return result;
}
public class Delete extends ComputeRequest {
- private static final String REST_PATH = "{+folder}/zones/{zone}/vmExtensionPolicies/{vmExtensionPolicy}";
+ private static final String REST_PATH = "{+folder}/global/rolloutPlans/{rolloutPlan}";
private static final String API_VERSION = "2026-10-01-preview";
private final java.util.regex.Pattern FOLDER_PATTERN =
java.util.regex.Pattern.compile("folders/[0-9]{0,20}");
- private final java.util.regex.Pattern ZONE_PATTERN =
- java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ private final java.util.regex.Pattern ROLLOUT_PLAN_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
/**
- * Deletes a specified zone VM extension policy within a folder.
+ * Deletes a FolderRolloutPlan.
*
- * Create a request for the method "folderZoneVmExtensionPolicies.delete".
+ * Create a request for the method "folderRolloutPlans.delete".
*
* This request holds the parameters needed by the the compute server. After setting any optional
* parameters, call the {@link Delete#execute()} method to invoke the remote operation. {@link
@@ -33463,11 +33462,10 @@ public class Delete extends ComputeRequest
*
* @param folder Folder ID for this request.
- * @param zone Name of the zone for this request.
- * @param vmExtensionPolicy Name of the zone VM extension policy to delete.
+ * @param rolloutPlan Name of the FolderRolloutPlan resource to delete.
* @since 1.13
*/
- protected Delete(java.lang.String folder, java.lang.String zone, java.lang.String vmExtensionPolicy) {
+ protected Delete(java.lang.String folder, java.lang.String rolloutPlan) {
super(Compute.this, "DELETE", REST_PATH, null, com.google.api.services.compute.model.Operation.class);
this.folder = com.google.api.client.util.Preconditions.checkNotNull(folder, "Required parameter folder must be specified.");
if (!getSuppressPatternChecks()) {
@@ -33475,13 +33473,12 @@ protected Delete(java.lang.String folder, java.lang.String zone, java.lang.Strin
"Parameter folder must conform to the pattern " +
"folders/[0-9]{0,20}");
}
- this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
+ this.rolloutPlan = com.google.api.client.util.Preconditions.checkNotNull(rolloutPlan, "Required parameter rolloutPlan must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
- "Parameter zone must conform to the pattern " +
- "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PLAN_PATTERN.matcher(rolloutPlan).matches(),
+ "Parameter rolloutPlan must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
}
- this.vmExtensionPolicy = com.google.api.client.util.Preconditions.checkNotNull(vmExtensionPolicy, "Required parameter vmExtensionPolicy must be specified.");
// Does not override the API_VERSION if already configured
com.google.api.client.http.HttpHeaders headers = getRequestHeaders();
if (headers.get(API_VERSION_HEADER) == null) {
@@ -33570,40 +33567,24 @@ public Delete setFolder(java.lang.String folder) {
return this;
}
- /** Name of the zone for this request. */
+ /** Name of the FolderRolloutPlan resource to delete. */
@com.google.api.client.util.Key
- private java.lang.String zone;
+ private java.lang.String rolloutPlan;
- /** Name of the zone for this request.
+ /** Name of the FolderRolloutPlan resource to delete.
*/
- public java.lang.String getZone() {
- return zone;
+ public java.lang.String getRolloutPlan() {
+ return rolloutPlan;
}
- /** Name of the zone for this request. */
- public Delete setZone(java.lang.String zone) {
+ /** Name of the FolderRolloutPlan resource to delete. */
+ public Delete setRolloutPlan(java.lang.String rolloutPlan) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
- "Parameter zone must conform to the pattern " +
- "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PLAN_PATTERN.matcher(rolloutPlan).matches(),
+ "Parameter rolloutPlan must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
}
- this.zone = zone;
- return this;
- }
-
- /** Name of the zone VM extension policy to delete. */
- @com.google.api.client.util.Key
- private java.lang.String vmExtensionPolicy;
-
- /** Name of the zone VM extension policy to delete.
- */
- public java.lang.String getVmExtensionPolicy() {
- return vmExtensionPolicy;
- }
-
- /** Name of the zone VM extension policy to delete. */
- public Delete setVmExtensionPolicy(java.lang.String vmExtensionPolicy) {
- this.vmExtensionPolicy = vmExtensionPolicy;
+ this.rolloutPlan = rolloutPlan;
return this;
}
@@ -33662,43 +33643,39 @@ public Delete set(String parameterName, Object value) {
}
}
/**
- * Retrieves details of a specific zone VM extension policy within a folder.
+ * Gets details of a single folder-scoped RolloutPlan.
*
- * Create a request for the method "folderZoneVmExtensionPolicies.get".
+ * Create a request for the method "folderRolloutPlans.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 folder Folder ID for this request.
- * @param zone Name of the zone for this request.
- * @param vmExtensionPolicy Name of the VM extension policy resource to return.
+ * @param rolloutPlan Name of the persistent rollout plan to return.
* @return the request
*/
- public Get get(java.lang.String folder, java.lang.String zone, java.lang.String vmExtensionPolicy) throws java.io.IOException {
- Get result = new Get(folder, zone, vmExtensionPolicy);
+ public Get get(java.lang.String folder, java.lang.String rolloutPlan) throws java.io.IOException {
+ Get result = new Get(folder, rolloutPlan);
initialize(result);
return result;
}
- public class Get extends ComputeRequest {
+ public class Get extends ComputeRequest {
- private static final String REST_PATH = "{+folder}/zones/{zone}/vmExtensionPolicies/{vmExtensionPolicy}";
+ private static final String REST_PATH = "{+folder}/global/rolloutPlans/{rolloutPlan}";
private static final String API_VERSION = "2026-10-01-preview";
private final java.util.regex.Pattern FOLDER_PATTERN =
java.util.regex.Pattern.compile("folders/[0-9]{0,20}");
- private final java.util.regex.Pattern ZONE_PATTERN =
- java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
-
- private final java.util.regex.Pattern VM_EXTENSION_POLICY_PATTERN =
+ private final java.util.regex.Pattern ROLLOUT_PLAN_PATTERN =
java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
/**
- * Retrieves details of a specific zone VM extension policy within a folder.
+ * Gets details of a single folder-scoped RolloutPlan.
*
- * Create a request for the method "folderZoneVmExtensionPolicies.get".
+ * Create a request for the method "folderRolloutPlans.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
@@ -33706,28 +33683,21 @@ public class Get extends ComputeRequest
*
* @param folder Folder ID for this request.
- * @param zone Name of the zone for this request.
- * @param vmExtensionPolicy Name of the VM extension policy resource to return.
+ * @param rolloutPlan Name of the persistent rollout plan to return.
* @since 1.13
*/
- protected Get(java.lang.String folder, java.lang.String zone, java.lang.String vmExtensionPolicy) {
- super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.VmExtensionPolicy.class);
+ protected Get(java.lang.String folder, java.lang.String rolloutPlan) {
+ super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.RolloutPlan.class);
this.folder = com.google.api.client.util.Preconditions.checkNotNull(folder, "Required parameter folder must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
"Parameter folder must conform to the pattern " +
"folders/[0-9]{0,20}");
}
- this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
- "Parameter zone must conform to the pattern " +
- "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
- }
- this.vmExtensionPolicy = com.google.api.client.util.Preconditions.checkNotNull(vmExtensionPolicy, "Required parameter vmExtensionPolicy must be specified.");
+ this.rolloutPlan = com.google.api.client.util.Preconditions.checkNotNull(rolloutPlan, "Required parameter rolloutPlan must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(VM_EXTENSION_POLICY_PATTERN.matcher(vmExtensionPolicy).matches(),
- "Parameter vmExtensionPolicy must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PLAN_PATTERN.matcher(rolloutPlan).matches(),
+ "Parameter rolloutPlan must conform to the pattern " +
"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
}
// Does not override the API_VERSION if already configured
@@ -33828,45 +33798,24 @@ public Get setFolder(java.lang.String folder) {
return this;
}
- /** Name of the zone for this request. */
- @com.google.api.client.util.Key
- private java.lang.String zone;
-
- /** Name of the zone for this request.
- */
- public java.lang.String getZone() {
- return zone;
- }
-
- /** Name of the zone for this request. */
- public Get setZone(java.lang.String zone) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
- "Parameter zone must conform to the pattern " +
- "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
- }
- this.zone = zone;
- return this;
- }
-
- /** Name of the VM extension policy resource to return. */
+ /** Name of the persistent rollout plan to return. */
@com.google.api.client.util.Key
- private java.lang.String vmExtensionPolicy;
+ private java.lang.String rolloutPlan;
- /** Name of the VM extension policy resource to return.
+ /** Name of the persistent rollout plan to return.
*/
- public java.lang.String getVmExtensionPolicy() {
- return vmExtensionPolicy;
+ public java.lang.String getRolloutPlan() {
+ return rolloutPlan;
}
- /** Name of the VM extension policy resource to return. */
- public Get setVmExtensionPolicy(java.lang.String vmExtensionPolicy) {
+ /** Name of the persistent rollout plan to return. */
+ public Get setRolloutPlan(java.lang.String rolloutPlan) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(VM_EXTENSION_POLICY_PATTERN.matcher(vmExtensionPolicy).matches(),
- "Parameter vmExtensionPolicy must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PLAN_PATTERN.matcher(rolloutPlan).matches(),
+ "Parameter rolloutPlan must conform to the pattern " +
"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
}
- this.vmExtensionPolicy = vmExtensionPolicy;
+ this.rolloutPlan = rolloutPlan;
return this;
}
@@ -33876,255 +33825,36 @@ public Get set(String parameterName, Object value) {
}
}
/**
- * Retrieves details of a specific VM extension within a folder.
+ * Creates a new RolloutPlan in a given folder and location.
*
- * Create a request for the method "folderZoneVmExtensionPolicies.getVmExtension".
- *
- * This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link GetVmExtension#execute()} method to invoke the remote operation.
- *
- * @param folder Folder ID for this request.
- * @param zone Name of the zone for this request.
- * @param extensionName Required. Name of the VM extension for this request.
- * @return the request
- */
- public GetVmExtension getVmExtension(java.lang.String folder, java.lang.String zone, java.lang.String extensionName) throws java.io.IOException {
- GetVmExtension result = new GetVmExtension(folder, zone, extensionName);
- initialize(result);
- return result;
- }
-
- public class GetVmExtension extends ComputeRequest {
-
- private static final String REST_PATH = "{+folder}/zones/{zone}/vmExtensions/{extensionName}";
-
- private static final String API_VERSION = "2026-10-01-preview";
-
- private final java.util.regex.Pattern FOLDER_PATTERN =
- java.util.regex.Pattern.compile("folders/[0-9]{0,20}");
-
- private final java.util.regex.Pattern ZONE_PATTERN =
- java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
-
- private final java.util.regex.Pattern EXTENSION_NAME_PATTERN =
- java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
-
- /**
- * Retrieves details of a specific VM extension within a folder.
- *
- * Create a request for the method "folderZoneVmExtensionPolicies.getVmExtension".
- *
- * This request holds the parameters needed by the the compute server. After setting any optional
- * parameters, call the {@link GetVmExtension#execute()} method to invoke the remote operation.
- * {@link GetVmExtension#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
- * ientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor.
- *
- * @param folder Folder ID for this request.
- * @param zone Name of the zone for this request.
- * @param extensionName Required. Name of the VM extension for this request.
- * @since 1.13
- */
- protected GetVmExtension(java.lang.String folder, java.lang.String zone, java.lang.String extensionName) {
- super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.VmExtension.class);
- this.folder = com.google.api.client.util.Preconditions.checkNotNull(folder, "Required parameter folder must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
- "Parameter folder must conform to the pattern " +
- "folders/[0-9]{0,20}");
- }
- this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
- "Parameter zone must conform to the pattern " +
- "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
- }
- this.extensionName = com.google.api.client.util.Preconditions.checkNotNull(extensionName, "Required parameter extensionName must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(EXTENSION_NAME_PATTERN.matcher(extensionName).matches(),
- "Parameter extensionName must conform to the pattern " +
- "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
- }
- // Does not override the API_VERSION if already configured
- com.google.api.client.http.HttpHeaders headers = getRequestHeaders();
- if (headers.get(API_VERSION_HEADER) == null) {
- headers.set(API_VERSION_HEADER, API_VERSION);
- }
- }
-
- @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 GetVmExtension set$Xgafv(java.lang.String $Xgafv) {
- return (GetVmExtension) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public GetVmExtension setAccessToken(java.lang.String accessToken) {
- return (GetVmExtension) super.setAccessToken(accessToken);
- }
-
- @Override
- public GetVmExtension setAlt(java.lang.String alt) {
- return (GetVmExtension) super.setAlt(alt);
- }
-
- @Override
- public GetVmExtension setCallback(java.lang.String callback) {
- return (GetVmExtension) super.setCallback(callback);
- }
-
- @Override
- public GetVmExtension setFields(java.lang.String fields) {
- return (GetVmExtension) super.setFields(fields);
- }
-
- @Override
- public GetVmExtension setKey(java.lang.String key) {
- return (GetVmExtension) super.setKey(key);
- }
-
- @Override
- public GetVmExtension setOauthToken(java.lang.String oauthToken) {
- return (GetVmExtension) super.setOauthToken(oauthToken);
- }
-
- @Override
- public GetVmExtension setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (GetVmExtension) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public GetVmExtension setQuotaUser(java.lang.String quotaUser) {
- return (GetVmExtension) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public GetVmExtension setUploadType(java.lang.String uploadType) {
- return (GetVmExtension) super.setUploadType(uploadType);
- }
-
- @Override
- public GetVmExtension setUploadProtocol(java.lang.String uploadProtocol) {
- return (GetVmExtension) super.setUploadProtocol(uploadProtocol);
- }
-
- @Override
- public GetVmExtension setUserIp(java.lang.String userIp) {
- return (GetVmExtension) super.setUserIp(userIp);
- }
-
- /** Folder ID for this request. */
- @com.google.api.client.util.Key
- private java.lang.String folder;
-
- /** Folder ID for this request.
- */
- public java.lang.String getFolder() {
- return folder;
- }
-
- /** Folder ID for this request. */
- public GetVmExtension setFolder(java.lang.String folder) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
- "Parameter folder must conform to the pattern " +
- "folders/[0-9]{0,20}");
- }
- this.folder = folder;
- return this;
- }
-
- /** Name of the zone for this request. */
- @com.google.api.client.util.Key
- private java.lang.String zone;
-
- /** Name of the zone for this request.
- */
- public java.lang.String getZone() {
- return zone;
- }
-
- /** Name of the zone for this request. */
- public GetVmExtension setZone(java.lang.String zone) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
- "Parameter zone must conform to the pattern " +
- "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
- }
- this.zone = zone;
- return this;
- }
-
- /** Required. Name of the VM extension for this request. */
- @com.google.api.client.util.Key
- private java.lang.String extensionName;
-
- /** Required. Name of the VM extension for this request.
- */
- public java.lang.String getExtensionName() {
- return extensionName;
- }
-
- /** Required. Name of the VM extension for this request. */
- public GetVmExtension setExtensionName(java.lang.String extensionName) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(EXTENSION_NAME_PATTERN.matcher(extensionName).matches(),
- "Parameter extensionName must conform to the pattern " +
- "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
- }
- this.extensionName = extensionName;
- return this;
- }
-
- @Override
- public GetVmExtension set(String parameterName, Object value) {
- return (GetVmExtension) super.set(parameterName, value);
- }
- }
- /**
- * Creates a new zone-level VM extension policy within a folder.
- *
- * Create a request for the method "folderZoneVmExtensionPolicies.insert".
+ * Create a request for the method "folderRolloutPlans.insert".
*
* This request holds the parameters needed by the compute server. After setting any optional
* parameters, call the {@link Insert#execute()} method to invoke the remote operation.
*
* @param folder Folder ID for this request.
- * @param zone Name of the zone for this request.
- * @param content the {@link com.google.api.services.compute.model.VmExtensionPolicy}
+ * @param content the {@link com.google.api.services.compute.model.RolloutPlan}
* @return the request
*/
- public Insert insert(java.lang.String folder, java.lang.String zone, com.google.api.services.compute.model.VmExtensionPolicy content) throws java.io.IOException {
- Insert result = new Insert(folder, zone, content);
+ public Insert insert(java.lang.String folder, com.google.api.services.compute.model.RolloutPlan content) throws java.io.IOException {
+ Insert result = new Insert(folder, content);
initialize(result);
return result;
}
public class Insert extends ComputeRequest {
- private static final String REST_PATH = "{+folder}/zones/{zone}/vmExtensionPolicies";
+ private static final String REST_PATH = "{+folder}/global/rolloutPlans";
private static final String API_VERSION = "2026-10-01-preview";
private final java.util.regex.Pattern FOLDER_PATTERN =
java.util.regex.Pattern.compile("folders/[0-9]{0,20}");
- private final java.util.regex.Pattern ZONE_PATTERN =
- java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
-
/**
- * Creates a new zone-level VM extension policy within a folder.
+ * Creates a new RolloutPlan in a given folder and location.
*
- * Create a request for the method "folderZoneVmExtensionPolicies.insert".
+ * Create a request for the method "folderRolloutPlans.insert".
*
* This request holds the parameters needed by the the compute server. After setting any optional
* parameters, call the {@link Insert#execute()} method to invoke the remote operation. {@link
@@ -34132,11 +33862,10 @@ public class Insert extends ComputeRequest
*
* @param folder Folder ID for this request.
- * @param zone Name of the zone for this request.
- * @param content the {@link com.google.api.services.compute.model.VmExtensionPolicy}
+ * @param content the {@link com.google.api.services.compute.model.RolloutPlan}
* @since 1.13
*/
- protected Insert(java.lang.String folder, java.lang.String zone, com.google.api.services.compute.model.VmExtensionPolicy content) {
+ protected Insert(java.lang.String folder, com.google.api.services.compute.model.RolloutPlan content) {
super(Compute.this, "POST", REST_PATH, content, com.google.api.services.compute.model.Operation.class);
this.folder = com.google.api.client.util.Preconditions.checkNotNull(folder, "Required parameter folder must be specified.");
if (!getSuppressPatternChecks()) {
@@ -34144,12 +33873,6 @@ protected Insert(java.lang.String folder, java.lang.String zone, com.google.api.
"Parameter folder must conform to the pattern " +
"folders/[0-9]{0,20}");
}
- this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
- "Parameter zone must conform to the pattern " +
- "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
- }
// Does not override the API_VERSION if already configured
com.google.api.client.http.HttpHeaders headers = getRequestHeaders();
if (headers.get(API_VERSION_HEADER) == null) {
@@ -34238,27 +33961,6 @@ public Insert setFolder(java.lang.String folder) {
return this;
}
- /** Name of the zone for this request. */
- @com.google.api.client.util.Key
- private java.lang.String zone;
-
- /** Name of the zone for this request.
- */
- public java.lang.String getZone() {
- return zone;
- }
-
- /** Name of the zone for this request. */
- public Insert setZone(java.lang.String zone) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
- "Parameter zone must conform to the pattern " +
- "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
- }
- this.zone = zone;
- 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
@@ -34314,39 +34016,35 @@ public Insert set(String parameterName, Object value) {
}
}
/**
- * Lists all VM extension policies within a specific zone for a folder.
+ * Lists FolderRolloutPlans in a given folder and location.
*
- * Create a request for the method "folderZoneVmExtensionPolicies.list".
+ * Create a request for the method "folderRolloutPlans.list".
*
* This request holds the parameters needed by the compute server. After setting any optional
* parameters, call the {@link List#execute()} method to invoke the remote operation.
*
* @param folder Folder ID for this request.
- * @param zone Name of the zone for this request.
* @return the request
*/
- public List list(java.lang.String folder, java.lang.String zone) throws java.io.IOException {
- List result = new List(folder, zone);
+ public List list(java.lang.String folder) throws java.io.IOException {
+ List result = new List(folder);
initialize(result);
return result;
}
- public class List extends ComputeRequest {
+ public class List extends ComputeRequest {
- private static final String REST_PATH = "{+folder}/zones/{zone}/vmExtensionPolicies";
+ private static final String REST_PATH = "{+folder}/global/rolloutPlans";
private static final String API_VERSION = "2026-10-01-preview";
private final java.util.regex.Pattern FOLDER_PATTERN =
java.util.regex.Pattern.compile("folders/[0-9]{0,20}");
- private final java.util.regex.Pattern ZONE_PATTERN =
- java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
-
/**
- * Lists all VM extension policies within a specific zone for a folder.
+ * Lists FolderRolloutPlans in a given folder and location.
*
- * Create a request for the method "folderZoneVmExtensionPolicies.list".
+ * Create a request for the method "folderRolloutPlans.list".
*
* This request holds the parameters needed by the the compute server. After setting any optional
* parameters, call the {@link List#execute()} method to invoke the remote operation. {@link
@@ -34354,23 +34052,16 @@ public class List extends ComputeRequest
*
* @param folder Folder ID for this request.
- * @param zone Name of the zone for this request.
* @since 1.13
*/
- protected List(java.lang.String folder, java.lang.String zone) {
- super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.VmExtensionPolicyList.class);
+ protected List(java.lang.String folder) {
+ super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.RolloutPlansListResponse.class);
this.folder = com.google.api.client.util.Preconditions.checkNotNull(folder, "Required parameter folder must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
"Parameter folder must conform to the pattern " +
"folders/[0-9]{0,20}");
}
- this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
- "Parameter zone must conform to the pattern " +
- "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
- }
// Does not override the API_VERSION if already configured
com.google.api.client.http.HttpHeaders headers = getRequestHeaders();
if (headers.get(API_VERSION_HEADER) == null) {
@@ -34469,27 +34160,3116 @@ public List setFolder(java.lang.String folder) {
return this;
}
- /** Name of the zone for this request. */
- @com.google.api.client.util.Key
- private java.lang.String zone;
-
- /** Name of the zone for this request.
- */
- public java.lang.String getZone() {
- return zone;
- }
-
- /** Name of the zone for this request. */
- public List setZone(java.lang.String zone) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
- "Parameter zone must conform to the pattern " +
- "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
- }
- this.zone = zone;
- return this;
- }
-
+ /**
+ * A filter expression that filters resources listed in the response. Most Compute resources
+ * support two types of filter expressions: expressions that support regular expressions and
+ * expressions that follow API improvement proposal AIP-160. These two types of filter
+ * expressions cannot be mixed in one request.
+ *
+ * If you want to use AIP-160, your expression must specify the field name, an operator, and
+ * the value that you want to use for filtering. The value must be a string, a number, or a
+ * boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
+ *
+ * For example, if you are filtering Compute Engine instances, you can exclude instances named
+ * `example-instance` by specifying `name != example-instance`.
+ *
+ * The `:*` comparison can be used to test whether a key has been defined. For example, to
+ * find all objects with `owner` label use: ``` labels.owner:* ```
+ *
+ * You can also filter nested fields. For example, you could specify
+ * `scheduling.automaticRestart = false` to include instances only if they are not scheduled
+ * for automatic restarts. You can use filtering on nested fields to filter based onresource
+ * labels.
+ *
+ * To filter on multiple expressions, provide each separate expression within parentheses. For
+ * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
+ * default, each expression is an `AND` expression. However, you can include `AND` and `OR`
+ * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
+ * "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
+ *
+ * If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator
+ * against a single un-parenthesized expression with or without quotes or against multiple
+ * parenthesized expressions. Examples:
+ *
+ * `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq
+ * "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")`
+ *
+ * The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
+ * The literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not end with name "instance", you would use
+ * `name ne .*instance`.
+ *
+ * You cannot combine constraints on multiple fields using regular expressions.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String filter;
+
+ /** A filter expression that filters resources listed in the response. Most Compute resources support
+ two types of filter expressions: expressions that support regular expressions and expressions that
+ follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in
+ one request.
+
+ If you want to use AIP-160, your expression must specify the field name, an operator, and the value
+ that you want to use for filtering. The value must be a string, a number, or a boolean. The
+ operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
+
+ For example, if you are filtering Compute Engine instances, you can exclude instances named
+ `example-instance` by specifying `name != example-instance`.
+
+ The `:*` comparison can be used to test whether a key has been defined. For example, to find all
+ objects with `owner` label use: ``` labels.owner:* ```
+
+ You can also filter nested fields. For example, you could specify `scheduling.automaticRestart =
+ false` to include instances only if they are not scheduled for automatic restarts. You can use
+ filtering on nested fields to filter based onresource labels.
+
+ To filter on multiple expressions, provide each separate expression within parentheses. For
+ example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default,
+ each expression is an `AND` expression. However, you can include `AND` and `OR` expressions
+ explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell")
+ AND (scheduling.automaticRestart = true) ```
+
+ If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against
+ a single un-parenthesized expression with or without quotes or against multiple parenthesized
+ expressions. Examples:
+
+ `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted
+ literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")`
+
+ The literal value is interpreted as a regular expression using GoogleRE2 library syntax. The
+ literal value must match the entire field.
+
+ For example, to filter for instances that do not end with name "instance", you would use `name ne
+ .*instance`.
+
+ You cannot combine constraints on multiple fields using regular expressions.
+ */
+ public java.lang.String getFilter() {
+ return filter;
+ }
+
+ /**
+ * A filter expression that filters resources listed in the response. Most Compute resources
+ * support two types of filter expressions: expressions that support regular expressions and
+ * expressions that follow API improvement proposal AIP-160. These two types of filter
+ * expressions cannot be mixed in one request.
+ *
+ * If you want to use AIP-160, your expression must specify the field name, an operator, and
+ * the value that you want to use for filtering. The value must be a string, a number, or a
+ * boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
+ *
+ * For example, if you are filtering Compute Engine instances, you can exclude instances named
+ * `example-instance` by specifying `name != example-instance`.
+ *
+ * The `:*` comparison can be used to test whether a key has been defined. For example, to
+ * find all objects with `owner` label use: ``` labels.owner:* ```
+ *
+ * You can also filter nested fields. For example, you could specify
+ * `scheduling.automaticRestart = false` to include instances only if they are not scheduled
+ * for automatic restarts. You can use filtering on nested fields to filter based onresource
+ * labels.
+ *
+ * To filter on multiple expressions, provide each separate expression within parentheses. For
+ * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
+ * default, each expression is an `AND` expression. However, you can include `AND` and `OR`
+ * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
+ * "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
+ *
+ * If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator
+ * against a single un-parenthesized expression with or without quotes or against multiple
+ * parenthesized expressions. Examples:
+ *
+ * `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq
+ * "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")`
+ *
+ * The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
+ * The literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not end with name "instance", you would use
+ * `name ne .*instance`.
+ *
+ * You cannot combine constraints on multiple fields using regular expressions.
+ */
+ public List setFilter(java.lang.String filter) {
+ this.filter = filter;
+ return this;
+ }
+
+ /**
+ * The maximum number of results per page that should be returned. If the number of available
+ * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be
+ * used to get the next page of results in subsequent list requests. Acceptable values are `0`
+ * to `500`, inclusive. (Default: `500`)
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Long maxResults;
+
+ /** The maximum number of results per page that should be returned. If the number of available results
+ is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the
+ next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive.
+ (Default: `500`) [default: 500] [minimum: 0]
+ */
+ public java.lang.Long getMaxResults() {
+ return maxResults;
+ }
+
+ /**
+ * The maximum number of results per page that should be returned. If the number of available
+ * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be
+ * used to get the next page of results in subsequent list requests. Acceptable values are `0`
+ * to `500`, inclusive. (Default: `500`)
+ */
+ public List setMaxResults(java.lang.Long maxResults) {
+ this.maxResults = maxResults;
+ return this;
+ }
+
+ /**
+ * Sorts list results by a certain order. By default, results are returned in alphanumerical
+ * order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp using
+ * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
+ * field in reverse chronological order (newest result first). Use this to sort resources like
+ * operations so that the newest operation is returned first.
+ *
+ * Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String orderBy;
+
+ /** Sorts list results by a certain order. By default, results are returned in alphanumerical order
+ based on the resource name.
+
+ You can also sort results in descending order based on the creation timestamp using
+ `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in
+ reverse chronological order (newest result first). Use this to sort resources like operations so
+ that the newest operation is returned first.
+
+ Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ */
+ public java.lang.String getOrderBy() {
+ return orderBy;
+ }
+
+ /**
+ * Sorts list results by a certain order. By default, results are returned in alphanumerical
+ * order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp using
+ * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
+ * field in reverse chronological order (newest result first). Use this to sort resources like
+ * operations so that the newest operation is returned first.
+ *
+ * Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ */
+ public List setOrderBy(java.lang.String orderBy) {
+ this.orderBy = orderBy;
+ return this;
+ }
+
+ /**
+ * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a
+ * previous list request to get the next page of results.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String pageToken;
+
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list
+ request to get the next page of results.
+ */
+ public java.lang.String getPageToken() {
+ return pageToken;
+ }
+
+ /**
+ * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a
+ * previous list request to get the next page of results.
+ */
+ public List setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
+ return this;
+ }
+
+ @Override
+ public List set(String parameterName, Object value) {
+ return (List) super.set(parameterName, value);
+ }
+ }
+
+ }
+
+ /**
+ * An accessor for creating requests from the FolderRollouts collection.
+ *
+ * The typical use is:
+ *
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.FolderRollouts.List request = compute.folderRollouts().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public FolderRollouts folderRollouts() {
+ return new FolderRollouts();
+ }
+
+ /**
+ * The "folderRollouts" collection of methods.
+ */
+ public class FolderRollouts {
+
+ /**
+ * Advances a Rollout to the next wave, or completes it if no waves remain.
+ *
+ * Create a request for the method "folderRollouts.advance".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link Advance#execute()} method to invoke the remote operation.
+ *
+ * @param folder Required. Folder ID for this request.
+ * @param rollout Required. Name of the Rollout resource to advance.
+ * @return the request
+ */
+ public Advance advance(java.lang.String folder, java.lang.String rollout) throws java.io.IOException {
+ Advance result = new Advance(folder, rollout);
+ initialize(result);
+ return result;
+ }
+
+ public class Advance extends ComputeRequest {
+
+ private static final String REST_PATH = "{+folder}/global/rollouts/{rollout}/advance";
+
+ private static final String API_VERSION = "2026-10-01-preview";
+
+ private final java.util.regex.Pattern FOLDER_PATTERN =
+ java.util.regex.Pattern.compile("folders/[0-9]{1,19}");
+
+ private final java.util.regex.Pattern ROLLOUT_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+
+ /**
+ * Advances a Rollout to the next wave, or completes it if no waves remain.
+ *
+ * Create a request for the method "folderRollouts.advance".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link Advance#execute()} method to invoke the remote operation.
+ * {@link
+ * Advance#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param folder Required. Folder ID for this request.
+ * @param rollout Required. Name of the Rollout resource to advance.
+ * @since 1.13
+ */
+ protected Advance(java.lang.String folder, java.lang.String rollout) {
+ super(Compute.this, "POST", REST_PATH, null, com.google.api.services.compute.model.Operation.class);
+ this.folder = com.google.api.client.util.Preconditions.checkNotNull(folder, "Required parameter folder must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{1,19}");
+ }
+ this.rollout = com.google.api.client.util.Preconditions.checkNotNull(rollout, "Required parameter rollout must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PATTERN.matcher(rollout).matches(),
+ "Parameter rollout must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ // Does not override the API_VERSION if already configured
+ com.google.api.client.http.HttpHeaders headers = getRequestHeaders();
+ if (headers.get(API_VERSION_HEADER) == null) {
+ headers.set(API_VERSION_HEADER, API_VERSION);
+ }
+ }
+
+ @Override
+ public Advance set$Xgafv(java.lang.String $Xgafv) {
+ return (Advance) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public Advance setAccessToken(java.lang.String accessToken) {
+ return (Advance) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public Advance setAlt(java.lang.String alt) {
+ return (Advance) super.setAlt(alt);
+ }
+
+ @Override
+ public Advance setCallback(java.lang.String callback) {
+ return (Advance) super.setCallback(callback);
+ }
+
+ @Override
+ public Advance setFields(java.lang.String fields) {
+ return (Advance) super.setFields(fields);
+ }
+
+ @Override
+ public Advance setKey(java.lang.String key) {
+ return (Advance) super.setKey(key);
+ }
+
+ @Override
+ public Advance setOauthToken(java.lang.String oauthToken) {
+ return (Advance) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public Advance setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Advance) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public Advance setQuotaUser(java.lang.String quotaUser) {
+ return (Advance) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Advance setUploadType(java.lang.String uploadType) {
+ return (Advance) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Advance setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Advance) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public Advance setUserIp(java.lang.String userIp) {
+ return (Advance) super.setUserIp(userIp);
+ }
+
+ /** Required. Folder ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String folder;
+
+ /** Required. Folder ID for this request.
+ */
+ public java.lang.String getFolder() {
+ return folder;
+ }
+
+ /** Required. Folder ID for this request. */
+ public Advance setFolder(java.lang.String folder) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{1,19}");
+ }
+ this.folder = folder;
+ return this;
+ }
+
+ /** Required. Name of the Rollout resource to advance. */
+ @com.google.api.client.util.Key
+ private java.lang.String rollout;
+
+ /** Required. Name of the Rollout resource to advance.
+ */
+ public java.lang.String getRollout() {
+ return rollout;
+ }
+
+ /** Required. Name of the Rollout resource to advance. */
+ public Advance setRollout(java.lang.String rollout) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PATTERN.matcher(rollout).matches(),
+ "Parameter rollout must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ this.rollout = rollout;
+ return this;
+ }
+
+ /** Required. Wave number of the current wave. */
+ @com.google.api.client.util.Key
+ private java.lang.Long currentWaveNumber;
+
+ /** Required. Wave number of the current wave.
+ */
+ public java.lang.Long getCurrentWaveNumber() {
+ return currentWaveNumber;
+ }
+
+ /** Required. Wave number of the current wave. */
+ public Advance setCurrentWaveNumber(java.lang.Long currentWaveNumber) {
+ this.currentWaveNumber = currentWaveNumber;
+ 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.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ @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.
+
+ For example, consider a situation where you make an initial request and the request times out. If
+ you make the request again with the same request ID, the server can check if original operation
+ with the same request ID was received, and if so, will ignore the second request. This prevents
+ clients from accidentally creating duplicate commitments.
+
+ The request ID must be a valid UUID with the exception that zero UUID is not supported
+ (00000000-0000-0000-0000-000000000000).
+ */
+ 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.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ public Advance setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
+ @Override
+ public Advance set(String parameterName, Object value) {
+ return (Advance) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Cancels a Rollout.
+ *
+ * Create a request for the method "folderRollouts.cancel".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link Cancel#execute()} method to invoke the remote operation.
+ *
+ * @param folder Required. Folder ID for this request.
+ * @param rollout Name of the Rollout resource to cancel.
+ * @return the request
+ */
+ public Cancel cancel(java.lang.String folder, java.lang.String rollout) throws java.io.IOException {
+ Cancel result = new Cancel(folder, rollout);
+ initialize(result);
+ return result;
+ }
+
+ public class Cancel extends ComputeRequest {
+
+ private static final String REST_PATH = "{+folder}/global/rollouts/{rollout}";
+
+ private static final String API_VERSION = "2026-10-01-preview";
+
+ private final java.util.regex.Pattern FOLDER_PATTERN =
+ java.util.regex.Pattern.compile("folders/[0-9]{1,19}");
+
+ private final java.util.regex.Pattern ROLLOUT_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+
+ /**
+ * Cancels a Rollout.
+ *
+ * Create a request for the method "folderRollouts.cancel".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link Cancel#execute()} method to invoke the remote operation. {@link
+ * Cancel#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param folder Required. Folder ID for this request.
+ * @param rollout Name of the Rollout resource to cancel.
+ * @since 1.13
+ */
+ protected Cancel(java.lang.String folder, java.lang.String rollout) {
+ super(Compute.this, "PATCH", REST_PATH, null, com.google.api.services.compute.model.Operation.class);
+ this.folder = com.google.api.client.util.Preconditions.checkNotNull(folder, "Required parameter folder must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{1,19}");
+ }
+ this.rollout = com.google.api.client.util.Preconditions.checkNotNull(rollout, "Required parameter rollout must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PATTERN.matcher(rollout).matches(),
+ "Parameter rollout must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ // Does not override the API_VERSION if already configured
+ com.google.api.client.http.HttpHeaders headers = getRequestHeaders();
+ if (headers.get(API_VERSION_HEADER) == null) {
+ headers.set(API_VERSION_HEADER, API_VERSION);
+ }
+ }
+
+ @Override
+ public Cancel set$Xgafv(java.lang.String $Xgafv) {
+ return (Cancel) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public Cancel setAccessToken(java.lang.String accessToken) {
+ return (Cancel) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public Cancel setAlt(java.lang.String alt) {
+ return (Cancel) super.setAlt(alt);
+ }
+
+ @Override
+ public Cancel setCallback(java.lang.String callback) {
+ return (Cancel) super.setCallback(callback);
+ }
+
+ @Override
+ public Cancel setFields(java.lang.String fields) {
+ return (Cancel) super.setFields(fields);
+ }
+
+ @Override
+ public Cancel setKey(java.lang.String key) {
+ return (Cancel) super.setKey(key);
+ }
+
+ @Override
+ public Cancel setOauthToken(java.lang.String oauthToken) {
+ return (Cancel) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public Cancel setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Cancel) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public Cancel setQuotaUser(java.lang.String quotaUser) {
+ return (Cancel) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Cancel setUploadType(java.lang.String uploadType) {
+ return (Cancel) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Cancel setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Cancel) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public Cancel setUserIp(java.lang.String userIp) {
+ return (Cancel) super.setUserIp(userIp);
+ }
+
+ /** Required. Folder ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String folder;
+
+ /** Required. Folder ID for this request.
+ */
+ public java.lang.String getFolder() {
+ return folder;
+ }
+
+ /** Required. Folder ID for this request. */
+ public Cancel setFolder(java.lang.String folder) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{1,19}");
+ }
+ this.folder = folder;
+ return this;
+ }
+
+ /** Name of the Rollout resource to cancel. */
+ @com.google.api.client.util.Key
+ private java.lang.String rollout;
+
+ /** Name of the Rollout resource to cancel.
+ */
+ public java.lang.String getRollout() {
+ return rollout;
+ }
+
+ /** Name of the Rollout resource to cancel. */
+ public Cancel setRollout(java.lang.String rollout) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PATTERN.matcher(rollout).matches(),
+ "Parameter rollout must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ this.rollout = rollout;
+ 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.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ @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.
+
+ For example, consider a situation where you make an initial request and the request times out. If
+ you make the request again with the same request ID, the server can check if original operation
+ with the same request ID was received, and if so, will ignore the second request. This prevents
+ clients from accidentally creating duplicate commitments.
+
+ The request ID must be a valid UUID with the exception that zero UUID is not supported
+ (00000000-0000-0000-0000-000000000000).
+ */
+ 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.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ public Cancel setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
+ /**
+ * Optional. If true, then the ongoing rollout must be rolled back. Else, just cancel the
+ * rollout without taking any further actions. Note that products must support at least one of
+ * these options, however, it does not need to support both.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean rollback;
+
+ /** Optional. If true, then the ongoing rollout must be rolled back. Else, just cancel the rollout
+ without taking any further actions. Note that products must support at least one of these options,
+ however, it does not need to support both.
+ */
+ public java.lang.Boolean getRollback() {
+ return rollback;
+ }
+
+ /**
+ * Optional. If true, then the ongoing rollout must be rolled back. Else, just cancel the
+ * rollout without taking any further actions. Note that products must support at least one of
+ * these options, however, it does not need to support both.
+ */
+ public Cancel setRollback(java.lang.Boolean rollback) {
+ this.rollback = rollback;
+ return this;
+ }
+
+ @Override
+ public Cancel set(String parameterName, Object value) {
+ return (Cancel) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Deletes a Rollout.
+ *
+ * Create a request for the method "folderRollouts.delete".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
+ *
+ * @param folder Required. Folder ID for this request.
+ * @param rollout Name of the Rollout resource to delete.
+ * @return the request
+ */
+ public Delete delete(java.lang.String folder, java.lang.String rollout) throws java.io.IOException {
+ Delete result = new Delete(folder, rollout);
+ initialize(result);
+ return result;
+ }
+
+ public class Delete extends ComputeRequest {
+
+ private static final String REST_PATH = "{+folder}/global/rollouts/{rollout}";
+
+ private static final String API_VERSION = "2026-10-01-preview";
+
+ private final java.util.regex.Pattern FOLDER_PATTERN =
+ java.util.regex.Pattern.compile("folders/[0-9]{1,19}");
+
+ private final java.util.regex.Pattern ROLLOUT_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+
+ /**
+ * Deletes a Rollout.
+ *
+ * Create a request for the method "folderRollouts.delete".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link Delete#execute()} method to invoke the remote operation. {@link
+ * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param folder Required. Folder ID for this request.
+ * @param rollout Name of the Rollout resource to delete.
+ * @since 1.13
+ */
+ protected Delete(java.lang.String folder, java.lang.String rollout) {
+ super(Compute.this, "DELETE", REST_PATH, null, com.google.api.services.compute.model.Operation.class);
+ this.folder = com.google.api.client.util.Preconditions.checkNotNull(folder, "Required parameter folder must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{1,19}");
+ }
+ this.rollout = com.google.api.client.util.Preconditions.checkNotNull(rollout, "Required parameter rollout must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PATTERN.matcher(rollout).matches(),
+ "Parameter rollout must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ // Does not override the API_VERSION if already configured
+ com.google.api.client.http.HttpHeaders headers = getRequestHeaders();
+ if (headers.get(API_VERSION_HEADER) == null) {
+ headers.set(API_VERSION_HEADER, API_VERSION);
+ }
+ }
+
+ @Override
+ public Delete set$Xgafv(java.lang.String $Xgafv) {
+ return (Delete) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public Delete setAccessToken(java.lang.String accessToken) {
+ return (Delete) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public Delete setAlt(java.lang.String alt) {
+ return (Delete) super.setAlt(alt);
+ }
+
+ @Override
+ public Delete setCallback(java.lang.String callback) {
+ return (Delete) super.setCallback(callback);
+ }
+
+ @Override
+ public Delete setFields(java.lang.String fields) {
+ return (Delete) super.setFields(fields);
+ }
+
+ @Override
+ public Delete setKey(java.lang.String key) {
+ return (Delete) super.setKey(key);
+ }
+
+ @Override
+ public Delete setOauthToken(java.lang.String oauthToken) {
+ return (Delete) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Delete) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public Delete setQuotaUser(java.lang.String quotaUser) {
+ return (Delete) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Delete setUploadType(java.lang.String uploadType) {
+ return (Delete) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Delete setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Delete) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public Delete setUserIp(java.lang.String userIp) {
+ return (Delete) super.setUserIp(userIp);
+ }
+
+ /** Required. Folder ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String folder;
+
+ /** Required. Folder ID for this request.
+ */
+ public java.lang.String getFolder() {
+ return folder;
+ }
+
+ /** Required. Folder ID for this request. */
+ public Delete setFolder(java.lang.String folder) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{1,19}");
+ }
+ this.folder = folder;
+ return this;
+ }
+
+ /** Name of the Rollout resource to delete. */
+ @com.google.api.client.util.Key
+ private java.lang.String rollout;
+
+ /** Name of the Rollout resource to delete.
+ */
+ public java.lang.String getRollout() {
+ return rollout;
+ }
+
+ /** Name of the Rollout resource to delete. */
+ public Delete setRollout(java.lang.String rollout) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PATTERN.matcher(rollout).matches(),
+ "Parameter rollout must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ this.rollout = rollout;
+ 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.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ @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.
+
+ For example, consider a situation where you make an initial request and the request times out. If
+ you make the request again with the same request ID, the server can check if original operation
+ with the same request ID was received, and if so, will ignore the second request. This prevents
+ clients from accidentally creating duplicate commitments.
+
+ The request ID must be a valid UUID with the exception that zero UUID is not supported
+ (00000000-0000-0000-0000-000000000000).
+ */
+ 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.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ public Delete setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
+ @Override
+ public Delete set(String parameterName, Object value) {
+ return (Delete) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Gets details of a single folder-scoped Rollout.
+ *
+ * Create a request for the method "folderRollouts.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 folder Folder ID for this request.
+ * @param rollout Name of the persistent rollout to return.
+ * @return the request
+ */
+ public Get get(java.lang.String folder, java.lang.String rollout) throws java.io.IOException {
+ Get result = new Get(folder, rollout);
+ initialize(result);
+ return result;
+ }
+
+ public class Get extends ComputeRequest {
+
+ private static final String REST_PATH = "{+folder}/global/rollouts/{rollout}";
+
+ private static final String API_VERSION = "2026-10-01-preview";
+
+ private final java.util.regex.Pattern FOLDER_PATTERN =
+ java.util.regex.Pattern.compile("folders/[0-9]{0,20}");
+
+ private final java.util.regex.Pattern ROLLOUT_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+
+ /**
+ * Gets details of a single folder-scoped Rollout.
+ *
+ * Create a request for the method "folderRollouts.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 folder Folder ID for this request.
+ * @param rollout Name of the persistent rollout to return.
+ * @since 1.13
+ */
+ protected Get(java.lang.String folder, java.lang.String rollout) {
+ super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.Rollout.class);
+ this.folder = com.google.api.client.util.Preconditions.checkNotNull(folder, "Required parameter folder must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{0,20}");
+ }
+ this.rollout = com.google.api.client.util.Preconditions.checkNotNull(rollout, "Required parameter rollout must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PATTERN.matcher(rollout).matches(),
+ "Parameter rollout must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ // Does not override the API_VERSION if already configured
+ com.google.api.client.http.HttpHeaders headers = getRequestHeaders();
+ if (headers.get(API_VERSION_HEADER) == null) {
+ headers.set(API_VERSION_HEADER, API_VERSION);
+ }
+ }
+
+ @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);
+ }
+
+ /** Folder ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String folder;
+
+ /** Folder ID for this request.
+ */
+ public java.lang.String getFolder() {
+ return folder;
+ }
+
+ /** Folder ID for this request. */
+ public Get setFolder(java.lang.String folder) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{0,20}");
+ }
+ this.folder = folder;
+ return this;
+ }
+
+ /** Name of the persistent rollout to return. */
+ @com.google.api.client.util.Key
+ private java.lang.String rollout;
+
+ /** Name of the persistent rollout to return.
+ */
+ public java.lang.String getRollout() {
+ return rollout;
+ }
+
+ /** Name of the persistent rollout to return. */
+ public Get setRollout(java.lang.String rollout) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PATTERN.matcher(rollout).matches(),
+ "Parameter rollout must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ this.rollout = rollout;
+ return this;
+ }
+
+ @Override
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Lists Rollouts in a given folder and location.
+ *
+ * Create a request for the method "folderRollouts.list".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link List#execute()} method to invoke the remote operation.
+ *
+ * @param folder Required. Folder ID for this request.
+ * @return the request
+ */
+ public List list(java.lang.String folder) throws java.io.IOException {
+ List result = new List(folder);
+ initialize(result);
+ return result;
+ }
+
+ public class List extends ComputeRequest {
+
+ private static final String REST_PATH = "{+folder}/global/rollouts";
+
+ private static final String API_VERSION = "2026-10-01-preview";
+
+ private final java.util.regex.Pattern FOLDER_PATTERN =
+ java.util.regex.Pattern.compile("folders/[0-9]{1,19}");
+
+ /**
+ * Lists Rollouts in a given folder and location.
+ *
+ * Create a request for the method "folderRollouts.list".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link List#execute()} method to invoke the remote operation. {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param folder Required. Folder ID for this request.
+ * @since 1.13
+ */
+ protected List(java.lang.String folder) {
+ super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.FolderRolloutsListResponse.class);
+ this.folder = com.google.api.client.util.Preconditions.checkNotNull(folder, "Required parameter folder must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{1,19}");
+ }
+ // Does not override the API_VERSION if already configured
+ com.google.api.client.http.HttpHeaders headers = getRequestHeaders();
+ if (headers.get(API_VERSION_HEADER) == null) {
+ headers.set(API_VERSION_HEADER, API_VERSION);
+ }
+ }
+
+ @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 List set$Xgafv(java.lang.String $Xgafv) {
+ return (List) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public List setAccessToken(java.lang.String accessToken) {
+ return (List) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public List setAlt(java.lang.String alt) {
+ return (List) super.setAlt(alt);
+ }
+
+ @Override
+ public List setCallback(java.lang.String callback) {
+ return (List) super.setCallback(callback);
+ }
+
+ @Override
+ public List setFields(java.lang.String fields) {
+ return (List) super.setFields(fields);
+ }
+
+ @Override
+ public List setKey(java.lang.String key) {
+ return (List) super.setKey(key);
+ }
+
+ @Override
+ public List setOauthToken(java.lang.String oauthToken) {
+ return (List) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public List setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (List) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public List setQuotaUser(java.lang.String quotaUser) {
+ return (List) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public List setUploadType(java.lang.String uploadType) {
+ return (List) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public List setUploadProtocol(java.lang.String uploadProtocol) {
+ return (List) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public List setUserIp(java.lang.String userIp) {
+ return (List) super.setUserIp(userIp);
+ }
+
+ /** Required. Folder ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String folder;
+
+ /** Required. Folder ID for this request.
+ */
+ public java.lang.String getFolder() {
+ return folder;
+ }
+
+ /** Required. Folder ID for this request. */
+ public List setFolder(java.lang.String folder) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{1,19}");
+ }
+ this.folder = folder;
+ return this;
+ }
+
+ /**
+ * A filter expression that filters resources listed in the response. Most Compute resources
+ * support two types of filter expressions: expressions that support regular expressions and
+ * expressions that follow API improvement proposal AIP-160. These two types of filter
+ * expressions cannot be mixed in one request.
+ *
+ * If you want to use AIP-160, your expression must specify the field name, an operator, and
+ * the value that you want to use for filtering. The value must be a string, a number, or a
+ * boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
+ *
+ * For example, if you are filtering Compute Engine instances, you can exclude instances named
+ * `example-instance` by specifying `name != example-instance`.
+ *
+ * The `:*` comparison can be used to test whether a key has been defined. For example, to
+ * find all objects with `owner` label use: ``` labels.owner:* ```
+ *
+ * You can also filter nested fields. For example, you could specify
+ * `scheduling.automaticRestart = false` to include instances only if they are not scheduled
+ * for automatic restarts. You can use filtering on nested fields to filter based onresource
+ * labels.
+ *
+ * To filter on multiple expressions, provide each separate expression within parentheses. For
+ * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
+ * default, each expression is an `AND` expression. However, you can include `AND` and `OR`
+ * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
+ * "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
+ *
+ * If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator
+ * against a single un-parenthesized expression with or without quotes or against multiple
+ * parenthesized expressions. Examples:
+ *
+ * `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq
+ * "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")`
+ *
+ * The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
+ * The literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not end with name "instance", you would use
+ * `name ne .*instance`.
+ *
+ * You cannot combine constraints on multiple fields using regular expressions.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String filter;
+
+ /** A filter expression that filters resources listed in the response. Most Compute resources support
+ two types of filter expressions: expressions that support regular expressions and expressions that
+ follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in
+ one request.
+
+ If you want to use AIP-160, your expression must specify the field name, an operator, and the value
+ that you want to use for filtering. The value must be a string, a number, or a boolean. The
+ operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
+
+ For example, if you are filtering Compute Engine instances, you can exclude instances named
+ `example-instance` by specifying `name != example-instance`.
+
+ The `:*` comparison can be used to test whether a key has been defined. For example, to find all
+ objects with `owner` label use: ``` labels.owner:* ```
+
+ You can also filter nested fields. For example, you could specify `scheduling.automaticRestart =
+ false` to include instances only if they are not scheduled for automatic restarts. You can use
+ filtering on nested fields to filter based onresource labels.
+
+ To filter on multiple expressions, provide each separate expression within parentheses. For
+ example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default,
+ each expression is an `AND` expression. However, you can include `AND` and `OR` expressions
+ explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell")
+ AND (scheduling.automaticRestart = true) ```
+
+ If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against
+ a single un-parenthesized expression with or without quotes or against multiple parenthesized
+ expressions. Examples:
+
+ `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted
+ literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")`
+
+ The literal value is interpreted as a regular expression using GoogleRE2 library syntax. The
+ literal value must match the entire field.
+
+ For example, to filter for instances that do not end with name "instance", you would use `name ne
+ .*instance`.
+
+ You cannot combine constraints on multiple fields using regular expressions.
+ */
+ public java.lang.String getFilter() {
+ return filter;
+ }
+
+ /**
+ * A filter expression that filters resources listed in the response. Most Compute resources
+ * support two types of filter expressions: expressions that support regular expressions and
+ * expressions that follow API improvement proposal AIP-160. These two types of filter
+ * expressions cannot be mixed in one request.
+ *
+ * If you want to use AIP-160, your expression must specify the field name, an operator, and
+ * the value that you want to use for filtering. The value must be a string, a number, or a
+ * boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
+ *
+ * For example, if you are filtering Compute Engine instances, you can exclude instances named
+ * `example-instance` by specifying `name != example-instance`.
+ *
+ * The `:*` comparison can be used to test whether a key has been defined. For example, to
+ * find all objects with `owner` label use: ``` labels.owner:* ```
+ *
+ * You can also filter nested fields. For example, you could specify
+ * `scheduling.automaticRestart = false` to include instances only if they are not scheduled
+ * for automatic restarts. You can use filtering on nested fields to filter based onresource
+ * labels.
+ *
+ * To filter on multiple expressions, provide each separate expression within parentheses. For
+ * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
+ * default, each expression is an `AND` expression. However, you can include `AND` and `OR`
+ * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
+ * "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
+ *
+ * If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator
+ * against a single un-parenthesized expression with or without quotes or against multiple
+ * parenthesized expressions. Examples:
+ *
+ * `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq
+ * "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")`
+ *
+ * The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
+ * The literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not end with name "instance", you would use
+ * `name ne .*instance`.
+ *
+ * You cannot combine constraints on multiple fields using regular expressions.
+ */
+ public List setFilter(java.lang.String filter) {
+ this.filter = filter;
+ return this;
+ }
+
+ /**
+ * The maximum number of results per page that should be returned. If the number of available
+ * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be
+ * used to get the next page of results in subsequent list requests. Acceptable values are `0`
+ * to `500`, inclusive. (Default: `500`)
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Long maxResults;
+
+ /** The maximum number of results per page that should be returned. If the number of available results
+ is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the
+ next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive.
+ (Default: `500`) [default: 500] [minimum: 0]
+ */
+ public java.lang.Long getMaxResults() {
+ return maxResults;
+ }
+
+ /**
+ * The maximum number of results per page that should be returned. If the number of available
+ * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be
+ * used to get the next page of results in subsequent list requests. Acceptable values are `0`
+ * to `500`, inclusive. (Default: `500`)
+ */
+ public List setMaxResults(java.lang.Long maxResults) {
+ this.maxResults = maxResults;
+ return this;
+ }
+
+ /**
+ * Sorts list results by a certain order. By default, results are returned in alphanumerical
+ * order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp using
+ * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
+ * field in reverse chronological order (newest result first). Use this to sort resources like
+ * operations so that the newest operation is returned first.
+ *
+ * Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String orderBy;
+
+ /** Sorts list results by a certain order. By default, results are returned in alphanumerical order
+ based on the resource name.
+
+ You can also sort results in descending order based on the creation timestamp using
+ `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in
+ reverse chronological order (newest result first). Use this to sort resources like operations so
+ that the newest operation is returned first.
+
+ Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ */
+ public java.lang.String getOrderBy() {
+ return orderBy;
+ }
+
+ /**
+ * Sorts list results by a certain order. By default, results are returned in alphanumerical
+ * order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp using
+ * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
+ * field in reverse chronological order (newest result first). Use this to sort resources like
+ * operations so that the newest operation is returned first.
+ *
+ * Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ */
+ public List setOrderBy(java.lang.String orderBy) {
+ this.orderBy = orderBy;
+ return this;
+ }
+
+ /**
+ * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a
+ * previous list request to get the next page of results.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String pageToken;
+
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list
+ request to get the next page of results.
+ */
+ public java.lang.String getPageToken() {
+ return pageToken;
+ }
+
+ /**
+ * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a
+ * previous list request to get the next page of results.
+ */
+ public List setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
+ return this;
+ }
+
+ @Override
+ public List set(String parameterName, Object value) {
+ return (List) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Pauses a Rollout.
+ *
+ * Create a request for the method "folderRollouts.pause".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link Pause#execute()} method to invoke the remote operation.
+ *
+ * @param folder Required. Folder ID for this request.
+ * @param rollout Required. Name of the Rollout resource to pause.
+ * @return the request
+ */
+ public Pause pause(java.lang.String folder, java.lang.String rollout) throws java.io.IOException {
+ Pause result = new Pause(folder, rollout);
+ initialize(result);
+ return result;
+ }
+
+ public class Pause extends ComputeRequest {
+
+ private static final String REST_PATH = "{+folder}/global/rollouts/{rollout}/pause";
+
+ private static final String API_VERSION = "2026-10-01-preview";
+
+ private final java.util.regex.Pattern FOLDER_PATTERN =
+ java.util.regex.Pattern.compile("folders/[0-9]{1,19}");
+
+ private final java.util.regex.Pattern ROLLOUT_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+
+ /**
+ * Pauses a Rollout.
+ *
+ * Create a request for the method "folderRollouts.pause".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link Pause#execute()} method to invoke the remote operation. {@link
+ * Pause#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param folder Required. Folder ID for this request.
+ * @param rollout Required. Name of the Rollout resource to pause.
+ * @since 1.13
+ */
+ protected Pause(java.lang.String folder, java.lang.String rollout) {
+ super(Compute.this, "POST", REST_PATH, null, com.google.api.services.compute.model.Operation.class);
+ this.folder = com.google.api.client.util.Preconditions.checkNotNull(folder, "Required parameter folder must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{1,19}");
+ }
+ this.rollout = com.google.api.client.util.Preconditions.checkNotNull(rollout, "Required parameter rollout must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PATTERN.matcher(rollout).matches(),
+ "Parameter rollout must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ // Does not override the API_VERSION if already configured
+ com.google.api.client.http.HttpHeaders headers = getRequestHeaders();
+ if (headers.get(API_VERSION_HEADER) == null) {
+ headers.set(API_VERSION_HEADER, API_VERSION);
+ }
+ }
+
+ @Override
+ public Pause set$Xgafv(java.lang.String $Xgafv) {
+ return (Pause) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public Pause setAccessToken(java.lang.String accessToken) {
+ return (Pause) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public Pause setAlt(java.lang.String alt) {
+ return (Pause) super.setAlt(alt);
+ }
+
+ @Override
+ public Pause setCallback(java.lang.String callback) {
+ return (Pause) super.setCallback(callback);
+ }
+
+ @Override
+ public Pause setFields(java.lang.String fields) {
+ return (Pause) super.setFields(fields);
+ }
+
+ @Override
+ public Pause setKey(java.lang.String key) {
+ return (Pause) super.setKey(key);
+ }
+
+ @Override
+ public Pause setOauthToken(java.lang.String oauthToken) {
+ return (Pause) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public Pause setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Pause) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public Pause setQuotaUser(java.lang.String quotaUser) {
+ return (Pause) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Pause setUploadType(java.lang.String uploadType) {
+ return (Pause) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Pause setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Pause) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public Pause setUserIp(java.lang.String userIp) {
+ return (Pause) super.setUserIp(userIp);
+ }
+
+ /** Required. Folder ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String folder;
+
+ /** Required. Folder ID for this request.
+ */
+ public java.lang.String getFolder() {
+ return folder;
+ }
+
+ /** Required. Folder ID for this request. */
+ public Pause setFolder(java.lang.String folder) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{1,19}");
+ }
+ this.folder = folder;
+ return this;
+ }
+
+ /** Required. Name of the Rollout resource to pause. */
+ @com.google.api.client.util.Key
+ private java.lang.String rollout;
+
+ /** Required. Name of the Rollout resource to pause.
+ */
+ public java.lang.String getRollout() {
+ return rollout;
+ }
+
+ /** Required. Name of the Rollout resource to pause. */
+ public Pause setRollout(java.lang.String rollout) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PATTERN.matcher(rollout).matches(),
+ "Parameter rollout must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ this.rollout = rollout;
+ return this;
+ }
+
+ /**
+ * The etag of the Rollout. If this is provided, the request will only succeed if the etag
+ * matches the current etag of the Rollout.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String etag;
+
+ /** The etag of the Rollout. If this is provided, the request will only succeed if the etag matches the
+ current etag of the Rollout.
+ */
+ public java.lang.String getEtag() {
+ return etag;
+ }
+
+ /**
+ * The etag of the Rollout. If this is provided, the request will only succeed if the etag
+ * matches the current etag of the Rollout.
+ */
+ public Pause setEtag(java.lang.String etag) {
+ this.etag = etag;
+ 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.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ @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.
+
+ For example, consider a situation where you make an initial request and the request times out. If
+ you make the request again with the same request ID, the server can check if original operation
+ with the same request ID was received, and if so, will ignore the second request. This prevents
+ clients from accidentally creating duplicate commitments.
+
+ The request ID must be a valid UUID with the exception that zero UUID is not supported
+ (00000000-0000-0000-0000-000000000000).
+ */
+ 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.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ public Pause setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
+ @Override
+ public Pause set(String parameterName, Object value) {
+ return (Pause) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Resumes a Rollout.
+ *
+ * Create a request for the method "folderRollouts.resume".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link Resume#execute()} method to invoke the remote operation.
+ *
+ * @param folder Required. Folder ID for this request.
+ * @param rollout Required. Name of the Rollout resource to resume.
+ * @return the request
+ */
+ public Resume resume(java.lang.String folder, java.lang.String rollout) throws java.io.IOException {
+ Resume result = new Resume(folder, rollout);
+ initialize(result);
+ return result;
+ }
+
+ public class Resume extends ComputeRequest {
+
+ private static final String REST_PATH = "{+folder}/global/rollouts/{rollout}/resume";
+
+ private static final String API_VERSION = "2026-10-01-preview";
+
+ private final java.util.regex.Pattern FOLDER_PATTERN =
+ java.util.regex.Pattern.compile("folders/[0-9]{1,19}");
+
+ private final java.util.regex.Pattern ROLLOUT_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+
+ /**
+ * Resumes a Rollout.
+ *
+ * Create a request for the method "folderRollouts.resume".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link Resume#execute()} method to invoke the remote operation. {@link
+ * Resume#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param folder Required. Folder ID for this request.
+ * @param rollout Required. Name of the Rollout resource to resume.
+ * @since 1.13
+ */
+ protected Resume(java.lang.String folder, java.lang.String rollout) {
+ super(Compute.this, "POST", REST_PATH, null, com.google.api.services.compute.model.Operation.class);
+ this.folder = com.google.api.client.util.Preconditions.checkNotNull(folder, "Required parameter folder must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{1,19}");
+ }
+ this.rollout = com.google.api.client.util.Preconditions.checkNotNull(rollout, "Required parameter rollout must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PATTERN.matcher(rollout).matches(),
+ "Parameter rollout must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ // Does not override the API_VERSION if already configured
+ com.google.api.client.http.HttpHeaders headers = getRequestHeaders();
+ if (headers.get(API_VERSION_HEADER) == null) {
+ headers.set(API_VERSION_HEADER, API_VERSION);
+ }
+ }
+
+ @Override
+ public Resume set$Xgafv(java.lang.String $Xgafv) {
+ return (Resume) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public Resume setAccessToken(java.lang.String accessToken) {
+ return (Resume) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public Resume setAlt(java.lang.String alt) {
+ return (Resume) super.setAlt(alt);
+ }
+
+ @Override
+ public Resume setCallback(java.lang.String callback) {
+ return (Resume) super.setCallback(callback);
+ }
+
+ @Override
+ public Resume setFields(java.lang.String fields) {
+ return (Resume) super.setFields(fields);
+ }
+
+ @Override
+ public Resume setKey(java.lang.String key) {
+ return (Resume) super.setKey(key);
+ }
+
+ @Override
+ public Resume setOauthToken(java.lang.String oauthToken) {
+ return (Resume) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public Resume setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Resume) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public Resume setQuotaUser(java.lang.String quotaUser) {
+ return (Resume) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Resume setUploadType(java.lang.String uploadType) {
+ return (Resume) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Resume setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Resume) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public Resume setUserIp(java.lang.String userIp) {
+ return (Resume) super.setUserIp(userIp);
+ }
+
+ /** Required. Folder ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String folder;
+
+ /** Required. Folder ID for this request.
+ */
+ public java.lang.String getFolder() {
+ return folder;
+ }
+
+ /** Required. Folder ID for this request. */
+ public Resume setFolder(java.lang.String folder) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{1,19}");
+ }
+ this.folder = folder;
+ return this;
+ }
+
+ /** Required. Name of the Rollout resource to resume. */
+ @com.google.api.client.util.Key
+ private java.lang.String rollout;
+
+ /** Required. Name of the Rollout resource to resume.
+ */
+ public java.lang.String getRollout() {
+ return rollout;
+ }
+
+ /** Required. Name of the Rollout resource to resume. */
+ public Resume setRollout(java.lang.String rollout) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PATTERN.matcher(rollout).matches(),
+ "Parameter rollout must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ this.rollout = rollout;
+ return this;
+ }
+
+ /**
+ * The etag of the Rollout. If this is provided, the request will only succeed if the etag
+ * matches the current etag of the Rollout.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String etag;
+
+ /** The etag of the Rollout. If this is provided, the request will only succeed if the etag matches the
+ current etag of the Rollout.
+ */
+ public java.lang.String getEtag() {
+ return etag;
+ }
+
+ /**
+ * The etag of the Rollout. If this is provided, the request will only succeed if the etag
+ * matches the current etag of the Rollout.
+ */
+ public Resume setEtag(java.lang.String etag) {
+ this.etag = etag;
+ 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.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ @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.
+
+ For example, consider a situation where you make an initial request and the request times out. If
+ you make the request again with the same request ID, the server can check if original operation
+ with the same request ID was received, and if so, will ignore the second request. This prevents
+ clients from accidentally creating duplicate commitments.
+
+ The request ID must be a valid UUID with the exception that zero UUID is not supported
+ (00000000-0000-0000-0000-000000000000).
+ */
+ 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.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ public Resume setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
+ @Override
+ public Resume set(String parameterName, Object value) {
+ return (Resume) super.set(parameterName, value);
+ }
+ }
+
+ }
+
+ /**
+ * An accessor for creating requests from the FolderZoneVmExtensionPolicies collection.
+ *
+ * The typical use is:
+ *
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.FolderZoneVmExtensionPolicies.List request = compute.folderZoneVmExtensionPolicies().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public FolderZoneVmExtensionPolicies folderZoneVmExtensionPolicies() {
+ return new FolderZoneVmExtensionPolicies();
+ }
+
+ /**
+ * The "folderZoneVmExtensionPolicies" collection of methods.
+ */
+ public class FolderZoneVmExtensionPolicies {
+
+ /**
+ * Deletes a specified zone VM extension policy within a folder.
+ *
+ * Create a request for the method "folderZoneVmExtensionPolicies.delete".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
+ *
+ * @param folder Folder ID for this request.
+ * @param zone Name of the zone for this request.
+ * @param vmExtensionPolicy Name of the zone VM extension policy to delete.
+ * @return the request
+ */
+ public Delete delete(java.lang.String folder, java.lang.String zone, java.lang.String vmExtensionPolicy) throws java.io.IOException {
+ Delete result = new Delete(folder, zone, vmExtensionPolicy);
+ initialize(result);
+ return result;
+ }
+
+ public class Delete extends ComputeRequest {
+
+ private static final String REST_PATH = "{+folder}/zones/{zone}/vmExtensionPolicies/{vmExtensionPolicy}";
+
+ private static final String API_VERSION = "2026-10-01-preview";
+
+ private final java.util.regex.Pattern FOLDER_PATTERN =
+ java.util.regex.Pattern.compile("folders/[0-9]{0,20}");
+
+ private final java.util.regex.Pattern ZONE_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+
+ /**
+ * Deletes a specified zone VM extension policy within a folder.
+ *
+ * Create a request for the method "folderZoneVmExtensionPolicies.delete".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link Delete#execute()} method to invoke the remote operation. {@link
+ * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param folder Folder ID for this request.
+ * @param zone Name of the zone for this request.
+ * @param vmExtensionPolicy Name of the zone VM extension policy to delete.
+ * @since 1.13
+ */
+ protected Delete(java.lang.String folder, java.lang.String zone, java.lang.String vmExtensionPolicy) {
+ super(Compute.this, "DELETE", REST_PATH, null, com.google.api.services.compute.model.Operation.class);
+ this.folder = com.google.api.client.util.Preconditions.checkNotNull(folder, "Required parameter folder must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{0,20}");
+ }
+ this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
+ "Parameter zone must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ this.vmExtensionPolicy = com.google.api.client.util.Preconditions.checkNotNull(vmExtensionPolicy, "Required parameter vmExtensionPolicy must be specified.");
+ // Does not override the API_VERSION if already configured
+ com.google.api.client.http.HttpHeaders headers = getRequestHeaders();
+ if (headers.get(API_VERSION_HEADER) == null) {
+ headers.set(API_VERSION_HEADER, API_VERSION);
+ }
+ }
+
+ @Override
+ public Delete set$Xgafv(java.lang.String $Xgafv) {
+ return (Delete) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public Delete setAccessToken(java.lang.String accessToken) {
+ return (Delete) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public Delete setAlt(java.lang.String alt) {
+ return (Delete) super.setAlt(alt);
+ }
+
+ @Override
+ public Delete setCallback(java.lang.String callback) {
+ return (Delete) super.setCallback(callback);
+ }
+
+ @Override
+ public Delete setFields(java.lang.String fields) {
+ return (Delete) super.setFields(fields);
+ }
+
+ @Override
+ public Delete setKey(java.lang.String key) {
+ return (Delete) super.setKey(key);
+ }
+
+ @Override
+ public Delete setOauthToken(java.lang.String oauthToken) {
+ return (Delete) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Delete) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public Delete setQuotaUser(java.lang.String quotaUser) {
+ return (Delete) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Delete setUploadType(java.lang.String uploadType) {
+ return (Delete) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Delete setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Delete) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public Delete setUserIp(java.lang.String userIp) {
+ return (Delete) super.setUserIp(userIp);
+ }
+
+ /** Folder ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String folder;
+
+ /** Folder ID for this request.
+ */
+ public java.lang.String getFolder() {
+ return folder;
+ }
+
+ /** Folder ID for this request. */
+ public Delete setFolder(java.lang.String folder) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{0,20}");
+ }
+ this.folder = folder;
+ return this;
+ }
+
+ /** Name of the zone for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String zone;
+
+ /** Name of the zone for this request.
+ */
+ public java.lang.String getZone() {
+ return zone;
+ }
+
+ /** Name of the zone for this request. */
+ public Delete setZone(java.lang.String zone) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
+ "Parameter zone must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ this.zone = zone;
+ return this;
+ }
+
+ /** Name of the zone VM extension policy to delete. */
+ @com.google.api.client.util.Key
+ private java.lang.String vmExtensionPolicy;
+
+ /** Name of the zone VM extension policy to delete.
+ */
+ public java.lang.String getVmExtensionPolicy() {
+ return vmExtensionPolicy;
+ }
+
+ /** Name of the zone VM extension policy to delete. */
+ public Delete setVmExtensionPolicy(java.lang.String vmExtensionPolicy) {
+ this.vmExtensionPolicy = vmExtensionPolicy;
+ 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.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ @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.
+
+ For example, consider a situation where you make an initial request and the request times out. If
+ you make the request again with the same request ID, the server can check if original operation
+ with the same request ID was received, and if so, will ignore the second request. This prevents
+ clients from accidentally creating duplicate commitments.
+
+ The request ID must be a valid UUID with the exception that zero UUID is not supported
+ (00000000-0000-0000-0000-000000000000).
+ */
+ 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.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ public Delete setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
+ @Override
+ public Delete set(String parameterName, Object value) {
+ return (Delete) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Retrieves details of a specific zone VM extension policy within a folder.
+ *
+ * Create a request for the method "folderZoneVmExtensionPolicies.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 folder Folder ID for this request.
+ * @param zone Name of the zone for this request.
+ * @param vmExtensionPolicy Name of the VM extension policy resource to return.
+ * @return the request
+ */
+ public Get get(java.lang.String folder, java.lang.String zone, java.lang.String vmExtensionPolicy) throws java.io.IOException {
+ Get result = new Get(folder, zone, vmExtensionPolicy);
+ initialize(result);
+ return result;
+ }
+
+ public class Get extends ComputeRequest {
+
+ private static final String REST_PATH = "{+folder}/zones/{zone}/vmExtensionPolicies/{vmExtensionPolicy}";
+
+ private static final String API_VERSION = "2026-10-01-preview";
+
+ private final java.util.regex.Pattern FOLDER_PATTERN =
+ java.util.regex.Pattern.compile("folders/[0-9]{0,20}");
+
+ private final java.util.regex.Pattern ZONE_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+
+ private final java.util.regex.Pattern VM_EXTENSION_POLICY_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+
+ /**
+ * Retrieves details of a specific zone VM extension policy within a folder.
+ *
+ * Create a request for the method "folderZoneVmExtensionPolicies.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 folder Folder ID for this request.
+ * @param zone Name of the zone for this request.
+ * @param vmExtensionPolicy Name of the VM extension policy resource to return.
+ * @since 1.13
+ */
+ protected Get(java.lang.String folder, java.lang.String zone, java.lang.String vmExtensionPolicy) {
+ super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.VmExtensionPolicy.class);
+ this.folder = com.google.api.client.util.Preconditions.checkNotNull(folder, "Required parameter folder must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{0,20}");
+ }
+ this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
+ "Parameter zone must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ this.vmExtensionPolicy = com.google.api.client.util.Preconditions.checkNotNull(vmExtensionPolicy, "Required parameter vmExtensionPolicy must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(VM_EXTENSION_POLICY_PATTERN.matcher(vmExtensionPolicy).matches(),
+ "Parameter vmExtensionPolicy must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ // Does not override the API_VERSION if already configured
+ com.google.api.client.http.HttpHeaders headers = getRequestHeaders();
+ if (headers.get(API_VERSION_HEADER) == null) {
+ headers.set(API_VERSION_HEADER, API_VERSION);
+ }
+ }
+
+ @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);
+ }
+
+ /** Folder ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String folder;
+
+ /** Folder ID for this request.
+ */
+ public java.lang.String getFolder() {
+ return folder;
+ }
+
+ /** Folder ID for this request. */
+ public Get setFolder(java.lang.String folder) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{0,20}");
+ }
+ this.folder = folder;
+ return this;
+ }
+
+ /** Name of the zone for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String zone;
+
+ /** Name of the zone for this request.
+ */
+ public java.lang.String getZone() {
+ return zone;
+ }
+
+ /** Name of the zone for this request. */
+ public Get setZone(java.lang.String zone) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
+ "Parameter zone must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ this.zone = zone;
+ return this;
+ }
+
+ /** Name of the VM extension policy resource to return. */
+ @com.google.api.client.util.Key
+ private java.lang.String vmExtensionPolicy;
+
+ /** Name of the VM extension policy resource to return.
+ */
+ public java.lang.String getVmExtensionPolicy() {
+ return vmExtensionPolicy;
+ }
+
+ /** Name of the VM extension policy resource to return. */
+ public Get setVmExtensionPolicy(java.lang.String vmExtensionPolicy) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(VM_EXTENSION_POLICY_PATTERN.matcher(vmExtensionPolicy).matches(),
+ "Parameter vmExtensionPolicy must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ this.vmExtensionPolicy = vmExtensionPolicy;
+ return this;
+ }
+
+ @Override
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Retrieves details of a specific VM extension within a folder.
+ *
+ * Create a request for the method "folderZoneVmExtensionPolicies.getVmExtension".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link GetVmExtension#execute()} method to invoke the remote operation.
+ *
+ * @param folder Folder ID for this request.
+ * @param zone Name of the zone for this request.
+ * @param extensionName Required. Name of the VM extension for this request.
+ * @return the request
+ */
+ public GetVmExtension getVmExtension(java.lang.String folder, java.lang.String zone, java.lang.String extensionName) throws java.io.IOException {
+ GetVmExtension result = new GetVmExtension(folder, zone, extensionName);
+ initialize(result);
+ return result;
+ }
+
+ public class GetVmExtension extends ComputeRequest {
+
+ private static final String REST_PATH = "{+folder}/zones/{zone}/vmExtensions/{extensionName}";
+
+ private static final String API_VERSION = "2026-10-01-preview";
+
+ private final java.util.regex.Pattern FOLDER_PATTERN =
+ java.util.regex.Pattern.compile("folders/[0-9]{0,20}");
+
+ private final java.util.regex.Pattern ZONE_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+
+ private final java.util.regex.Pattern EXTENSION_NAME_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+
+ /**
+ * Retrieves details of a specific VM extension within a folder.
+ *
+ * Create a request for the method "folderZoneVmExtensionPolicies.getVmExtension".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link GetVmExtension#execute()} method to invoke the remote operation.
+ * {@link GetVmExtension#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
+ * ientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor.
+ *
+ * @param folder Folder ID for this request.
+ * @param zone Name of the zone for this request.
+ * @param extensionName Required. Name of the VM extension for this request.
+ * @since 1.13
+ */
+ protected GetVmExtension(java.lang.String folder, java.lang.String zone, java.lang.String extensionName) {
+ super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.VmExtension.class);
+ this.folder = com.google.api.client.util.Preconditions.checkNotNull(folder, "Required parameter folder must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{0,20}");
+ }
+ this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
+ "Parameter zone must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ this.extensionName = com.google.api.client.util.Preconditions.checkNotNull(extensionName, "Required parameter extensionName must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(EXTENSION_NAME_PATTERN.matcher(extensionName).matches(),
+ "Parameter extensionName must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ // Does not override the API_VERSION if already configured
+ com.google.api.client.http.HttpHeaders headers = getRequestHeaders();
+ if (headers.get(API_VERSION_HEADER) == null) {
+ headers.set(API_VERSION_HEADER, API_VERSION);
+ }
+ }
+
+ @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 GetVmExtension set$Xgafv(java.lang.String $Xgafv) {
+ return (GetVmExtension) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public GetVmExtension setAccessToken(java.lang.String accessToken) {
+ return (GetVmExtension) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public GetVmExtension setAlt(java.lang.String alt) {
+ return (GetVmExtension) super.setAlt(alt);
+ }
+
+ @Override
+ public GetVmExtension setCallback(java.lang.String callback) {
+ return (GetVmExtension) super.setCallback(callback);
+ }
+
+ @Override
+ public GetVmExtension setFields(java.lang.String fields) {
+ return (GetVmExtension) super.setFields(fields);
+ }
+
+ @Override
+ public GetVmExtension setKey(java.lang.String key) {
+ return (GetVmExtension) super.setKey(key);
+ }
+
+ @Override
+ public GetVmExtension setOauthToken(java.lang.String oauthToken) {
+ return (GetVmExtension) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public GetVmExtension setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (GetVmExtension) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public GetVmExtension setQuotaUser(java.lang.String quotaUser) {
+ return (GetVmExtension) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public GetVmExtension setUploadType(java.lang.String uploadType) {
+ return (GetVmExtension) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public GetVmExtension setUploadProtocol(java.lang.String uploadProtocol) {
+ return (GetVmExtension) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public GetVmExtension setUserIp(java.lang.String userIp) {
+ return (GetVmExtension) super.setUserIp(userIp);
+ }
+
+ /** Folder ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String folder;
+
+ /** Folder ID for this request.
+ */
+ public java.lang.String getFolder() {
+ return folder;
+ }
+
+ /** Folder ID for this request. */
+ public GetVmExtension setFolder(java.lang.String folder) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{0,20}");
+ }
+ this.folder = folder;
+ return this;
+ }
+
+ /** Name of the zone for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String zone;
+
+ /** Name of the zone for this request.
+ */
+ public java.lang.String getZone() {
+ return zone;
+ }
+
+ /** Name of the zone for this request. */
+ public GetVmExtension setZone(java.lang.String zone) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
+ "Parameter zone must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ this.zone = zone;
+ return this;
+ }
+
+ /** Required. Name of the VM extension for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String extensionName;
+
+ /** Required. Name of the VM extension for this request.
+ */
+ public java.lang.String getExtensionName() {
+ return extensionName;
+ }
+
+ /** Required. Name of the VM extension for this request. */
+ public GetVmExtension setExtensionName(java.lang.String extensionName) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(EXTENSION_NAME_PATTERN.matcher(extensionName).matches(),
+ "Parameter extensionName must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ this.extensionName = extensionName;
+ return this;
+ }
+
+ @Override
+ public GetVmExtension set(String parameterName, Object value) {
+ return (GetVmExtension) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Creates a new zone-level VM extension policy within a folder.
+ *
+ * Create a request for the method "folderZoneVmExtensionPolicies.insert".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link Insert#execute()} method to invoke the remote operation.
+ *
+ * @param folder Folder ID for this request.
+ * @param zone Name of the zone for this request.
+ * @param content the {@link com.google.api.services.compute.model.VmExtensionPolicy}
+ * @return the request
+ */
+ public Insert insert(java.lang.String folder, java.lang.String zone, com.google.api.services.compute.model.VmExtensionPolicy content) throws java.io.IOException {
+ Insert result = new Insert(folder, zone, content);
+ initialize(result);
+ return result;
+ }
+
+ public class Insert extends ComputeRequest {
+
+ private static final String REST_PATH = "{+folder}/zones/{zone}/vmExtensionPolicies";
+
+ private static final String API_VERSION = "2026-10-01-preview";
+
+ private final java.util.regex.Pattern FOLDER_PATTERN =
+ java.util.regex.Pattern.compile("folders/[0-9]{0,20}");
+
+ private final java.util.regex.Pattern ZONE_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+
+ /**
+ * Creates a new zone-level VM extension policy within a folder.
+ *
+ * Create a request for the method "folderZoneVmExtensionPolicies.insert".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link Insert#execute()} method to invoke the remote operation. {@link
+ * Insert#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param folder Folder ID for this request.
+ * @param zone Name of the zone for this request.
+ * @param content the {@link com.google.api.services.compute.model.VmExtensionPolicy}
+ * @since 1.13
+ */
+ protected Insert(java.lang.String folder, java.lang.String zone, com.google.api.services.compute.model.VmExtensionPolicy content) {
+ super(Compute.this, "POST", REST_PATH, content, com.google.api.services.compute.model.Operation.class);
+ this.folder = com.google.api.client.util.Preconditions.checkNotNull(folder, "Required parameter folder must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{0,20}");
+ }
+ this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
+ "Parameter zone must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ // Does not override the API_VERSION if already configured
+ com.google.api.client.http.HttpHeaders headers = getRequestHeaders();
+ if (headers.get(API_VERSION_HEADER) == null) {
+ headers.set(API_VERSION_HEADER, API_VERSION);
+ }
+ }
+
+ @Override
+ public Insert set$Xgafv(java.lang.String $Xgafv) {
+ return (Insert) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public Insert setAccessToken(java.lang.String accessToken) {
+ return (Insert) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public Insert setAlt(java.lang.String alt) {
+ return (Insert) super.setAlt(alt);
+ }
+
+ @Override
+ public Insert setCallback(java.lang.String callback) {
+ return (Insert) super.setCallback(callback);
+ }
+
+ @Override
+ public Insert setFields(java.lang.String fields) {
+ return (Insert) super.setFields(fields);
+ }
+
+ @Override
+ public Insert setKey(java.lang.String key) {
+ return (Insert) super.setKey(key);
+ }
+
+ @Override
+ public Insert setOauthToken(java.lang.String oauthToken) {
+ return (Insert) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public Insert setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Insert) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public Insert setQuotaUser(java.lang.String quotaUser) {
+ return (Insert) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Insert setUploadType(java.lang.String uploadType) {
+ return (Insert) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Insert setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Insert) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public Insert setUserIp(java.lang.String userIp) {
+ return (Insert) super.setUserIp(userIp);
+ }
+
+ /** Folder ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String folder;
+
+ /** Folder ID for this request.
+ */
+ public java.lang.String getFolder() {
+ return folder;
+ }
+
+ /** Folder ID for this request. */
+ public Insert setFolder(java.lang.String folder) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{0,20}");
+ }
+ this.folder = folder;
+ return this;
+ }
+
+ /** Name of the zone for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String zone;
+
+ /** Name of the zone for this request.
+ */
+ public java.lang.String getZone() {
+ return zone;
+ }
+
+ /** Name of the zone for this request. */
+ public Insert setZone(java.lang.String zone) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
+ "Parameter zone must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ this.zone = zone;
+ 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.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ @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.
+
+ For example, consider a situation where you make an initial request and the request times out. If
+ you make the request again with the same request ID, the server can check if original operation
+ with the same request ID was received, and if so, will ignore the second request. This prevents
+ clients from accidentally creating duplicate commitments.
+
+ The request ID must be a valid UUID with the exception that zero UUID is not supported
+ (00000000-0000-0000-0000-000000000000).
+ */
+ 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.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ public Insert setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
+ @Override
+ public Insert set(String parameterName, Object value) {
+ return (Insert) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Lists all VM extension policies within a specific zone for a folder.
+ *
+ * Create a request for the method "folderZoneVmExtensionPolicies.list".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link List#execute()} method to invoke the remote operation.
+ *
+ * @param folder Folder ID for this request.
+ * @param zone Name of the zone for this request.
+ * @return the request
+ */
+ public List list(java.lang.String folder, java.lang.String zone) throws java.io.IOException {
+ List result = new List(folder, zone);
+ initialize(result);
+ return result;
+ }
+
+ public class List extends ComputeRequest {
+
+ private static final String REST_PATH = "{+folder}/zones/{zone}/vmExtensionPolicies";
+
+ private static final String API_VERSION = "2026-10-01-preview";
+
+ private final java.util.regex.Pattern FOLDER_PATTERN =
+ java.util.regex.Pattern.compile("folders/[0-9]{0,20}");
+
+ private final java.util.regex.Pattern ZONE_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+
+ /**
+ * Lists all VM extension policies within a specific zone for a folder.
+ *
+ * Create a request for the method "folderZoneVmExtensionPolicies.list".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link List#execute()} method to invoke the remote operation. {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param folder Folder ID for this request.
+ * @param zone Name of the zone for this request.
+ * @since 1.13
+ */
+ protected List(java.lang.String folder, java.lang.String zone) {
+ super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.VmExtensionPolicyList.class);
+ this.folder = com.google.api.client.util.Preconditions.checkNotNull(folder, "Required parameter folder must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{0,20}");
+ }
+ this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
+ "Parameter zone must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ // Does not override the API_VERSION if already configured
+ com.google.api.client.http.HttpHeaders headers = getRequestHeaders();
+ if (headers.get(API_VERSION_HEADER) == null) {
+ headers.set(API_VERSION_HEADER, API_VERSION);
+ }
+ }
+
+ @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 List set$Xgafv(java.lang.String $Xgafv) {
+ return (List) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public List setAccessToken(java.lang.String accessToken) {
+ return (List) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public List setAlt(java.lang.String alt) {
+ return (List) super.setAlt(alt);
+ }
+
+ @Override
+ public List setCallback(java.lang.String callback) {
+ return (List) super.setCallback(callback);
+ }
+
+ @Override
+ public List setFields(java.lang.String fields) {
+ return (List) super.setFields(fields);
+ }
+
+ @Override
+ public List setKey(java.lang.String key) {
+ return (List) super.setKey(key);
+ }
+
+ @Override
+ public List setOauthToken(java.lang.String oauthToken) {
+ return (List) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public List setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (List) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public List setQuotaUser(java.lang.String quotaUser) {
+ return (List) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public List setUploadType(java.lang.String uploadType) {
+ return (List) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public List setUploadProtocol(java.lang.String uploadProtocol) {
+ return (List) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public List setUserIp(java.lang.String userIp) {
+ return (List) super.setUserIp(userIp);
+ }
+
+ /** Folder ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String folder;
+
+ /** Folder ID for this request.
+ */
+ public java.lang.String getFolder() {
+ return folder;
+ }
+
+ /** Folder ID for this request. */
+ public List setFolder(java.lang.String folder) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
+ "Parameter folder must conform to the pattern " +
+ "folders/[0-9]{0,20}");
+ }
+ this.folder = folder;
+ return this;
+ }
+
+ /** Name of the zone for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String zone;
+
+ /** Name of the zone for this request.
+ */
+ public java.lang.String getZone() {
+ return zone;
+ }
+
+ /** Name of the zone for this request. */
+ public List setZone(java.lang.String zone) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
+ "Parameter zone must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ this.zone = zone;
+ return this;
+ }
+
/**
* A filter expression that filters resources listed in the response. Most Compute resources
* support two types of filter expressions: expressions that support regular expressions and
@@ -120675,38 +123455,277 @@ public java.lang.String getRequestId() {
* The request ID must be a valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
*/
- public PatchPacketMirroringRule setRequestId(java.lang.String requestId) {
+ public PatchPacketMirroringRule setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
+ @Override
+ public PatchPacketMirroringRule set(String parameterName, Object value) {
+ return (PatchPacketMirroringRule) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Patches a rule of the specified priority.
+ *
+ * Create a request for the method "networkFirewallPolicies.patchRule".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link PatchRule#execute()} method to invoke the remote operation.
+ *
+ * @param project Project ID for this request.
+ * @param firewallPolicy Name of the firewall policy to update.
+ * @param content the {@link com.google.api.services.compute.model.FirewallPolicyRule}
+ * @return the request
+ */
+ public PatchRule patchRule(java.lang.String project, java.lang.String firewallPolicy, com.google.api.services.compute.model.FirewallPolicyRule content) throws java.io.IOException {
+ PatchRule result = new PatchRule(project, firewallPolicy, content);
+ initialize(result);
+ return result;
+ }
+
+ public class PatchRule extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/global/firewallPolicies/{firewallPolicy}/patchRule";
+
+ private static final String API_VERSION = "2026-10-01-preview";
+
+ 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 FIREWALL_POLICY_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+
+ /**
+ * Patches a rule of the specified priority.
+ *
+ * Create a request for the method "networkFirewallPolicies.patchRule".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link PatchRule#execute()} method to invoke the remote operation.
+ * {@link
+ * PatchRule#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param project Project ID for this request.
+ * @param firewallPolicy Name of the firewall policy to update.
+ * @param content the {@link com.google.api.services.compute.model.FirewallPolicyRule}
+ * @since 1.13
+ */
+ protected PatchRule(java.lang.String project, java.lang.String firewallPolicy, com.google.api.services.compute.model.FirewallPolicyRule content) {
+ super(Compute.this, "POST", 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.");
+ 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.firewallPolicy = com.google.api.client.util.Preconditions.checkNotNull(firewallPolicy, "Required parameter firewallPolicy must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FIREWALL_POLICY_PATTERN.matcher(firewallPolicy).matches(),
+ "Parameter firewallPolicy must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ // Does not override the API_VERSION if already configured
+ com.google.api.client.http.HttpHeaders headers = getRequestHeaders();
+ if (headers.get(API_VERSION_HEADER) == null) {
+ headers.set(API_VERSION_HEADER, API_VERSION);
+ }
+ }
+
+ @Override
+ public PatchRule set$Xgafv(java.lang.String $Xgafv) {
+ return (PatchRule) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public PatchRule setAccessToken(java.lang.String accessToken) {
+ return (PatchRule) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public PatchRule setAlt(java.lang.String alt) {
+ return (PatchRule) super.setAlt(alt);
+ }
+
+ @Override
+ public PatchRule setCallback(java.lang.String callback) {
+ return (PatchRule) super.setCallback(callback);
+ }
+
+ @Override
+ public PatchRule setFields(java.lang.String fields) {
+ return (PatchRule) super.setFields(fields);
+ }
+
+ @Override
+ public PatchRule setKey(java.lang.String key) {
+ return (PatchRule) super.setKey(key);
+ }
+
+ @Override
+ public PatchRule setOauthToken(java.lang.String oauthToken) {
+ return (PatchRule) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public PatchRule setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (PatchRule) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public PatchRule setQuotaUser(java.lang.String quotaUser) {
+ return (PatchRule) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public PatchRule setUploadType(java.lang.String uploadType) {
+ return (PatchRule) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public PatchRule setUploadProtocol(java.lang.String uploadProtocol) {
+ return (PatchRule) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public PatchRule setUserIp(java.lang.String userIp) {
+ return (PatchRule) super.setUserIp(userIp);
+ }
+
+ /** Project ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String project;
+
+ /** Project ID for this request.
+ */
+ public java.lang.String getProject() {
+ return project;
+ }
+
+ /** Project ID for this request. */
+ public PatchRule 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;
+ }
+
+ /** Name of the firewall policy to update. */
+ @com.google.api.client.util.Key
+ private java.lang.String firewallPolicy;
+
+ /** Name of the firewall policy to update.
+ */
+ public java.lang.String getFirewallPolicy() {
+ return firewallPolicy;
+ }
+
+ /** Name of the firewall policy to update. */
+ public PatchRule setFirewallPolicy(java.lang.String firewallPolicy) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(FIREWALL_POLICY_PATTERN.matcher(firewallPolicy).matches(),
+ "Parameter firewallPolicy must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ this.firewallPolicy = firewallPolicy;
+ return this;
+ }
+
+ /** The priority of the rule to patch. */
+ @com.google.api.client.util.Key
+ private java.lang.Integer priority;
+
+ /** The priority of the rule to patch.
+ */
+ public java.lang.Integer getPriority() {
+ return priority;
+ }
+
+ /** The priority of the rule to patch. */
+ public PatchRule setPriority(java.lang.Integer priority) {
+ this.priority = priority;
+ 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.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ @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.
+
+ For example, consider a situation where you make an initial request and the request times out. If
+ you make the request again with the same request ID, the server can check if original operation
+ with the same request ID was received, and if so, will ignore the second request. This prevents
+ clients from accidentally creating duplicate commitments.
+
+ The request ID must be a valid UUID with the exception that zero UUID is not supported
+ (00000000-0000-0000-0000-000000000000).
+ */
+ 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.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ public PatchRule setRequestId(java.lang.String requestId) {
this.requestId = requestId;
return this;
}
@Override
- public PatchPacketMirroringRule set(String parameterName, Object value) {
- return (PatchPacketMirroringRule) super.set(parameterName, value);
+ public PatchRule set(String parameterName, Object value) {
+ return (PatchRule) super.set(parameterName, value);
}
}
/**
- * Patches a rule of the specified priority.
+ * Removes an association for the specified firewall policy.
*
- * Create a request for the method "networkFirewallPolicies.patchRule".
+ * Create a request for the method "networkFirewallPolicies.removeAssociation".
*
* This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link PatchRule#execute()} method to invoke the remote operation.
+ * parameters, call the {@link RemoveAssociation#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
* @param firewallPolicy Name of the firewall policy to update.
- * @param content the {@link com.google.api.services.compute.model.FirewallPolicyRule}
* @return the request
*/
- public PatchRule patchRule(java.lang.String project, java.lang.String firewallPolicy, com.google.api.services.compute.model.FirewallPolicyRule content) throws java.io.IOException {
- PatchRule result = new PatchRule(project, firewallPolicy, content);
+ public RemoveAssociation removeAssociation(java.lang.String project, java.lang.String firewallPolicy) throws java.io.IOException {
+ RemoveAssociation result = new RemoveAssociation(project, firewallPolicy);
initialize(result);
return result;
}
- public class PatchRule extends ComputeRequest {
+ public class RemoveAssociation extends ComputeRequest {
- private static final String REST_PATH = "projects/{project}/global/firewallPolicies/{firewallPolicy}/patchRule";
+ private static final String REST_PATH = "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeAssociation";
private static final String API_VERSION = "2026-10-01-preview";
@@ -120717,23 +123736,22 @@ public class PatchRule extends ComputeRequest
- * {@link
- * PatchRule#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
+ * parameters, call the {@link RemoveAssociation#execute()} method to invoke the remote operation.
+ * {@link RemoveAssociation#initialize(com.google.api.client.googleapis.services.AbstractGoogl
+ * eClientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor.
*
* @param project Project ID for this request.
* @param firewallPolicy Name of the firewall policy to update.
- * @param content the {@link com.google.api.services.compute.model.FirewallPolicyRule}
* @since 1.13
*/
- protected PatchRule(java.lang.String project, java.lang.String firewallPolicy, com.google.api.services.compute.model.FirewallPolicyRule content) {
- super(Compute.this, "POST", REST_PATH, content, com.google.api.services.compute.model.Operation.class);
+ protected RemoveAssociation(java.lang.String project, java.lang.String firewallPolicy) {
+ super(Compute.this, "POST", REST_PATH, null, com.google.api.services.compute.model.Operation.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(),
@@ -120754,63 +123772,63 @@ protected PatchRule(java.lang.String project, java.lang.String firewallPolicy, c
}
@Override
- public PatchRule set$Xgafv(java.lang.String $Xgafv) {
- return (PatchRule) super.set$Xgafv($Xgafv);
+ public RemoveAssociation set$Xgafv(java.lang.String $Xgafv) {
+ return (RemoveAssociation) super.set$Xgafv($Xgafv);
}
@Override
- public PatchRule setAccessToken(java.lang.String accessToken) {
- return (PatchRule) super.setAccessToken(accessToken);
+ public RemoveAssociation setAccessToken(java.lang.String accessToken) {
+ return (RemoveAssociation) super.setAccessToken(accessToken);
}
@Override
- public PatchRule setAlt(java.lang.String alt) {
- return (PatchRule) super.setAlt(alt);
+ public RemoveAssociation setAlt(java.lang.String alt) {
+ return (RemoveAssociation) super.setAlt(alt);
}
@Override
- public PatchRule setCallback(java.lang.String callback) {
- return (PatchRule) super.setCallback(callback);
+ public RemoveAssociation setCallback(java.lang.String callback) {
+ return (RemoveAssociation) super.setCallback(callback);
}
@Override
- public PatchRule setFields(java.lang.String fields) {
- return (PatchRule) super.setFields(fields);
+ public RemoveAssociation setFields(java.lang.String fields) {
+ return (RemoveAssociation) super.setFields(fields);
}
@Override
- public PatchRule setKey(java.lang.String key) {
- return (PatchRule) super.setKey(key);
+ public RemoveAssociation setKey(java.lang.String key) {
+ return (RemoveAssociation) super.setKey(key);
}
@Override
- public PatchRule setOauthToken(java.lang.String oauthToken) {
- return (PatchRule) super.setOauthToken(oauthToken);
+ public RemoveAssociation setOauthToken(java.lang.String oauthToken) {
+ return (RemoveAssociation) super.setOauthToken(oauthToken);
}
@Override
- public PatchRule setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (PatchRule) super.setPrettyPrint(prettyPrint);
+ public RemoveAssociation setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (RemoveAssociation) super.setPrettyPrint(prettyPrint);
}
@Override
- public PatchRule setQuotaUser(java.lang.String quotaUser) {
- return (PatchRule) super.setQuotaUser(quotaUser);
+ public RemoveAssociation setQuotaUser(java.lang.String quotaUser) {
+ return (RemoveAssociation) super.setQuotaUser(quotaUser);
}
@Override
- public PatchRule setUploadType(java.lang.String uploadType) {
- return (PatchRule) super.setUploadType(uploadType);
+ public RemoveAssociation setUploadType(java.lang.String uploadType) {
+ return (RemoveAssociation) super.setUploadType(uploadType);
}
@Override
- public PatchRule setUploadProtocol(java.lang.String uploadProtocol) {
- return (PatchRule) super.setUploadProtocol(uploadProtocol);
+ public RemoveAssociation setUploadProtocol(java.lang.String uploadProtocol) {
+ return (RemoveAssociation) super.setUploadProtocol(uploadProtocol);
}
@Override
- public PatchRule setUserIp(java.lang.String userIp) {
- return (PatchRule) super.setUserIp(userIp);
+ public RemoveAssociation setUserIp(java.lang.String userIp) {
+ return (RemoveAssociation) super.setUserIp(userIp);
}
/** Project ID for this request. */
@@ -120824,7 +123842,7 @@ public java.lang.String getProject() {
}
/** Project ID for this request. */
- public PatchRule setProject(java.lang.String project) {
+ public RemoveAssociation 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 " +
@@ -120845,7 +123863,7 @@ public java.lang.String getFirewallPolicy() {
}
/** Name of the firewall policy to update. */
- public PatchRule setFirewallPolicy(java.lang.String firewallPolicy) {
+ public RemoveAssociation setFirewallPolicy(java.lang.String firewallPolicy) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(FIREWALL_POLICY_PATTERN.matcher(firewallPolicy).matches(),
"Parameter firewallPolicy must conform to the pattern " +
@@ -120855,19 +123873,19 @@ public PatchRule setFirewallPolicy(java.lang.String firewallPolicy) {
return this;
}
- /** The priority of the rule to patch. */
+ /** Name for the attachment that will be removed. */
@com.google.api.client.util.Key
- private java.lang.Integer priority;
+ private java.lang.String name;
- /** The priority of the rule to patch.
+ /** Name for the attachment that will be removed.
*/
- public java.lang.Integer getPriority() {
- return priority;
+ public java.lang.String getName() {
+ return name;
}
- /** The priority of the rule to patch. */
- public PatchRule setPriority(java.lang.Integer priority) {
- this.priority = priority;
+ /** Name for the attachment that will be removed. */
+ public RemoveAssociation setName(java.lang.String name) {
+ this.name = name;
return this;
}
@@ -120915,37 +123933,38 @@ public java.lang.String getRequestId() {
* The request ID must be a valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
*/
- public PatchRule setRequestId(java.lang.String requestId) {
+ public RemoveAssociation setRequestId(java.lang.String requestId) {
this.requestId = requestId;
return this;
}
@Override
- public PatchRule set(String parameterName, Object value) {
- return (PatchRule) super.set(parameterName, value);
+ public RemoveAssociation set(String parameterName, Object value) {
+ return (RemoveAssociation) super.set(parameterName, value);
}
}
/**
- * Removes an association for the specified firewall policy.
+ * Deletes a packet mirroring rule of the specified priority.
*
- * Create a request for the method "networkFirewallPolicies.removeAssociation".
+ * Create a request for the method "networkFirewallPolicies.removePacketMirroringRule".
*
* This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link RemoveAssociation#execute()} method to invoke the remote operation.
+ * parameters, call the {@link RemovePacketMirroringRule#execute()} method to invoke the remote
+ * operation.
*
* @param project Project ID for this request.
* @param firewallPolicy Name of the firewall policy to update.
* @return the request
*/
- public RemoveAssociation removeAssociation(java.lang.String project, java.lang.String firewallPolicy) throws java.io.IOException {
- RemoveAssociation result = new RemoveAssociation(project, firewallPolicy);
+ public RemovePacketMirroringRule removePacketMirroringRule(java.lang.String project, java.lang.String firewallPolicy) throws java.io.IOException {
+ RemovePacketMirroringRule result = new RemovePacketMirroringRule(project, firewallPolicy);
initialize(result);
return result;
}
- public class RemoveAssociation extends ComputeRequest {
+ public class RemovePacketMirroringRule extends ComputeRequest {
- private static final String REST_PATH = "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeAssociation";
+ private static final String REST_PATH = "projects/{project}/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule";
private static final String API_VERSION = "2026-10-01-preview";
@@ -120956,21 +123975,21 @@ public class RemoveAssociation extends ComputeRequest {@link RemoveAssociation#initialize(com.google.api.client.googleapis.services.AbstractGoogl
- * eClientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor.
+ * parameters, call the {@link RemovePacketMirroringRule#execute()} method to invoke the remote
+ * operation. {@link RemovePacketMirroringRule#initialize(com.google.api.client.googleapis.ser
+ * vices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
+ * after invoking the constructor.
*
* @param project Project ID for this request.
* @param firewallPolicy Name of the firewall policy to update.
* @since 1.13
*/
- protected RemoveAssociation(java.lang.String project, java.lang.String firewallPolicy) {
+ protected RemovePacketMirroringRule(java.lang.String project, java.lang.String firewallPolicy) {
super(Compute.this, "POST", REST_PATH, null, com.google.api.services.compute.model.Operation.class);
this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
if (!getSuppressPatternChecks()) {
@@ -120992,63 +124011,63 @@ protected RemoveAssociation(java.lang.String project, java.lang.String firewallP
}
@Override
- public RemoveAssociation set$Xgafv(java.lang.String $Xgafv) {
- return (RemoveAssociation) super.set$Xgafv($Xgafv);
+ public RemovePacketMirroringRule set$Xgafv(java.lang.String $Xgafv) {
+ return (RemovePacketMirroringRule) super.set$Xgafv($Xgafv);
}
@Override
- public RemoveAssociation setAccessToken(java.lang.String accessToken) {
- return (RemoveAssociation) super.setAccessToken(accessToken);
+ public RemovePacketMirroringRule setAccessToken(java.lang.String accessToken) {
+ return (RemovePacketMirroringRule) super.setAccessToken(accessToken);
}
@Override
- public RemoveAssociation setAlt(java.lang.String alt) {
- return (RemoveAssociation) super.setAlt(alt);
+ public RemovePacketMirroringRule setAlt(java.lang.String alt) {
+ return (RemovePacketMirroringRule) super.setAlt(alt);
}
@Override
- public RemoveAssociation setCallback(java.lang.String callback) {
- return (RemoveAssociation) super.setCallback(callback);
+ public RemovePacketMirroringRule setCallback(java.lang.String callback) {
+ return (RemovePacketMirroringRule) super.setCallback(callback);
}
@Override
- public RemoveAssociation setFields(java.lang.String fields) {
- return (RemoveAssociation) super.setFields(fields);
+ public RemovePacketMirroringRule setFields(java.lang.String fields) {
+ return (RemovePacketMirroringRule) super.setFields(fields);
}
@Override
- public RemoveAssociation setKey(java.lang.String key) {
- return (RemoveAssociation) super.setKey(key);
+ public RemovePacketMirroringRule setKey(java.lang.String key) {
+ return (RemovePacketMirroringRule) super.setKey(key);
}
@Override
- public RemoveAssociation setOauthToken(java.lang.String oauthToken) {
- return (RemoveAssociation) super.setOauthToken(oauthToken);
+ public RemovePacketMirroringRule setOauthToken(java.lang.String oauthToken) {
+ return (RemovePacketMirroringRule) super.setOauthToken(oauthToken);
}
@Override
- public RemoveAssociation setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (RemoveAssociation) super.setPrettyPrint(prettyPrint);
+ public RemovePacketMirroringRule setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (RemovePacketMirroringRule) super.setPrettyPrint(prettyPrint);
}
@Override
- public RemoveAssociation setQuotaUser(java.lang.String quotaUser) {
- return (RemoveAssociation) super.setQuotaUser(quotaUser);
+ public RemovePacketMirroringRule setQuotaUser(java.lang.String quotaUser) {
+ return (RemovePacketMirroringRule) super.setQuotaUser(quotaUser);
}
@Override
- public RemoveAssociation setUploadType(java.lang.String uploadType) {
- return (RemoveAssociation) super.setUploadType(uploadType);
+ public RemovePacketMirroringRule setUploadType(java.lang.String uploadType) {
+ return (RemovePacketMirroringRule) super.setUploadType(uploadType);
}
@Override
- public RemoveAssociation setUploadProtocol(java.lang.String uploadProtocol) {
- return (RemoveAssociation) super.setUploadProtocol(uploadProtocol);
+ public RemovePacketMirroringRule setUploadProtocol(java.lang.String uploadProtocol) {
+ return (RemovePacketMirroringRule) super.setUploadProtocol(uploadProtocol);
}
@Override
- public RemoveAssociation setUserIp(java.lang.String userIp) {
- return (RemoveAssociation) super.setUserIp(userIp);
+ public RemovePacketMirroringRule setUserIp(java.lang.String userIp) {
+ return (RemovePacketMirroringRule) super.setUserIp(userIp);
}
/** Project ID for this request. */
@@ -121062,7 +124081,7 @@ public java.lang.String getProject() {
}
/** Project ID for this request. */
- public RemoveAssociation setProject(java.lang.String project) {
+ public RemovePacketMirroringRule 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 " +
@@ -121083,7 +124102,7 @@ public java.lang.String getFirewallPolicy() {
}
/** Name of the firewall policy to update. */
- public RemoveAssociation setFirewallPolicy(java.lang.String firewallPolicy) {
+ public RemovePacketMirroringRule setFirewallPolicy(java.lang.String firewallPolicy) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(FIREWALL_POLICY_PATTERN.matcher(firewallPolicy).matches(),
"Parameter firewallPolicy must conform to the pattern " +
@@ -121093,19 +124112,19 @@ public RemoveAssociation setFirewallPolicy(java.lang.String firewallPolicy) {
return this;
}
- /** Name for the attachment that will be removed. */
+ /** The priority of the rule to remove from the firewall policy. */
@com.google.api.client.util.Key
- private java.lang.String name;
+ private java.lang.Integer priority;
- /** Name for the attachment that will be removed.
+ /** The priority of the rule to remove from the firewall policy.
*/
- public java.lang.String getName() {
- return name;
+ public java.lang.Integer getPriority() {
+ return priority;
}
- /** Name for the attachment that will be removed. */
- public RemoveAssociation setName(java.lang.String name) {
- this.name = name;
+ /** The priority of the rule to remove from the firewall policy. */
+ public RemovePacketMirroringRule setPriority(java.lang.Integer priority) {
+ this.priority = priority;
return this;
}
@@ -121153,38 +124172,37 @@ public java.lang.String getRequestId() {
* The request ID must be a valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
*/
- public RemoveAssociation setRequestId(java.lang.String requestId) {
+ public RemovePacketMirroringRule setRequestId(java.lang.String requestId) {
this.requestId = requestId;
return this;
}
@Override
- public RemoveAssociation set(String parameterName, Object value) {
- return (RemoveAssociation) super.set(parameterName, value);
+ public RemovePacketMirroringRule set(String parameterName, Object value) {
+ return (RemovePacketMirroringRule) super.set(parameterName, value);
}
}
/**
- * Deletes a packet mirroring rule of the specified priority.
+ * Deletes a rule of the specified priority.
*
- * Create a request for the method "networkFirewallPolicies.removePacketMirroringRule".
+ * Create a request for the method "networkFirewallPolicies.removeRule".
*
* This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link RemovePacketMirroringRule#execute()} method to invoke the remote
- * operation.
+ * parameters, call the {@link RemoveRule#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
* @param firewallPolicy Name of the firewall policy to update.
* @return the request
*/
- public RemovePacketMirroringRule removePacketMirroringRule(java.lang.String project, java.lang.String firewallPolicy) throws java.io.IOException {
- RemovePacketMirroringRule result = new RemovePacketMirroringRule(project, firewallPolicy);
+ public RemoveRule removeRule(java.lang.String project, java.lang.String firewallPolicy) throws java.io.IOException {
+ RemoveRule result = new RemoveRule(project, firewallPolicy);
initialize(result);
return result;
}
- public class RemovePacketMirroringRule extends ComputeRequest {
+ public class RemoveRule extends ComputeRequest {
- private static final String REST_PATH = "projects/{project}/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule";
+ private static final String REST_PATH = "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeRule";
private static final String API_VERSION = "2026-10-01-preview";
@@ -121195,21 +124213,21 @@ public class RemovePacketMirroringRule extends ComputeRequest {@link RemovePacketMirroringRule#initialize(com.google.api.client.googleapis.ser
- * vices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
- * after invoking the constructor.
+ * parameters, call the {@link RemoveRule#execute()} method to invoke the remote operation.
+ * {@link
+ * RemoveRule#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
*
* @param project Project ID for this request.
* @param firewallPolicy Name of the firewall policy to update.
* @since 1.13
*/
- protected RemovePacketMirroringRule(java.lang.String project, java.lang.String firewallPolicy) {
+ protected RemoveRule(java.lang.String project, java.lang.String firewallPolicy) {
super(Compute.this, "POST", REST_PATH, null, com.google.api.services.compute.model.Operation.class);
this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
if (!getSuppressPatternChecks()) {
@@ -121231,63 +124249,63 @@ protected RemovePacketMirroringRule(java.lang.String project, java.lang.String f
}
@Override
- public RemovePacketMirroringRule set$Xgafv(java.lang.String $Xgafv) {
- return (RemovePacketMirroringRule) super.set$Xgafv($Xgafv);
+ public RemoveRule set$Xgafv(java.lang.String $Xgafv) {
+ return (RemoveRule) super.set$Xgafv($Xgafv);
}
@Override
- public RemovePacketMirroringRule setAccessToken(java.lang.String accessToken) {
- return (RemovePacketMirroringRule) super.setAccessToken(accessToken);
+ public RemoveRule setAccessToken(java.lang.String accessToken) {
+ return (RemoveRule) super.setAccessToken(accessToken);
}
@Override
- public RemovePacketMirroringRule setAlt(java.lang.String alt) {
- return (RemovePacketMirroringRule) super.setAlt(alt);
+ public RemoveRule setAlt(java.lang.String alt) {
+ return (RemoveRule) super.setAlt(alt);
}
@Override
- public RemovePacketMirroringRule setCallback(java.lang.String callback) {
- return (RemovePacketMirroringRule) super.setCallback(callback);
+ public RemoveRule setCallback(java.lang.String callback) {
+ return (RemoveRule) super.setCallback(callback);
}
@Override
- public RemovePacketMirroringRule setFields(java.lang.String fields) {
- return (RemovePacketMirroringRule) super.setFields(fields);
+ public RemoveRule setFields(java.lang.String fields) {
+ return (RemoveRule) super.setFields(fields);
}
@Override
- public RemovePacketMirroringRule setKey(java.lang.String key) {
- return (RemovePacketMirroringRule) super.setKey(key);
+ public RemoveRule setKey(java.lang.String key) {
+ return (RemoveRule) super.setKey(key);
}
@Override
- public RemovePacketMirroringRule setOauthToken(java.lang.String oauthToken) {
- return (RemovePacketMirroringRule) super.setOauthToken(oauthToken);
+ public RemoveRule setOauthToken(java.lang.String oauthToken) {
+ return (RemoveRule) super.setOauthToken(oauthToken);
}
@Override
- public RemovePacketMirroringRule setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (RemovePacketMirroringRule) super.setPrettyPrint(prettyPrint);
+ public RemoveRule setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (RemoveRule) super.setPrettyPrint(prettyPrint);
}
@Override
- public RemovePacketMirroringRule setQuotaUser(java.lang.String quotaUser) {
- return (RemovePacketMirroringRule) super.setQuotaUser(quotaUser);
+ public RemoveRule setQuotaUser(java.lang.String quotaUser) {
+ return (RemoveRule) super.setQuotaUser(quotaUser);
}
@Override
- public RemovePacketMirroringRule setUploadType(java.lang.String uploadType) {
- return (RemovePacketMirroringRule) super.setUploadType(uploadType);
+ public RemoveRule setUploadType(java.lang.String uploadType) {
+ return (RemoveRule) super.setUploadType(uploadType);
}
@Override
- public RemovePacketMirroringRule setUploadProtocol(java.lang.String uploadProtocol) {
- return (RemovePacketMirroringRule) super.setUploadProtocol(uploadProtocol);
+ public RemoveRule setUploadProtocol(java.lang.String uploadProtocol) {
+ return (RemoveRule) super.setUploadProtocol(uploadProtocol);
}
@Override
- public RemovePacketMirroringRule setUserIp(java.lang.String userIp) {
- return (RemovePacketMirroringRule) super.setUserIp(userIp);
+ public RemoveRule setUserIp(java.lang.String userIp) {
+ return (RemoveRule) super.setUserIp(userIp);
}
/** Project ID for this request. */
@@ -121301,7 +124319,7 @@ public java.lang.String getProject() {
}
/** Project ID for this request. */
- public RemovePacketMirroringRule setProject(java.lang.String project) {
+ public RemoveRule 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 " +
@@ -121322,7 +124340,7 @@ public java.lang.String getFirewallPolicy() {
}
/** Name of the firewall policy to update. */
- public RemovePacketMirroringRule setFirewallPolicy(java.lang.String firewallPolicy) {
+ public RemoveRule setFirewallPolicy(java.lang.String firewallPolicy) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(FIREWALL_POLICY_PATTERN.matcher(firewallPolicy).matches(),
"Parameter firewallPolicy must conform to the pattern " +
@@ -121343,7 +124361,7 @@ public java.lang.Integer getPriority() {
}
/** The priority of the rule to remove from the firewall policy. */
- public RemovePacketMirroringRule setPriority(java.lang.Integer priority) {
+ public RemoveRule setPriority(java.lang.Integer priority) {
this.priority = priority;
return this;
}
@@ -121392,74 +124410,76 @@ public java.lang.String getRequestId() {
* The request ID must be a valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
*/
- public RemovePacketMirroringRule setRequestId(java.lang.String requestId) {
+ public RemoveRule setRequestId(java.lang.String requestId) {
this.requestId = requestId;
return this;
}
@Override
- public RemovePacketMirroringRule set(String parameterName, Object value) {
- return (RemovePacketMirroringRule) super.set(parameterName, value);
+ public RemoveRule set(String parameterName, Object value) {
+ return (RemoveRule) super.set(parameterName, value);
}
}
/**
- * Deletes a rule of the specified priority.
+ * Sets the access control policy on the specified resource. Replaces any existing policy.
*
- * Create a request for the method "networkFirewallPolicies.removeRule".
+ * Create a request for the method "networkFirewallPolicies.setIamPolicy".
*
* This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link RemoveRule#execute()} method to invoke the remote operation.
+ * parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
- * @param firewallPolicy Name of the firewall policy to update.
+ * @param resource Name or id of the resource for this request.
+ * @param content the {@link com.google.api.services.compute.model.GlobalSetPolicyRequest}
* @return the request
*/
- public RemoveRule removeRule(java.lang.String project, java.lang.String firewallPolicy) throws java.io.IOException {
- RemoveRule result = new RemoveRule(project, firewallPolicy);
+ public SetIamPolicy setIamPolicy(java.lang.String project, java.lang.String resource, com.google.api.services.compute.model.GlobalSetPolicyRequest content) throws java.io.IOException {
+ SetIamPolicy result = new SetIamPolicy(project, resource, content);
initialize(result);
return result;
}
- public class RemoveRule extends ComputeRequest {
+ public class SetIamPolicy extends ComputeRequest {
- private static final String REST_PATH = "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeRule";
+ private static final String REST_PATH = "projects/{project}/global/firewallPolicies/{resource}/setIamPolicy";
private static final String API_VERSION = "2026-10-01-preview";
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 FIREWALL_POLICY_PATTERN =
- java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ private final java.util.regex.Pattern RESOURCE_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
/**
- * Deletes a rule of the specified priority.
+ * Sets the access control policy on the specified resource. Replaces any existing policy.
*
- * Create a request for the method "networkFirewallPolicies.removeRule".
+ * Create a request for the method "networkFirewallPolicies.setIamPolicy".
*
* This request holds the parameters needed by the the compute server. After setting any optional
- * parameters, call the {@link RemoveRule#execute()} method to invoke the remote operation.
+ * parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote operation.
* {@link
- * RemoveRule#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * SetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
* must be called to initialize this instance immediately after invoking the constructor.
*
* @param project Project ID for this request.
- * @param firewallPolicy Name of the firewall policy to update.
+ * @param resource Name or id of the resource for this request.
+ * @param content the {@link com.google.api.services.compute.model.GlobalSetPolicyRequest}
* @since 1.13
*/
- protected RemoveRule(java.lang.String project, java.lang.String firewallPolicy) {
- super(Compute.this, "POST", REST_PATH, null, com.google.api.services.compute.model.Operation.class);
+ protected SetIamPolicy(java.lang.String project, java.lang.String resource, com.google.api.services.compute.model.GlobalSetPolicyRequest content) {
+ super(Compute.this, "POST", REST_PATH, content, com.google.api.services.compute.model.Policy.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.firewallPolicy = com.google.api.client.util.Preconditions.checkNotNull(firewallPolicy, "Required parameter firewallPolicy must be specified.");
+ this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(FIREWALL_POLICY_PATTERN.matcher(firewallPolicy).matches(),
- "Parameter firewallPolicy must conform to the pattern " +
- "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
}
// Does not override the API_VERSION if already configured
com.google.api.client.http.HttpHeaders headers = getRequestHeaders();
@@ -121469,63 +124489,63 @@ protected RemoveRule(java.lang.String project, java.lang.String firewallPolicy)
}
@Override
- public RemoveRule set$Xgafv(java.lang.String $Xgafv) {
- return (RemoveRule) super.set$Xgafv($Xgafv);
+ public SetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
+ return (SetIamPolicy) super.set$Xgafv($Xgafv);
}
@Override
- public RemoveRule setAccessToken(java.lang.String accessToken) {
- return (RemoveRule) super.setAccessToken(accessToken);
+ public SetIamPolicy setAccessToken(java.lang.String accessToken) {
+ return (SetIamPolicy) super.setAccessToken(accessToken);
}
@Override
- public RemoveRule setAlt(java.lang.String alt) {
- return (RemoveRule) super.setAlt(alt);
+ public SetIamPolicy setAlt(java.lang.String alt) {
+ return (SetIamPolicy) super.setAlt(alt);
}
@Override
- public RemoveRule setCallback(java.lang.String callback) {
- return (RemoveRule) super.setCallback(callback);
+ public SetIamPolicy setCallback(java.lang.String callback) {
+ return (SetIamPolicy) super.setCallback(callback);
}
@Override
- public RemoveRule setFields(java.lang.String fields) {
- return (RemoveRule) super.setFields(fields);
+ public SetIamPolicy setFields(java.lang.String fields) {
+ return (SetIamPolicy) super.setFields(fields);
}
@Override
- public RemoveRule setKey(java.lang.String key) {
- return (RemoveRule) super.setKey(key);
+ public SetIamPolicy setKey(java.lang.String key) {
+ return (SetIamPolicy) super.setKey(key);
}
@Override
- public RemoveRule setOauthToken(java.lang.String oauthToken) {
- return (RemoveRule) super.setOauthToken(oauthToken);
+ public SetIamPolicy setOauthToken(java.lang.String oauthToken) {
+ return (SetIamPolicy) super.setOauthToken(oauthToken);
}
@Override
- public RemoveRule setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (RemoveRule) super.setPrettyPrint(prettyPrint);
+ public SetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (SetIamPolicy) super.setPrettyPrint(prettyPrint);
}
@Override
- public RemoveRule setQuotaUser(java.lang.String quotaUser) {
- return (RemoveRule) super.setQuotaUser(quotaUser);
+ public SetIamPolicy setQuotaUser(java.lang.String quotaUser) {
+ return (SetIamPolicy) super.setQuotaUser(quotaUser);
}
@Override
- public RemoveRule setUploadType(java.lang.String uploadType) {
- return (RemoveRule) super.setUploadType(uploadType);
+ public SetIamPolicy setUploadType(java.lang.String uploadType) {
+ return (SetIamPolicy) super.setUploadType(uploadType);
}
@Override
- public RemoveRule setUploadProtocol(java.lang.String uploadProtocol) {
- return (RemoveRule) super.setUploadProtocol(uploadProtocol);
+ public SetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
+ return (SetIamPolicy) super.setUploadProtocol(uploadProtocol);
}
@Override
- public RemoveRule setUserIp(java.lang.String userIp) {
- return (RemoveRule) super.setUserIp(userIp);
+ public SetIamPolicy setUserIp(java.lang.String userIp) {
+ return (SetIamPolicy) super.setUserIp(userIp);
}
/** Project ID for this request. */
@@ -121539,7 +124559,7 @@ public java.lang.String getProject() {
}
/** Project ID for this request. */
- public RemoveRule setProject(java.lang.String project) {
+ public SetIamPolicy 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 " +
@@ -121549,119 +124569,54 @@ public RemoveRule setProject(java.lang.String project) {
return this;
}
- /** Name of the firewall policy to update. */
+ /** Name or id of the resource for this request. */
@com.google.api.client.util.Key
- private java.lang.String firewallPolicy;
+ private java.lang.String resource;
- /** Name of the firewall policy to update.
+ /** Name or id of the resource for this request.
*/
- public java.lang.String getFirewallPolicy() {
- return firewallPolicy;
+ public java.lang.String getResource() {
+ return resource;
}
- /** Name of the firewall policy to update. */
- public RemoveRule setFirewallPolicy(java.lang.String firewallPolicy) {
+ /** Name or id of the resource for this request. */
+ public SetIamPolicy setResource(java.lang.String resource) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(FIREWALL_POLICY_PATTERN.matcher(firewallPolicy).matches(),
- "Parameter firewallPolicy must conform to the pattern " +
- "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
}
- this.firewallPolicy = firewallPolicy;
- return this;
- }
-
- /** The priority of the rule to remove from the firewall policy. */
- @com.google.api.client.util.Key
- private java.lang.Integer priority;
-
- /** The priority of the rule to remove from the firewall policy.
- */
- public java.lang.Integer getPriority() {
- return priority;
- }
-
- /** The priority of the rule to remove from the firewall policy. */
- public RemoveRule setPriority(java.lang.Integer priority) {
- this.priority = priority;
- 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.
- *
- * For example, consider a situation where you make an initial request and the request times
- * out. If you make the request again with the same request ID, the server can check if
- * original operation with the same request ID was received, and if so, will ignore the second
- * request. This prevents clients from accidentally creating duplicate commitments.
- *
- * The request ID must be a valid UUID with the exception that zero UUID is not supported
- * (00000000-0000-0000-0000-000000000000).
- */
- @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.
-
- For example, consider a situation where you make an initial request and the request times out. If
- you make the request again with the same request ID, the server can check if original operation
- with the same request ID was received, and if so, will ignore the second request. This prevents
- clients from accidentally creating duplicate commitments.
-
- The request ID must be a valid UUID with the exception that zero UUID is not supported
- (00000000-0000-0000-0000-000000000000).
- */
- 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.
- *
- * For example, consider a situation where you make an initial request and the request times
- * out. If you make the request again with the same request ID, the server can check if
- * original operation with the same request ID was received, and if so, will ignore the second
- * request. This prevents clients from accidentally creating duplicate commitments.
- *
- * The request ID must be a valid UUID with the exception that zero UUID is not supported
- * (00000000-0000-0000-0000-000000000000).
- */
- public RemoveRule setRequestId(java.lang.String requestId) {
- this.requestId = requestId;
+ this.resource = resource;
return this;
}
@Override
- public RemoveRule set(String parameterName, Object value) {
- return (RemoveRule) super.set(parameterName, value);
+ public SetIamPolicy set(String parameterName, Object value) {
+ return (SetIamPolicy) super.set(parameterName, value);
}
}
/**
- * Sets the access control policy on the specified resource. Replaces any existing policy.
+ * Returns permissions that a caller has on the specified resource.
*
- * Create a request for the method "networkFirewallPolicies.setIamPolicy".
+ * Create a request for the method "networkFirewallPolicies.testIamPermissions".
*
* This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote operation.
+ * parameters, call the {@link TestIamPermissions#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
* @param resource Name or id of the resource for this request.
- * @param content the {@link com.google.api.services.compute.model.GlobalSetPolicyRequest}
+ * @param content the {@link com.google.api.services.compute.model.TestPermissionsRequest}
* @return the request
*/
- public SetIamPolicy setIamPolicy(java.lang.String project, java.lang.String resource, com.google.api.services.compute.model.GlobalSetPolicyRequest content) throws java.io.IOException {
- SetIamPolicy result = new SetIamPolicy(project, resource, content);
+ public TestIamPermissions testIamPermissions(java.lang.String project, java.lang.String resource, com.google.api.services.compute.model.TestPermissionsRequest content) throws java.io.IOException {
+ TestIamPermissions result = new TestIamPermissions(project, resource, content);
initialize(result);
return result;
}
- public class SetIamPolicy extends ComputeRequest {
+ public class TestIamPermissions extends ComputeRequest {
- private static final String REST_PATH = "projects/{project}/global/firewallPolicies/{resource}/setIamPolicy";
+ private static final String REST_PATH = "projects/{project}/global/firewallPolicies/{resource}/testIamPermissions";
private static final String API_VERSION = "2026-10-01-preview";
@@ -121672,23 +124627,23 @@ public class SetIamPolicy extends ComputeRequest
- * {@link
- * SetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
+ * parameters, call the {@link TestIamPermissions#execute()} method to invoke the remote
+ * operation. {@link TestIamPermissions#initialize(com.google.api.client.googleapis.services.A
+ * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor.
*
* @param project Project ID for this request.
* @param resource Name or id of the resource for this request.
- * @param content the {@link com.google.api.services.compute.model.GlobalSetPolicyRequest}
+ * @param content the {@link com.google.api.services.compute.model.TestPermissionsRequest}
* @since 1.13
*/
- protected SetIamPolicy(java.lang.String project, java.lang.String resource, com.google.api.services.compute.model.GlobalSetPolicyRequest content) {
- super(Compute.this, "POST", REST_PATH, content, com.google.api.services.compute.model.Policy.class);
+ protected TestIamPermissions(java.lang.String project, java.lang.String resource, com.google.api.services.compute.model.TestPermissionsRequest content) {
+ super(Compute.this, "POST", REST_PATH, content, com.google.api.services.compute.model.TestPermissionsResponse.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(),
@@ -121709,63 +124664,63 @@ protected SetIamPolicy(java.lang.String project, java.lang.String resource, com.
}
@Override
- public SetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
- return (SetIamPolicy) super.set$Xgafv($Xgafv);
+ public TestIamPermissions set$Xgafv(java.lang.String $Xgafv) {
+ return (TestIamPermissions) super.set$Xgafv($Xgafv);
}
@Override
- public SetIamPolicy setAccessToken(java.lang.String accessToken) {
- return (SetIamPolicy) super.setAccessToken(accessToken);
+ public TestIamPermissions setAccessToken(java.lang.String accessToken) {
+ return (TestIamPermissions) super.setAccessToken(accessToken);
}
@Override
- public SetIamPolicy setAlt(java.lang.String alt) {
- return (SetIamPolicy) super.setAlt(alt);
+ public TestIamPermissions setAlt(java.lang.String alt) {
+ return (TestIamPermissions) super.setAlt(alt);
}
@Override
- public SetIamPolicy setCallback(java.lang.String callback) {
- return (SetIamPolicy) super.setCallback(callback);
+ public TestIamPermissions setCallback(java.lang.String callback) {
+ return (TestIamPermissions) super.setCallback(callback);
}
@Override
- public SetIamPolicy setFields(java.lang.String fields) {
- return (SetIamPolicy) super.setFields(fields);
+ public TestIamPermissions setFields(java.lang.String fields) {
+ return (TestIamPermissions) super.setFields(fields);
}
@Override
- public SetIamPolicy setKey(java.lang.String key) {
- return (SetIamPolicy) super.setKey(key);
+ public TestIamPermissions setKey(java.lang.String key) {
+ return (TestIamPermissions) super.setKey(key);
}
@Override
- public SetIamPolicy setOauthToken(java.lang.String oauthToken) {
- return (SetIamPolicy) super.setOauthToken(oauthToken);
+ public TestIamPermissions setOauthToken(java.lang.String oauthToken) {
+ return (TestIamPermissions) super.setOauthToken(oauthToken);
}
@Override
- public SetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (SetIamPolicy) super.setPrettyPrint(prettyPrint);
+ public TestIamPermissions setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (TestIamPermissions) super.setPrettyPrint(prettyPrint);
}
@Override
- public SetIamPolicy setQuotaUser(java.lang.String quotaUser) {
- return (SetIamPolicy) super.setQuotaUser(quotaUser);
+ public TestIamPermissions setQuotaUser(java.lang.String quotaUser) {
+ return (TestIamPermissions) super.setQuotaUser(quotaUser);
}
@Override
- public SetIamPolicy setUploadType(java.lang.String uploadType) {
- return (SetIamPolicy) super.setUploadType(uploadType);
+ public TestIamPermissions setUploadType(java.lang.String uploadType) {
+ return (TestIamPermissions) super.setUploadType(uploadType);
}
@Override
- public SetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
- return (SetIamPolicy) super.setUploadProtocol(uploadProtocol);
+ public TestIamPermissions setUploadProtocol(java.lang.String uploadProtocol) {
+ return (TestIamPermissions) super.setUploadProtocol(uploadProtocol);
}
@Override
- public SetIamPolicy setUserIp(java.lang.String userIp) {
- return (SetIamPolicy) super.setUserIp(userIp);
+ public TestIamPermissions setUserIp(java.lang.String userIp) {
+ return (TestIamPermissions) super.setUserIp(userIp);
}
/** Project ID for this request. */
@@ -121779,7 +124734,7 @@ public java.lang.String getProject() {
}
/** Project ID for this request. */
- public SetIamPolicy setProject(java.lang.String project) {
+ public TestIamPermissions 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 " +
@@ -121800,7 +124755,7 @@ public java.lang.String getResource() {
}
/** Name or id of the resource for this request. */
- public SetIamPolicy setResource(java.lang.String resource) {
+ public TestIamPermissions setResource(java.lang.String resource) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
"Parameter resource must conform to the pattern " +
@@ -121811,70 +124766,101 @@ public SetIamPolicy setResource(java.lang.String resource) {
}
@Override
- public SetIamPolicy set(String parameterName, Object value) {
- return (SetIamPolicy) super.set(parameterName, value);
+ public TestIamPermissions set(String parameterName, Object value) {
+ return (TestIamPermissions) super.set(parameterName, value);
}
}
+
+ }
+
+ /**
+ * An accessor for creating requests from the NetworkLocationBindings collection.
+ *
+ * The typical use is:
+ *
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.NetworkLocationBindings.List request = compute.networkLocationBindings().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public NetworkLocationBindings networkLocationBindings() {
+ return new NetworkLocationBindings();
+ }
+
+ /**
+ * The "networkLocationBindings" collection of methods.
+ */
+ public class NetworkLocationBindings {
+
/**
- * Returns permissions that a caller has on the specified resource.
+ * Returns the specified NetworkLocationBinding resource in the given scope.
*
- * Create a request for the method "networkFirewallPolicies.testIamPermissions".
+ * Create a request for the method "networkLocationBindings.get".
*
* This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link TestIamPermissions#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
- * @param resource Name or id of the resource for this request.
- * @param content the {@link com.google.api.services.compute.model.TestPermissionsRequest}
+ * @param region Name of the region of this request.
+ * @param networkLocationBinding Name of the NetworkLocationBinding resource to return.
* @return the request
*/
- public TestIamPermissions testIamPermissions(java.lang.String project, java.lang.String resource, com.google.api.services.compute.model.TestPermissionsRequest content) throws java.io.IOException {
- TestIamPermissions result = new TestIamPermissions(project, resource, content);
+ public Get get(java.lang.String project, java.lang.String region, java.lang.String networkLocationBinding) throws java.io.IOException {
+ Get result = new Get(project, region, networkLocationBinding);
initialize(result);
return result;
}
- public class TestIamPermissions extends ComputeRequest {
+ public class Get extends ComputeRequest {
- private static final String REST_PATH = "projects/{project}/global/firewallPolicies/{resource}/testIamPermissions";
+ private static final String REST_PATH = "projects/{project}/regions/{region}/networkLocationBindings/{networkLocationBinding}";
private static final String API_VERSION = "2026-10-01-preview";
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 RESOURCE_PATTERN =
- java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ 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 NETWORK_LOCATION_BINDING_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
/**
- * Returns permissions that a caller has on the specified resource.
+ * Returns the specified NetworkLocationBinding resource in the given scope.
*
- * Create a request for the method "networkFirewallPolicies.testIamPermissions".
+ * Create a request for the method "networkLocationBindings.get".
*
* This request holds the parameters needed by the the compute server. After setting any optional
- * parameters, call the {@link TestIamPermissions#execute()} method to invoke the remote
- * operation. {@link TestIamPermissions#initialize(com.google.api.client.googleapis.services.A
- * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor.
+ * 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 Project ID for this request.
- * @param resource Name or id of the resource for this request.
- * @param content the {@link com.google.api.services.compute.model.TestPermissionsRequest}
+ * @param region Name of the region of this request.
+ * @param networkLocationBinding Name of the NetworkLocationBinding resource to return.
* @since 1.13
*/
- protected TestIamPermissions(java.lang.String project, java.lang.String resource, com.google.api.services.compute.model.TestPermissionsRequest content) {
- super(Compute.this, "POST", REST_PATH, content, com.google.api.services.compute.model.TestPermissionsResponse.class);
+ protected Get(java.lang.String project, java.lang.String region, java.lang.String networkLocationBinding) {
+ super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.NetworkLocationBinding.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.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
+ 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(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
- "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ 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.networkLocationBinding = com.google.api.client.util.Preconditions.checkNotNull(networkLocationBinding, "Required parameter networkLocationBinding must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NETWORK_LOCATION_BINDING_PATTERN.matcher(networkLocationBinding).matches(),
+ "Parameter networkLocationBinding must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
}
// Does not override the API_VERSION if already configured
com.google.api.client.http.HttpHeaders headers = getRequestHeaders();
@@ -121884,63 +124870,73 @@ protected TestIamPermissions(java.lang.String project, java.lang.String resource
}
@Override
- public TestIamPermissions set$Xgafv(java.lang.String $Xgafv) {
- return (TestIamPermissions) super.set$Xgafv($Xgafv);
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
}
@Override
- public TestIamPermissions setAccessToken(java.lang.String accessToken) {
- return (TestIamPermissions) super.setAccessToken(accessToken);
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
}
@Override
- public TestIamPermissions setAlt(java.lang.String alt) {
- return (TestIamPermissions) super.setAlt(alt);
+ public Get set$Xgafv(java.lang.String $Xgafv) {
+ return (Get) super.set$Xgafv($Xgafv);
}
@Override
- public TestIamPermissions setCallback(java.lang.String callback) {
- return (TestIamPermissions) super.setCallback(callback);
+ public Get setAccessToken(java.lang.String accessToken) {
+ return (Get) super.setAccessToken(accessToken);
}
@Override
- public TestIamPermissions setFields(java.lang.String fields) {
- return (TestIamPermissions) super.setFields(fields);
+ public Get setAlt(java.lang.String alt) {
+ return (Get) super.setAlt(alt);
}
@Override
- public TestIamPermissions setKey(java.lang.String key) {
- return (TestIamPermissions) super.setKey(key);
+ public Get setCallback(java.lang.String callback) {
+ return (Get) super.setCallback(callback);
}
@Override
- public TestIamPermissions setOauthToken(java.lang.String oauthToken) {
- return (TestIamPermissions) super.setOauthToken(oauthToken);
+ public Get setFields(java.lang.String fields) {
+ return (Get) super.setFields(fields);
}
@Override
- public TestIamPermissions setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (TestIamPermissions) super.setPrettyPrint(prettyPrint);
+ public Get setKey(java.lang.String key) {
+ return (Get) super.setKey(key);
}
@Override
- public TestIamPermissions setQuotaUser(java.lang.String quotaUser) {
- return (TestIamPermissions) super.setQuotaUser(quotaUser);
+ public Get setOauthToken(java.lang.String oauthToken) {
+ return (Get) super.setOauthToken(oauthToken);
}
@Override
- public TestIamPermissions setUploadType(java.lang.String uploadType) {
- return (TestIamPermissions) super.setUploadType(uploadType);
+ public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Get) super.setPrettyPrint(prettyPrint);
}
@Override
- public TestIamPermissions setUploadProtocol(java.lang.String uploadProtocol) {
- return (TestIamPermissions) super.setUploadProtocol(uploadProtocol);
+ public Get setQuotaUser(java.lang.String quotaUser) {
+ return (Get) super.setQuotaUser(quotaUser);
}
@Override
- public TestIamPermissions setUserIp(java.lang.String userIp) {
- return (TestIamPermissions) super.setUserIp(userIp);
+ 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);
}
/** Project ID for this request. */
@@ -121954,7 +124950,7 @@ public java.lang.String getProject() {
}
/** Project ID for this request. */
- public TestIamPermissions setProject(java.lang.String project) {
+ 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 " +
@@ -121964,30 +124960,465 @@ public TestIamPermissions setProject(java.lang.String project) {
return this;
}
- /** Name or id of the resource for this request. */
+ /** Name of the region of this request. */
@com.google.api.client.util.Key
- private java.lang.String resource;
+ private java.lang.String region;
- /** Name or id of the resource for this request.
+ /** Name of the region of this request.
*/
- public java.lang.String getResource() {
- return resource;
+ public java.lang.String getRegion() {
+ return region;
}
- /** Name or id of the resource for this request. */
- public TestIamPermissions setResource(java.lang.String resource) {
+ /** Name of the region of this request. */
+ public Get setRegion(java.lang.String region) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
- "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ 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.resource = resource;
+ this.region = region;
+ return this;
+ }
+
+ /** Name of the NetworkLocationBinding resource to return. */
+ @com.google.api.client.util.Key
+ private java.lang.String networkLocationBinding;
+
+ /** Name of the NetworkLocationBinding resource to return.
+ */
+ public java.lang.String getNetworkLocationBinding() {
+ return networkLocationBinding;
+ }
+
+ /** Name of the NetworkLocationBinding resource to return. */
+ public Get setNetworkLocationBinding(java.lang.String networkLocationBinding) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NETWORK_LOCATION_BINDING_PATTERN.matcher(networkLocationBinding).matches(),
+ "Parameter networkLocationBinding must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ this.networkLocationBinding = networkLocationBinding;
return this;
}
@Override
- public TestIamPermissions set(String parameterName, Object value) {
- return (TestIamPermissions) super.set(parameterName, value);
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Lists the NetworkLocationBindings for a project in the given scope.
+ *
+ * Create a request for the method "networkLocationBindings.list".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link List#execute()} method to invoke the remote operation.
+ *
+ * @param project Project ID for this request.
+ * @param region Name of the region of this request.
+ * @return the request
+ */
+ public List list(java.lang.String project, java.lang.String region) throws java.io.IOException {
+ List result = new List(project, region);
+ initialize(result);
+ return result;
+ }
+
+ public class List extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/regions/{region}/networkLocationBindings";
+
+ private static final String API_VERSION = "2026-10-01-preview";
+
+ 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])?");
+
+ /**
+ * Lists the NetworkLocationBindings for a project in the given scope.
+ *
+ * Create a request for the method "networkLocationBindings.list".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link List#execute()} method to invoke the remote operation. {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param project Project ID for this request.
+ * @param region Name of the region of this request.
+ * @since 1.13
+ */
+ protected List(java.lang.String project, java.lang.String region) {
+ super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.NetworkLocationBindingList.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])?");
+ }
+ // Does not override the API_VERSION if already configured
+ com.google.api.client.http.HttpHeaders headers = getRequestHeaders();
+ if (headers.get(API_VERSION_HEADER) == null) {
+ headers.set(API_VERSION_HEADER, API_VERSION);
+ }
+ }
+
+ @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 List set$Xgafv(java.lang.String $Xgafv) {
+ return (List) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public List setAccessToken(java.lang.String accessToken) {
+ return (List) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public List setAlt(java.lang.String alt) {
+ return (List) super.setAlt(alt);
+ }
+
+ @Override
+ public List setCallback(java.lang.String callback) {
+ return (List) super.setCallback(callback);
+ }
+
+ @Override
+ public List setFields(java.lang.String fields) {
+ return (List) super.setFields(fields);
+ }
+
+ @Override
+ public List setKey(java.lang.String key) {
+ return (List) super.setKey(key);
+ }
+
+ @Override
+ public List setOauthToken(java.lang.String oauthToken) {
+ return (List) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public List setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (List) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public List setQuotaUser(java.lang.String quotaUser) {
+ return (List) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public List setUploadType(java.lang.String uploadType) {
+ return (List) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public List setUploadProtocol(java.lang.String uploadProtocol) {
+ return (List) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public List setUserIp(java.lang.String userIp) {
+ return (List) super.setUserIp(userIp);
+ }
+
+ /** Project ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String project;
+
+ /** Project ID for this request.
+ */
+ public java.lang.String getProject() {
+ return project;
+ }
+
+ /** Project ID for this request. */
+ public List 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;
+ }
+
+ /** Name of the region of this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String region;
+
+ /** Name of the region of this request.
+ */
+ public java.lang.String getRegion() {
+ return region;
+ }
+
+ /** Name of the region of this request. */
+ public List 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;
+ }
+
+ /**
+ * A filter expression that filters resources listed in the response. Most Compute resources
+ * support two types of filter expressions: expressions that support regular expressions and
+ * expressions that follow API improvement proposal AIP-160. These two types of filter
+ * expressions cannot be mixed in one request.
+ *
+ * If you want to use AIP-160, your expression must specify the field name, an operator, and
+ * the value that you want to use for filtering. The value must be a string, a number, or a
+ * boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
+ *
+ * For example, if you are filtering Compute Engine instances, you can exclude instances named
+ * `example-instance` by specifying `name != example-instance`.
+ *
+ * The `:*` comparison can be used to test whether a key has been defined. For example, to
+ * find all objects with `owner` label use: ``` labels.owner:* ```
+ *
+ * You can also filter nested fields. For example, you could specify
+ * `scheduling.automaticRestart = false` to include instances only if they are not scheduled
+ * for automatic restarts. You can use filtering on nested fields to filter based onresource
+ * labels.
+ *
+ * To filter on multiple expressions, provide each separate expression within parentheses. For
+ * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
+ * default, each expression is an `AND` expression. However, you can include `AND` and `OR`
+ * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
+ * "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
+ *
+ * If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator
+ * against a single un-parenthesized expression with or without quotes or against multiple
+ * parenthesized expressions. Examples:
+ *
+ * `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq
+ * "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")`
+ *
+ * The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
+ * The literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not end with name "instance", you would use
+ * `name ne .*instance`.
+ *
+ * You cannot combine constraints on multiple fields using regular expressions.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String filter;
+
+ /** A filter expression that filters resources listed in the response. Most Compute resources support
+ two types of filter expressions: expressions that support regular expressions and expressions that
+ follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in
+ one request.
+
+ If you want to use AIP-160, your expression must specify the field name, an operator, and the value
+ that you want to use for filtering. The value must be a string, a number, or a boolean. The
+ operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
+
+ For example, if you are filtering Compute Engine instances, you can exclude instances named
+ `example-instance` by specifying `name != example-instance`.
+
+ The `:*` comparison can be used to test whether a key has been defined. For example, to find all
+ objects with `owner` label use: ``` labels.owner:* ```
+
+ You can also filter nested fields. For example, you could specify `scheduling.automaticRestart =
+ false` to include instances only if they are not scheduled for automatic restarts. You can use
+ filtering on nested fields to filter based onresource labels.
+
+ To filter on multiple expressions, provide each separate expression within parentheses. For
+ example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default,
+ each expression is an `AND` expression. However, you can include `AND` and `OR` expressions
+ explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell")
+ AND (scheduling.automaticRestart = true) ```
+
+ If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against
+ a single un-parenthesized expression with or without quotes or against multiple parenthesized
+ expressions. Examples:
+
+ `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted
+ literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")`
+
+ The literal value is interpreted as a regular expression using GoogleRE2 library syntax. The
+ literal value must match the entire field.
+
+ For example, to filter for instances that do not end with name "instance", you would use `name ne
+ .*instance`.
+
+ You cannot combine constraints on multiple fields using regular expressions.
+ */
+ public java.lang.String getFilter() {
+ return filter;
+ }
+
+ /**
+ * A filter expression that filters resources listed in the response. Most Compute resources
+ * support two types of filter expressions: expressions that support regular expressions and
+ * expressions that follow API improvement proposal AIP-160. These two types of filter
+ * expressions cannot be mixed in one request.
+ *
+ * If you want to use AIP-160, your expression must specify the field name, an operator, and
+ * the value that you want to use for filtering. The value must be a string, a number, or a
+ * boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
+ *
+ * For example, if you are filtering Compute Engine instances, you can exclude instances named
+ * `example-instance` by specifying `name != example-instance`.
+ *
+ * The `:*` comparison can be used to test whether a key has been defined. For example, to
+ * find all objects with `owner` label use: ``` labels.owner:* ```
+ *
+ * You can also filter nested fields. For example, you could specify
+ * `scheduling.automaticRestart = false` to include instances only if they are not scheduled
+ * for automatic restarts. You can use filtering on nested fields to filter based onresource
+ * labels.
+ *
+ * To filter on multiple expressions, provide each separate expression within parentheses. For
+ * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
+ * default, each expression is an `AND` expression. However, you can include `AND` and `OR`
+ * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
+ * "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
+ *
+ * If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator
+ * against a single un-parenthesized expression with or without quotes or against multiple
+ * parenthesized expressions. Examples:
+ *
+ * `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq
+ * "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")`
+ *
+ * The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
+ * The literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not end with name "instance", you would use
+ * `name ne .*instance`.
+ *
+ * You cannot combine constraints on multiple fields using regular expressions.
+ */
+ public List setFilter(java.lang.String filter) {
+ this.filter = filter;
+ return this;
+ }
+
+ /**
+ * The maximum number of results per page that should be returned. If the number of available
+ * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be
+ * used to get the next page of results in subsequent list requests. Acceptable values are `0`
+ * to `500`, inclusive. (Default: `500`)
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Long maxResults;
+
+ /** The maximum number of results per page that should be returned. If the number of available results
+ is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the
+ next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive.
+ (Default: `500`) [default: 500] [minimum: 0]
+ */
+ public java.lang.Long getMaxResults() {
+ return maxResults;
+ }
+
+ /**
+ * The maximum number of results per page that should be returned. If the number of available
+ * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be
+ * used to get the next page of results in subsequent list requests. Acceptable values are `0`
+ * to `500`, inclusive. (Default: `500`)
+ */
+ public List setMaxResults(java.lang.Long maxResults) {
+ this.maxResults = maxResults;
+ return this;
+ }
+
+ /**
+ * Sorts list results by a certain order. By default, results are returned in alphanumerical
+ * order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp using
+ * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
+ * field in reverse chronological order (newest result first). Use this to sort resources like
+ * operations so that the newest operation is returned first.
+ *
+ * Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String orderBy;
+
+ /** Sorts list results by a certain order. By default, results are returned in alphanumerical order
+ based on the resource name.
+
+ You can also sort results in descending order based on the creation timestamp using
+ `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in
+ reverse chronological order (newest result first). Use this to sort resources like operations so
+ that the newest operation is returned first.
+
+ Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ */
+ public java.lang.String getOrderBy() {
+ return orderBy;
+ }
+
+ /**
+ * Sorts list results by a certain order. By default, results are returned in alphanumerical
+ * order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp using
+ * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
+ * field in reverse chronological order (newest result first). Use this to sort resources like
+ * operations so that the newest operation is returned first.
+ *
+ * Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ */
+ public List setOrderBy(java.lang.String orderBy) {
+ this.orderBy = orderBy;
+ return this;
+ }
+
+ /**
+ * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a
+ * previous list request to get the next page of results.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String pageToken;
+
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list
+ request to get the next page of results.
+ */
+ public java.lang.String getPageToken() {
+ return pageToken;
+ }
+
+ /**
+ * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a
+ * previous list request to get the next page of results.
+ */
+ public List setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
+ return this;
+ }
+
+ @Override
+ public List set(String parameterName, Object value) {
+ return (List) super.set(parameterName, value);
}
}
@@ -205868,6 +209299,9 @@ public class FetchEncryptionKey extends ComputeRequest 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 ConfidentialParavisorConfig extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Defines the type of TPM to use for the confidential instance.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String confidentialTpmType;
+
+ /**
+ * Defines the IRQ mode to use for the confidential instance.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String sevSnpIrqMode;
+
+ /**
+ * Defines the type of TPM to use for the confidential instance.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getConfidentialTpmType() {
+ return confidentialTpmType;
+ }
+
+ /**
+ * Defines the type of TPM to use for the confidential instance.
+ * @param confidentialTpmType confidentialTpmType or {@code null} for none
+ */
+ public ConfidentialParavisorConfig setConfidentialTpmType(java.lang.String confidentialTpmType) {
+ this.confidentialTpmType = confidentialTpmType;
+ return this;
+ }
+
+ /**
+ * Defines the IRQ mode to use for the confidential instance.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getSevSnpIrqMode() {
+ return sevSnpIrqMode;
+ }
+
+ /**
+ * Defines the IRQ mode to use for the confidential instance.
+ * @param sevSnpIrqMode sevSnpIrqMode or {@code null} for none
+ */
+ public ConfidentialParavisorConfig setSevSnpIrqMode(java.lang.String sevSnpIrqMode) {
+ this.sevSnpIrqMode = sevSnpIrqMode;
+ return this;
+ }
+
+ @Override
+ public ConfidentialParavisorConfig set(String fieldName, Object value) {
+ return (ConfidentialParavisorConfig) super.set(fieldName, value);
+ }
+
+ @Override
+ public ConfidentialParavisorConfig clone() {
+ return (ConfidentialParavisorConfig) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/FolderRolloutsListResponse.java b/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/FolderRolloutsListResponse.java
new file mode 100644
index 00000000000..0a1b4ec5293
--- /dev/null
+++ b/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/FolderRolloutsListResponse.java
@@ -0,0 +1,401 @@
+/*
+ * 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;
+
+/**
+ * Model definition for FolderRolloutsListResponse.
+ *
+ * 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 FolderRolloutsListResponse extends com.google.api.client.json.GenericJson {
+
+ /**
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String etag;
+
+ /**
+ * [Output Only] Unique identifier for the resource; defined by the server.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String id;
+
+ /**
+ * A list of Rollout resources.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List items;
+
+ /**
+ * [Output Only] This token allows you to get the next page of results for list requests. If the
+ * number of results is larger thanmaxResults, use the nextPageToken as a value for the query
+ * parameter pageToken in the next list request. Subsequent list requests will have their own
+ * nextPageToken to continue paging through the results.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String nextPageToken;
+
+ /**
+ * Output only. [Output Only] Server-defined URL for this resource.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String selfLink;
+
+ /**
+ * Output only. [Output Only] Unreachable resources. end_interface:
+ * MixerListResponseWithEtagBuilder
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List unreachables;
+
+ /**
+ * [Output Only] Informational warning message.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private Warning warning;
+
+ /**
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getEtag() {
+ return etag;
+ }
+
+ /**
+ * @param etag etag or {@code null} for none
+ */
+ public FolderRolloutsListResponse setEtag(java.lang.String etag) {
+ this.etag = etag;
+ return this;
+ }
+
+ /**
+ * [Output Only] Unique identifier for the resource; defined by the server.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getId() {
+ return id;
+ }
+
+ /**
+ * [Output Only] Unique identifier for the resource; defined by the server.
+ * @param id id or {@code null} for none
+ */
+ public FolderRolloutsListResponse setId(java.lang.String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * A list of Rollout resources.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getItems() {
+ return items;
+ }
+
+ /**
+ * A list of Rollout resources.
+ * @param items items or {@code null} for none
+ */
+ public FolderRolloutsListResponse setItems(java.util.List items) {
+ this.items = items;
+ return this;
+ }
+
+ /**
+ * [Output Only] This token allows you to get the next page of results for list requests. If the
+ * number of results is larger thanmaxResults, use the nextPageToken as a value for the query
+ * parameter pageToken in the next list request. Subsequent list requests will have their own
+ * nextPageToken to continue paging through the results.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getNextPageToken() {
+ return nextPageToken;
+ }
+
+ /**
+ * [Output Only] This token allows you to get the next page of results for list requests. If the
+ * number of results is larger thanmaxResults, use the nextPageToken as a value for the query
+ * parameter pageToken in the next list request. Subsequent list requests will have their own
+ * nextPageToken to continue paging through the results.
+ * @param nextPageToken nextPageToken or {@code null} for none
+ */
+ public FolderRolloutsListResponse setNextPageToken(java.lang.String nextPageToken) {
+ this.nextPageToken = nextPageToken;
+ return this;
+ }
+
+ /**
+ * Output only. [Output Only] Server-defined URL for this resource.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getSelfLink() {
+ return selfLink;
+ }
+
+ /**
+ * Output only. [Output Only] Server-defined URL for this resource.
+ * @param selfLink selfLink or {@code null} for none
+ */
+ public FolderRolloutsListResponse setSelfLink(java.lang.String selfLink) {
+ this.selfLink = selfLink;
+ return this;
+ }
+
+ /**
+ * Output only. [Output Only] Unreachable resources. end_interface:
+ * MixerListResponseWithEtagBuilder
+ * @return value or {@code null} for none
+ */
+ public java.util.List getUnreachables() {
+ return unreachables;
+ }
+
+ /**
+ * Output only. [Output Only] Unreachable resources. end_interface:
+ * MixerListResponseWithEtagBuilder
+ * @param unreachables unreachables or {@code null} for none
+ */
+ public FolderRolloutsListResponse setUnreachables(java.util.List unreachables) {
+ this.unreachables = unreachables;
+ return this;
+ }
+
+ /**
+ * [Output Only] Informational warning message.
+ * @return value or {@code null} for none
+ */
+ public Warning getWarning() {
+ return warning;
+ }
+
+ /**
+ * [Output Only] Informational warning message.
+ * @param warning warning or {@code null} for none
+ */
+ public FolderRolloutsListResponse setWarning(Warning warning) {
+ this.warning = warning;
+ return this;
+ }
+
+ @Override
+ public FolderRolloutsListResponse set(String fieldName, Object value) {
+ return (FolderRolloutsListResponse) super.set(fieldName, value);
+ }
+
+ @Override
+ public FolderRolloutsListResponse clone() {
+ return (FolderRolloutsListResponse) super.clone();
+ }
+
+ /**
+ * [Output Only] Informational warning message.
+ */
+ public static final class Warning extends com.google.api.client.json.GenericJson {
+
+ /**
+ * [Output Only] A warning code, if applicable. For example, Compute Engine returns
+ * NO_RESULTS_ON_PAGE if there are no results in the response.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String code;
+
+ /**
+ * [Output Only] Metadata about this warning in key: value format. For example:
+ *
+ * "data": [ { "key": "scope", "value": "zones/us-east1-d" }]
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List data;
+
+ static {
+ // hack to force ProGuard to consider Data used, since otherwise it would be stripped out
+ // see https://github.com/google/google-api-java-client/issues/543
+ com.google.api.client.util.Data.nullOf(Data.class);
+ }
+
+ /**
+ * [Output Only] A human-readable description of the warning code.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String message;
+
+ /**
+ * [Output Only] A warning code, if applicable. For example, Compute Engine returns
+ * NO_RESULTS_ON_PAGE if there are no results in the response.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getCode() {
+ return code;
+ }
+
+ /**
+ * [Output Only] A warning code, if applicable. For example, Compute Engine returns
+ * NO_RESULTS_ON_PAGE if there are no results in the response.
+ * @param code code or {@code null} for none
+ */
+ public Warning setCode(java.lang.String code) {
+ this.code = code;
+ return this;
+ }
+
+ /**
+ * [Output Only] Metadata about this warning in key: value format. For example:
+ *
+ * "data": [ { "key": "scope", "value": "zones/us-east1-d" }]
+ * @return value or {@code null} for none
+ */
+ public java.util.List getData() {
+ return data;
+ }
+
+ /**
+ * [Output Only] Metadata about this warning in key: value format. For example:
+ *
+ * "data": [ { "key": "scope", "value": "zones/us-east1-d" }]
+ * @param data data or {@code null} for none
+ */
+ public Warning setData(java.util.List data) {
+ this.data = data;
+ return this;
+ }
+
+ /**
+ * [Output Only] A human-readable description of the warning code.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getMessage() {
+ return message;
+ }
+
+ /**
+ * [Output Only] A human-readable description of the warning code.
+ * @param message message or {@code null} for none
+ */
+ public Warning setMessage(java.lang.String message) {
+ this.message = message;
+ return this;
+ }
+
+ @Override
+ public Warning set(String fieldName, Object value) {
+ return (Warning) super.set(fieldName, value);
+ }
+
+ @Override
+ public Warning clone() {
+ return (Warning) super.clone();
+ }
+
+ /**
+ * Model definition for FolderRolloutsListResponseWarningData.
+ */
+ public static final class Data extends com.google.api.client.json.GenericJson {
+
+ /**
+ * [Output Only] A key that provides more detail on the warning being returned. For example, for
+ * warnings where there are no results in a list request for a particular zone, this key might be
+ * scope and the key value might be the zone name. Other examples might be a key indicating a
+ * deprecated resource and a suggested replacement, or a warning about invalid network settings
+ * (for example, if an instance attempts to perform IP forwarding but is not enabled for IP
+ * forwarding).
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String key;
+
+ /**
+ * [Output Only] A warning data value corresponding to the key.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String value;
+
+ /**
+ * [Output Only] A key that provides more detail on the warning being returned. For example, for
+ * warnings where there are no results in a list request for a particular zone, this key might be
+ * scope and the key value might be the zone name. Other examples might be a key indicating a
+ * deprecated resource and a suggested replacement, or a warning about invalid network settings
+ * (for example, if an instance attempts to perform IP forwarding but is not enabled for IP
+ * forwarding).
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getKey() {
+ return key;
+ }
+
+ /**
+ * [Output Only] A key that provides more detail on the warning being returned. For example, for
+ * warnings where there are no results in a list request for a particular zone, this key might be
+ * scope and the key value might be the zone name. Other examples might be a key indicating a
+ * deprecated resource and a suggested replacement, or a warning about invalid network settings
+ * (for example, if an instance attempts to perform IP forwarding but is not enabled for IP
+ * forwarding).
+ * @param key key or {@code null} for none
+ */
+ public Data setKey(java.lang.String key) {
+ this.key = key;
+ return this;
+ }
+
+ /**
+ * [Output Only] A warning data value corresponding to the key.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getValue() {
+ return value;
+ }
+
+ /**
+ * [Output Only] A warning data value corresponding to the key.
+ * @param value value or {@code null} for none
+ */
+ public Data setValue(java.lang.String value) {
+ this.value = value;
+ return this;
+ }
+
+ @Override
+ public Data set(String fieldName, Object value) {
+ return (Data) super.set(fieldName, value);
+ }
+
+ @Override
+ public Data clone() {
+ return (Data) super.clone();
+ }
+
+ }
+ }
+}
diff --git a/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/InstanceFlexibilityPolicyInstanceSelection.java b/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/InstanceFlexibilityPolicyInstanceSelection.java
index 8ffdd9adfc4..17d5f635af0 100644
--- a/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/InstanceFlexibilityPolicyInstanceSelection.java
+++ b/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/InstanceFlexibilityPolicyInstanceSelection.java
@@ -54,6 +54,20 @@ public final class InstanceFlexibilityPolicyInstanceSelection extends com.google
@com.google.api.client.util.Key
private java.util.List machineTypes;
+ /**
+ * Metadata key/value pairs assigned to instances created from this selection. Key/value pairs
+ * specified here override keys specified in the instance properties on a key-by-key basis.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List metadataOverrides;
+
+ static {
+ // hack to force ProGuard to consider MetadataOverrides used, since otherwise it would be stripped out
+ // see https://github.com/google/google-api-java-client/issues/543
+ com.google.api.client.util.Data.nullOf(MetadataOverrides.class);
+ }
+
/**
* Name of the minimum CPU platform to be used by this instance selection. e.g. 'Intel Ice Lake'.
* The value may be {@code null}.
@@ -109,6 +123,25 @@ public InstanceFlexibilityPolicyInstanceSelection setMachineTypes(java.util.List
return this;
}
+ /**
+ * Metadata key/value pairs assigned to instances created from this selection. Key/value pairs
+ * specified here override keys specified in the instance properties on a key-by-key basis.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getMetadataOverrides() {
+ return metadataOverrides;
+ }
+
+ /**
+ * Metadata key/value pairs assigned to instances created from this selection. Key/value pairs
+ * specified here override keys specified in the instance properties on a key-by-key basis.
+ * @param metadataOverrides metadataOverrides or {@code null} for none
+ */
+ public InstanceFlexibilityPolicyInstanceSelection setMetadataOverrides(java.util.List metadataOverrides) {
+ this.metadataOverrides = metadataOverrides;
+ return this;
+ }
+
/**
* Name of the minimum CPU platform to be used by this instance selection. e.g. 'Intel Ice Lake'.
* @return value or {@code null} for none
@@ -155,4 +188,84 @@ public InstanceFlexibilityPolicyInstanceSelection clone() {
return (InstanceFlexibilityPolicyInstanceSelection) super.clone();
}
+ /**
+ * Metadata
+ */
+ public static final class MetadataOverrides extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be
+ * less than 128 bytes in length. This is reflected as part of a URL in the metadata server.
+ * Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the
+ * project.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String key;
+
+ /**
+ * Value for the metadata entry. These are free-form strings, and only have meaning as interpreted
+ * by the image running in the instance. The only restriction placed on values is that their size
+ * must be less than or equal to 262144 bytes (256 KiB).
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String value;
+
+ /**
+ * Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be
+ * less than 128 bytes in length. This is reflected as part of a URL in the metadata server.
+ * Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the
+ * project.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getKey() {
+ return key;
+ }
+
+ /**
+ * Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be
+ * less than 128 bytes in length. This is reflected as part of a URL in the metadata server.
+ * Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the
+ * project.
+ * @param key key or {@code null} for none
+ */
+ public MetadataOverrides setKey(java.lang.String key) {
+ this.key = key;
+ return this;
+ }
+
+ /**
+ * Value for the metadata entry. These are free-form strings, and only have meaning as interpreted
+ * by the image running in the instance. The only restriction placed on values is that their size
+ * must be less than or equal to 262144 bytes (256 KiB).
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getValue() {
+ return value;
+ }
+
+ /**
+ * Value for the metadata entry. These are free-form strings, and only have meaning as interpreted
+ * by the image running in the instance. The only restriction placed on values is that their size
+ * must be less than or equal to 262144 bytes (256 KiB).
+ * @param value value or {@code null} for none
+ */
+ public MetadataOverrides setValue(java.lang.String value) {
+ this.value = value;
+ return this;
+ }
+
+ @Override
+ public MetadataOverrides set(String fieldName, Object value) {
+ return (MetadataOverrides) super.set(fieldName, value);
+ }
+
+ @Override
+ public MetadataOverrides clone() {
+ return (MetadataOverrides) super.clone();
+ }
+
+ }
+
}
diff --git a/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/Network.java b/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/Network.java
index b381067197e..ed7de62bd59 100644
--- a/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/Network.java
+++ b/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/Network.java
@@ -147,6 +147,14 @@ public final class Network extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String networkFirewallPolicyEnforcementOrder;
+ /**
+ * Output only. [Output Only] List of server-defined fully-qualified URLs of regional network
+ * location bindings in this VPC network.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List networkLocationBindings;
+
/**
* A full or partial URL of the network profile to apply to this network. This field can be set
* only at resource creation time. For example, the following are valid URLs: - https://ww
@@ -470,6 +478,25 @@ public Network setNetworkFirewallPolicyEnforcementOrder(java.lang.String network
return this;
}
+ /**
+ * Output only. [Output Only] List of server-defined fully-qualified URLs of regional network
+ * location bindings in this VPC network.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getNetworkLocationBindings() {
+ return networkLocationBindings;
+ }
+
+ /**
+ * Output only. [Output Only] List of server-defined fully-qualified URLs of regional network
+ * location bindings in this VPC network.
+ * @param networkLocationBindings networkLocationBindings or {@code null} for none
+ */
+ public Network setNetworkLocationBindings(java.util.List networkLocationBindings) {
+ this.networkLocationBindings = networkLocationBindings;
+ return this;
+ }
+
/**
* A full or partial URL of the network profile to apply to this network. This field can be set
* only at resource creation time. For example, the following are valid URLs: - https://ww
diff --git a/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/NetworkLocationBinding.java b/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/NetworkLocationBinding.java
new file mode 100644
index 00000000000..3dfa24be43f
--- /dev/null
+++ b/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/NetworkLocationBinding.java
@@ -0,0 +1,324 @@
+/*
+ * 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;
+
+/**
+ * A regional, read-only resource that reflects the physical location(s) (i.e. clusters) to which a
+ * special-purpose VPC network is bound, across the zones of a region. Its lifecycle is managed by
+ * the service: it is created when a network using a network profile that requires location binding
+ * is created, and deleted when that network is deleted.
+ *
+ * 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 NetworkLocationBinding extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Output only. [Output Only] Creation timestamp inRFC3339 text format.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String creationTimestamp;
+
+ /**
+ * Output only. [Output Only] An optional textual description of the resource.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String description;
+
+ /**
+ * Output only. [Output Only] The unique identifier for the resource type. The server generates
+ * this identifier.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key @com.google.api.client.json.JsonString
+ private java.math.BigInteger id;
+
+ /**
+ * Output only. [Output Only] Type of the resource. Alwayscompute#networkLocationBinding for
+ * network location bindings.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String kind;
+
+ /**
+ * Output only. [Output Only] Name of the resource. The name is generated by the server when the
+ * associated network is created.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
+
+ /**
+ * Output only. [Output Only] The network this network location binding belongs to.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String network;
+
+ /**
+ * Output only. [Output Only] URL of the region where the network location binding resides. You
+ * must specify this field as part of the HTTP request URL. It is not settable as a field in the
+ * request body.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String region;
+
+ /**
+ * Output only. [Output Only] Server-defined URL for the resource.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String selfLink;
+
+ /**
+ * Output only. [Output Only] Server-defined URL for this resource with the resource id.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String selfLinkWithId;
+
+ /**
+ * Output only. [Output Only] State of the binding.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String state;
+
+ /**
+ * Output only. [Output Only] Status and derived information about the network location binding.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private NetworkLocationBindingStatus status;
+
+ /**
+ * Output only. [Output Only] Creation timestamp inRFC3339 text format.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getCreationTimestamp() {
+ return creationTimestamp;
+ }
+
+ /**
+ * Output only. [Output Only] Creation timestamp inRFC3339 text format.
+ * @param creationTimestamp creationTimestamp or {@code null} for none
+ */
+ public NetworkLocationBinding setCreationTimestamp(java.lang.String creationTimestamp) {
+ this.creationTimestamp = creationTimestamp;
+ return this;
+ }
+
+ /**
+ * Output only. [Output Only] An optional textual description of the resource.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getDescription() {
+ return description;
+ }
+
+ /**
+ * Output only. [Output Only] An optional textual description of the resource.
+ * @param description description or {@code null} for none
+ */
+ public NetworkLocationBinding setDescription(java.lang.String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Output only. [Output Only] The unique identifier for the resource type. The server generates
+ * this identifier.
+ * @return value or {@code null} for none
+ */
+ public java.math.BigInteger getId() {
+ return id;
+ }
+
+ /**
+ * Output only. [Output Only] The unique identifier for the resource type. The server generates
+ * this identifier.
+ * @param id id or {@code null} for none
+ */
+ public NetworkLocationBinding setId(java.math.BigInteger id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * Output only. [Output Only] Type of the resource. Alwayscompute#networkLocationBinding for
+ * network location bindings.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getKind() {
+ return kind;
+ }
+
+ /**
+ * Output only. [Output Only] Type of the resource. Alwayscompute#networkLocationBinding for
+ * network location bindings.
+ * @param kind kind or {@code null} for none
+ */
+ public NetworkLocationBinding setKind(java.lang.String kind) {
+ this.kind = kind;
+ return this;
+ }
+
+ /**
+ * Output only. [Output Only] Name of the resource. The name is generated by the server when the
+ * associated network is created.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getName() {
+ return name;
+ }
+
+ /**
+ * Output only. [Output Only] Name of the resource. The name is generated by the server when the
+ * associated network is created.
+ * @param name name or {@code null} for none
+ */
+ public NetworkLocationBinding setName(java.lang.String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Output only. [Output Only] The network this network location binding belongs to.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getNetwork() {
+ return network;
+ }
+
+ /**
+ * Output only. [Output Only] The network this network location binding belongs to.
+ * @param network network or {@code null} for none
+ */
+ public NetworkLocationBinding setNetwork(java.lang.String network) {
+ this.network = network;
+ return this;
+ }
+
+ /**
+ * Output only. [Output Only] URL of the region where the network location binding resides. You
+ * must specify this field as part of the HTTP request URL. It is not settable as a field in the
+ * request body.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getRegion() {
+ return region;
+ }
+
+ /**
+ * Output only. [Output Only] URL of the region where the network location binding resides. You
+ * must specify this field as part of the HTTP request URL. It is not settable as a field in the
+ * request body.
+ * @param region region or {@code null} for none
+ */
+ public NetworkLocationBinding setRegion(java.lang.String region) {
+ this.region = region;
+ return this;
+ }
+
+ /**
+ * Output only. [Output Only] Server-defined URL for the resource.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getSelfLink() {
+ return selfLink;
+ }
+
+ /**
+ * Output only. [Output Only] Server-defined URL for the resource.
+ * @param selfLink selfLink or {@code null} for none
+ */
+ public NetworkLocationBinding setSelfLink(java.lang.String selfLink) {
+ this.selfLink = selfLink;
+ return this;
+ }
+
+ /**
+ * Output only. [Output Only] Server-defined URL for this resource with the resource id.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getSelfLinkWithId() {
+ return selfLinkWithId;
+ }
+
+ /**
+ * Output only. [Output Only] Server-defined URL for this resource with the resource id.
+ * @param selfLinkWithId selfLinkWithId or {@code null} for none
+ */
+ public NetworkLocationBinding setSelfLinkWithId(java.lang.String selfLinkWithId) {
+ this.selfLinkWithId = selfLinkWithId;
+ return this;
+ }
+
+ /**
+ * Output only. [Output Only] State of the binding.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getState() {
+ return state;
+ }
+
+ /**
+ * Output only. [Output Only] State of the binding.
+ * @param state state or {@code null} for none
+ */
+ public NetworkLocationBinding setState(java.lang.String state) {
+ this.state = state;
+ return this;
+ }
+
+ /**
+ * Output only. [Output Only] Status and derived information about the network location binding.
+ * @return value or {@code null} for none
+ */
+ public NetworkLocationBindingStatus getStatus() {
+ return status;
+ }
+
+ /**
+ * Output only. [Output Only] Status and derived information about the network location binding.
+ * @param status status or {@code null} for none
+ */
+ public NetworkLocationBinding setStatus(NetworkLocationBindingStatus status) {
+ this.status = status;
+ return this;
+ }
+
+ @Override
+ public NetworkLocationBinding set(String fieldName, Object value) {
+ return (NetworkLocationBinding) super.set(fieldName, value);
+ }
+
+ @Override
+ public NetworkLocationBinding clone() {
+ return (NetworkLocationBinding) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/NetworkLocationBindingList.java b/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/NetworkLocationBindingList.java
new file mode 100644
index 00000000000..f6914889f61
--- /dev/null
+++ b/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/NetworkLocationBindingList.java
@@ -0,0 +1,437 @@
+/*
+ * 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;
+
+/**
+ * Response message for NetworkLocationBindings.List.
+ *
+ * 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 NetworkLocationBindingList extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Server-defined ETag for optimistic concurrency control.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String etag;
+
+ /**
+ * [Output Only] Unique identifier for the resource; defined by the server.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String id;
+
+ /**
+ * A list of NetworkLocationBinding resources.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List items;
+
+ static {
+ // hack to force ProGuard to consider NetworkLocationBinding used, since otherwise it would be stripped out
+ // see https://github.com/google/google-api-java-client/issues/543
+ com.google.api.client.util.Data.nullOf(NetworkLocationBinding.class);
+ }
+
+ /**
+ * Output only. [Output Only] Type of the resource. Alwayscompute#networkLocationBindingList for a
+ * list of network location bindings.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String kind;
+
+ /**
+ * [Output Only] This token allows you to get the next page of results for list requests. If the
+ * number of results is larger thanmaxResults, use the nextPageToken as a value for the query
+ * parameter pageToken in the next list request. Subsequent list requests will have their own
+ * nextPageToken to continue paging through the results.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String nextPageToken;
+
+ /**
+ * [Output Only] Server-defined URL for this resource.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String selfLink;
+
+ /**
+ * Output only. [Output Only] Unreachable resources. end_interface:
+ * MixerListResponseWithEtagBuilder
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List unreachables;
+
+ /**
+ * [Output Only] Informational warning message.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private Warning warning;
+
+ /**
+ * Server-defined ETag for optimistic concurrency control.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getEtag() {
+ return etag;
+ }
+
+ /**
+ * Server-defined ETag for optimistic concurrency control.
+ * @param etag etag or {@code null} for none
+ */
+ public NetworkLocationBindingList setEtag(java.lang.String etag) {
+ this.etag = etag;
+ return this;
+ }
+
+ /**
+ * [Output Only] Unique identifier for the resource; defined by the server.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getId() {
+ return id;
+ }
+
+ /**
+ * [Output Only] Unique identifier for the resource; defined by the server.
+ * @param id id or {@code null} for none
+ */
+ public NetworkLocationBindingList setId(java.lang.String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * A list of NetworkLocationBinding resources.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getItems() {
+ return items;
+ }
+
+ /**
+ * A list of NetworkLocationBinding resources.
+ * @param items items or {@code null} for none
+ */
+ public NetworkLocationBindingList setItems(java.util.List items) {
+ this.items = items;
+ return this;
+ }
+
+ /**
+ * Output only. [Output Only] Type of the resource. Alwayscompute#networkLocationBindingList for a
+ * list of network location bindings.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getKind() {
+ return kind;
+ }
+
+ /**
+ * Output only. [Output Only] Type of the resource. Alwayscompute#networkLocationBindingList for a
+ * list of network location bindings.
+ * @param kind kind or {@code null} for none
+ */
+ public NetworkLocationBindingList setKind(java.lang.String kind) {
+ this.kind = kind;
+ return this;
+ }
+
+ /**
+ * [Output Only] This token allows you to get the next page of results for list requests. If the
+ * number of results is larger thanmaxResults, use the nextPageToken as a value for the query
+ * parameter pageToken in the next list request. Subsequent list requests will have their own
+ * nextPageToken to continue paging through the results.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getNextPageToken() {
+ return nextPageToken;
+ }
+
+ /**
+ * [Output Only] This token allows you to get the next page of results for list requests. If the
+ * number of results is larger thanmaxResults, use the nextPageToken as a value for the query
+ * parameter pageToken in the next list request. Subsequent list requests will have their own
+ * nextPageToken to continue paging through the results.
+ * @param nextPageToken nextPageToken or {@code null} for none
+ */
+ public NetworkLocationBindingList setNextPageToken(java.lang.String nextPageToken) {
+ this.nextPageToken = nextPageToken;
+ return this;
+ }
+
+ /**
+ * [Output Only] Server-defined URL for this resource.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getSelfLink() {
+ return selfLink;
+ }
+
+ /**
+ * [Output Only] Server-defined URL for this resource.
+ * @param selfLink selfLink or {@code null} for none
+ */
+ public NetworkLocationBindingList setSelfLink(java.lang.String selfLink) {
+ this.selfLink = selfLink;
+ return this;
+ }
+
+ /**
+ * Output only. [Output Only] Unreachable resources. end_interface:
+ * MixerListResponseWithEtagBuilder
+ * @return value or {@code null} for none
+ */
+ public java.util.List getUnreachables() {
+ return unreachables;
+ }
+
+ /**
+ * Output only. [Output Only] Unreachable resources. end_interface:
+ * MixerListResponseWithEtagBuilder
+ * @param unreachables unreachables or {@code null} for none
+ */
+ public NetworkLocationBindingList setUnreachables(java.util.List unreachables) {
+ this.unreachables = unreachables;
+ return this;
+ }
+
+ /**
+ * [Output Only] Informational warning message.
+ * @return value or {@code null} for none
+ */
+ public Warning getWarning() {
+ return warning;
+ }
+
+ /**
+ * [Output Only] Informational warning message.
+ * @param warning warning or {@code null} for none
+ */
+ public NetworkLocationBindingList setWarning(Warning warning) {
+ this.warning = warning;
+ return this;
+ }
+
+ @Override
+ public NetworkLocationBindingList set(String fieldName, Object value) {
+ return (NetworkLocationBindingList) super.set(fieldName, value);
+ }
+
+ @Override
+ public NetworkLocationBindingList clone() {
+ return (NetworkLocationBindingList) super.clone();
+ }
+
+ /**
+ * [Output Only] Informational warning message.
+ */
+ public static final class Warning extends com.google.api.client.json.GenericJson {
+
+ /**
+ * [Output Only] A warning code, if applicable. For example, Compute Engine returns
+ * NO_RESULTS_ON_PAGE if there are no results in the response.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String code;
+
+ /**
+ * [Output Only] Metadata about this warning in key: value format. For example:
+ *
+ * "data": [ { "key": "scope", "value": "zones/us-east1-d" }]
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List data;
+
+ static {
+ // hack to force ProGuard to consider Data used, since otherwise it would be stripped out
+ // see https://github.com/google/google-api-java-client/issues/543
+ com.google.api.client.util.Data.nullOf(Data.class);
+ }
+
+ /**
+ * [Output Only] A human-readable description of the warning code.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String message;
+
+ /**
+ * [Output Only] A warning code, if applicable. For example, Compute Engine returns
+ * NO_RESULTS_ON_PAGE if there are no results in the response.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getCode() {
+ return code;
+ }
+
+ /**
+ * [Output Only] A warning code, if applicable. For example, Compute Engine returns
+ * NO_RESULTS_ON_PAGE if there are no results in the response.
+ * @param code code or {@code null} for none
+ */
+ public Warning setCode(java.lang.String code) {
+ this.code = code;
+ return this;
+ }
+
+ /**
+ * [Output Only] Metadata about this warning in key: value format. For example:
+ *
+ * "data": [ { "key": "scope", "value": "zones/us-east1-d" }]
+ * @return value or {@code null} for none
+ */
+ public java.util.List getData() {
+ return data;
+ }
+
+ /**
+ * [Output Only] Metadata about this warning in key: value format. For example:
+ *
+ * "data": [ { "key": "scope", "value": "zones/us-east1-d" }]
+ * @param data data or {@code null} for none
+ */
+ public Warning setData(java.util.List data) {
+ this.data = data;
+ return this;
+ }
+
+ /**
+ * [Output Only] A human-readable description of the warning code.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getMessage() {
+ return message;
+ }
+
+ /**
+ * [Output Only] A human-readable description of the warning code.
+ * @param message message or {@code null} for none
+ */
+ public Warning setMessage(java.lang.String message) {
+ this.message = message;
+ return this;
+ }
+
+ @Override
+ public Warning set(String fieldName, Object value) {
+ return (Warning) super.set(fieldName, value);
+ }
+
+ @Override
+ public Warning clone() {
+ return (Warning) super.clone();
+ }
+
+ /**
+ * Model definition for NetworkLocationBindingListWarningData.
+ */
+ public static final class Data extends com.google.api.client.json.GenericJson {
+
+ /**
+ * [Output Only] A key that provides more detail on the warning being returned. For example, for
+ * warnings where there are no results in a list request for a particular zone, this key might be
+ * scope and the key value might be the zone name. Other examples might be a key indicating a
+ * deprecated resource and a suggested replacement, or a warning about invalid network settings
+ * (for example, if an instance attempts to perform IP forwarding but is not enabled for IP
+ * forwarding).
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String key;
+
+ /**
+ * [Output Only] A warning data value corresponding to the key.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String value;
+
+ /**
+ * [Output Only] A key that provides more detail on the warning being returned. For example, for
+ * warnings where there are no results in a list request for a particular zone, this key might be
+ * scope and the key value might be the zone name. Other examples might be a key indicating a
+ * deprecated resource and a suggested replacement, or a warning about invalid network settings
+ * (for example, if an instance attempts to perform IP forwarding but is not enabled for IP
+ * forwarding).
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getKey() {
+ return key;
+ }
+
+ /**
+ * [Output Only] A key that provides more detail on the warning being returned. For example, for
+ * warnings where there are no results in a list request for a particular zone, this key might be
+ * scope and the key value might be the zone name. Other examples might be a key indicating a
+ * deprecated resource and a suggested replacement, or a warning about invalid network settings
+ * (for example, if an instance attempts to perform IP forwarding but is not enabled for IP
+ * forwarding).
+ * @param key key or {@code null} for none
+ */
+ public Data setKey(java.lang.String key) {
+ this.key = key;
+ return this;
+ }
+
+ /**
+ * [Output Only] A warning data value corresponding to the key.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getValue() {
+ return value;
+ }
+
+ /**
+ * [Output Only] A warning data value corresponding to the key.
+ * @param value value or {@code null} for none
+ */
+ public Data setValue(java.lang.String value) {
+ this.value = value;
+ return this;
+ }
+
+ @Override
+ public Data set(String fieldName, Object value) {
+ return (Data) super.set(fieldName, value);
+ }
+
+ @Override
+ public Data clone() {
+ return (Data) super.clone();
+ }
+
+ }
+ }
+}
diff --git a/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/NetworkLocationBindingStatus.java b/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/NetworkLocationBindingStatus.java
new file mode 100644
index 00000000000..8915616f4ea
--- /dev/null
+++ b/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/NetworkLocationBindingStatus.java
@@ -0,0 +1,96 @@
+/*
+ * 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;
+
+/**
+ * Status and derived information about the network location binding.
+ *
+ * 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 NetworkLocationBindingStatus extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Output only. [Output Only] Indicates whether a single cluster, specific clusters, or all
+ * clusters are allowed for instance creation.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String bindingType;
+
+ /**
+ * Output only. [Output Only] The mapping of zones to their binding information, keyed by the
+ * zone, e.g. zones/us-central1-a.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.Map zonalBindings;
+
+ /**
+ * Output only. [Output Only] Indicates whether a single cluster, specific clusters, or all
+ * clusters are allowed for instance creation.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getBindingType() {
+ return bindingType;
+ }
+
+ /**
+ * Output only. [Output Only] Indicates whether a single cluster, specific clusters, or all
+ * clusters are allowed for instance creation.
+ * @param bindingType bindingType or {@code null} for none
+ */
+ public NetworkLocationBindingStatus setBindingType(java.lang.String bindingType) {
+ this.bindingType = bindingType;
+ return this;
+ }
+
+ /**
+ * Output only. [Output Only] The mapping of zones to their binding information, keyed by the
+ * zone, e.g. zones/us-central1-a.
+ * @return value or {@code null} for none
+ */
+ public java.util.Map getZonalBindings() {
+ return zonalBindings;
+ }
+
+ /**
+ * Output only. [Output Only] The mapping of zones to their binding information, keyed by the
+ * zone, e.g. zones/us-central1-a.
+ * @param zonalBindings zonalBindings or {@code null} for none
+ */
+ public NetworkLocationBindingStatus setZonalBindings(java.util.Map zonalBindings) {
+ this.zonalBindings = zonalBindings;
+ return this;
+ }
+
+ @Override
+ public NetworkLocationBindingStatus set(String fieldName, Object value) {
+ return (NetworkLocationBindingStatus) super.set(fieldName, value);
+ }
+
+ @Override
+ public NetworkLocationBindingStatus clone() {
+ return (NetworkLocationBindingStatus) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/NetworkLocationBindingZonalBinding.java b/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/NetworkLocationBindingZonalBinding.java
new file mode 100644
index 00000000000..f622bdf4152
--- /dev/null
+++ b/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/NetworkLocationBindingZonalBinding.java
@@ -0,0 +1,69 @@
+/*
+ * 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;
+
+/**
+ * Binding information for a single zone.
+ *
+ * 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 NetworkLocationBindingZonalBinding extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Output only. [Output Only] Prod cluster names in the zone that this network could schedule
+ * instances in.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List prodClusters;
+
+ /**
+ * Output only. [Output Only] Prod cluster names in the zone that this network could schedule
+ * instances in.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getProdClusters() {
+ return prodClusters;
+ }
+
+ /**
+ * Output only. [Output Only] Prod cluster names in the zone that this network could schedule
+ * instances in.
+ * @param prodClusters prodClusters or {@code null} for none
+ */
+ public NetworkLocationBindingZonalBinding setProdClusters(java.util.List prodClusters) {
+ this.prodClusters = prodClusters;
+ return this;
+ }
+
+ @Override
+ public NetworkLocationBindingZonalBinding set(String fieldName, Object value) {
+ return (NetworkLocationBindingZonalBinding) super.set(fieldName, value);
+ }
+
+ @Override
+ public NetworkLocationBindingZonalBinding clone() {
+ return (NetworkLocationBindingZonalBinding) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/Snapshot.java b/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/Snapshot.java
index aadca6047e1..810f45522db 100644
--- a/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/Snapshot.java
+++ b/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/Snapshot.java
@@ -267,7 +267,8 @@ public final class Snapshot extends com.google.api.client.json.GenericJson {
private java.lang.String snapshotGroupName;
/**
- * Indicates the type of the snapshot.
+ * Indicates the type of the snapshot. Valid values are ARCHIVE or STANDARD. The default is
+ * STANDARD.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -959,7 +960,8 @@ public Snapshot setSnapshotGroupName(java.lang.String snapshotGroupName) {
}
/**
- * Indicates the type of the snapshot.
+ * Indicates the type of the snapshot. Valid values are ARCHIVE or STANDARD. The default is
+ * STANDARD.
* @return value or {@code null} for none
*/
public java.lang.String getSnapshotType() {
@@ -967,7 +969,8 @@ public java.lang.String getSnapshotType() {
}
/**
- * Indicates the type of the snapshot.
+ * Indicates the type of the snapshot. Valid values are ARCHIVE or STANDARD. The default is
+ * STANDARD.
* @param snapshotType snapshotType or {@code null} for none
*/
public Snapshot setSnapshotType(java.lang.String snapshotType) {
diff --git a/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/TargetHttpsProxy.java b/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/TargetHttpsProxy.java
index d83defd4376..a7279873d08 100644
--- a/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/TargetHttpsProxy.java
+++ b/clients/google-api-services-compute/preview/2.0.0/com/google/api/services/compute/model/TargetHttpsProxy.java
@@ -216,8 +216,8 @@ public final class TargetHttpsProxy extends com.google.api.client.json.GenericJs
*
* Certificate Manager Certificates accepted formats are: - //certificatemanager.googleapis
* .com/projects/{project}/locations/{location}/certificates/{resourceName}. - https://certific
- * atemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resour
- * ceName}.
+ * atemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{reso
+ * urceName}.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -671,8 +671,8 @@ public TargetHttpsProxy setServerTlsPolicy(java.lang.String serverTlsPolicy) {
*
* Certificate Manager Certificates accepted formats are: - //certificatemanager.googleapis
* .com/projects/{project}/locations/{location}/certificates/{resourceName}. - https://certific
- * atemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resour
- * ceName}.
+ * atemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{reso
+ * urceName}.
* @return value or {@code null} for none
*/
public java.util.List getSslCertificates() {
@@ -695,8 +695,8 @@ public java.util.List getSslCertificates() {
*
* Certificate Manager Certificates accepted formats are: - //certificatemanager.googleapis
* .com/projects/{project}/locations/{location}/certificates/{resourceName}. - https://certific
- * atemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resour
- * ceName}.
+ * atemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{reso
+ * urceName}.
* @param sslCertificates sslCertificates or {@code null} for none
*/
public TargetHttpsProxy setSslCertificates(java.util.List sslCertificates) {
diff --git a/clients/google-api-services-compute/preview/2.0.0/pom.xml b/clients/google-api-services-compute/preview/2.0.0/pom.xml
index 5d3471c5f33..df733e28721 100644
--- a/clients/google-api-services-compute/preview/2.0.0/pom.xml
+++ b/clients/google-api-services-compute/preview/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-compute
- preview-rev20261016-2.9.2
- Compute Engine API preview-rev20261016-2.9.2
+ preview-rev20261026-2.9.2
+ Compute Engine API preview-rev20261026-2.9.2
jar
2011
diff --git a/clients/google-api-services-compute/preview/README.md b/clients/google-api-services-compute/preview/README.md
index 6dd214cc9b3..990ec6c21c5 100644
--- a/clients/google-api-services-compute/preview/README.md
+++ b/clients/google-api-services-compute/preview/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-compute
- preview-rev20261016-2.9.2
+ preview-rev20261026-2.9.2
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-compute:preview-rev20261016-2.9.2'
+ implementation 'com.google.apis:google-api-services-compute:preview-rev20261026-2.9.2'
}
```