From b3a7d421b4092cae757a2c61623bec1bce602513 Mon Sep 17 00:00:00 2001
From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>
Date: Mon, 1 Jun 2026 18:46:21 -0700
Subject: [PATCH] chore: regenerate compute client
---
.../alpha/2.0.0/README.md | 4 +-
.../google/api/services/compute/Compute.java | 97762 +++++++++-------
.../model/BackendServiceLogConfig.java | 48 +
...kendServiceLogConfigLoggingHttpHeader.java | 66 +
.../model/HaControllersFailoverRequest.java | 24 -
.../InstanceGroupManagerUpdatePolicy.java | 24 +
...tanceGroupManagersApplyUpdatesRequest.java | 24 +
.../model/InstanceManagedByIgmError.java | 27 +-
...anagedByIgmErrorInstanceActionDetails.java | 42 +-
...ManagedByIgmErrorManagedInstanceError.java | 12 +-
.../OrganizationRolloutsListResponse.java | 401 +
...tanceGroupManagersApplyUpdatesRequest.java | 24 +
.../ResourceStatusPhysicalHostTopology.java | 24 +
...sicalHostTopologyAdditionalAttributes.java | 69 +
.../api/services/compute/model/RouterNat.java | 30 +
.../model/SnapshotRecycleBinPolicy.java | 27 +
.../alpha/2.0.0/pom.xml | 4 +-
.../alpha/README.md | 4 +-
.../beta/2.0.0/README.md | 4 +-
.../google/api/services/compute/Compute.java | 2767 +
.../model/BackendServiceLogConfig.java | 48 +
...kendServiceLogConfigLoggingHttpHeader.java | 66 +
.../api/services/compute/model/DateTime.java | 290 +
.../compute/model/HttpRouteAction.java | 30 +
.../model/ImageOptimizationPolicy.java | 69 +
.../InstanceGroupManagerActionsSummary.java | 27 +
.../InstanceGroupManagerUpdatePolicy.java | 24 +
...tanceGroupManagersApplyUpdatesRequest.java | 24 +
.../model/InstanceManagedByIgmError.java | 27 +-
...anagedByIgmErrorInstanceActionDetails.java | 42 +-
...ManagedByIgmErrorManagedInstanceError.java | 12 +-
.../OrganizationRolloutsListResponse.java | 401 +
.../PeriodicPartialMaintenanceSchedule.java | 163 +
...tanceGroupManagersApplyUpdatesRequest.java | 24 +
.../ResourceStatusPhysicalHostTopology.java | 24 +
...sicalHostTopologyAdditionalAttributes.java | 69 +
...ourceStatusReservationConsumptionInfo.java | 54 +
.../api/services/compute/model/Rollout.java | 48 +
.../api/services/compute/model/RouterNat.java | 30 +
.../api/services/compute/model/TimeZone.java | 90 +
.../api/services/compute/model/Zone.java | 21 +
.../compute/model/ZoneResourceStatus.java | 72 +
.../beta/2.0.0/pom.xml | 4 +-
.../beta/README.md | 4 +-
44 files changed, 57442 insertions(+), 45608 deletions(-)
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceLogConfigLoggingHttpHeader.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/OrganizationRolloutsListResponse.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ResourceStatusPhysicalHostTopologyAdditionalAttributes.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/BackendServiceLogConfigLoggingHttpHeader.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/DateTime.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ImageOptimizationPolicy.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/OrganizationRolloutsListResponse.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/PeriodicPartialMaintenanceSchedule.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ResourceStatusPhysicalHostTopologyAdditionalAttributes.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/TimeZone.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ZoneResourceStatus.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 42c68d99f60..5ef25cf0443 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:
The typical use is:
*
* {@code Compute compute = new Compute(...);}
- * {@code Compute.ForwardingRules.List request = compute.forwardingRules().list(parameters ...)}
+ * {@code Compute.FolderZoneVmExtensionPolicies.List request = compute.folderZoneVmExtensionPolicies().list(parameters ...)}
*
*
* @return the resource collection
*/
- public ForwardingRules forwardingRules() {
- return new ForwardingRules();
+ public FolderZoneVmExtensionPolicies folderZoneVmExtensionPolicies() {
+ return new FolderZoneVmExtensionPolicies();
}
/**
- * The "forwardingRules" collection of methods.
+ * The "folderZoneVmExtensionPolicies" collection of methods.
*/
- public class ForwardingRules {
+ public class FolderZoneVmExtensionPolicies {
/**
- * Retrieves an aggregated list of forwarding rules.
- *
- * To prevent failure, it is recommended that you set the `returnPartialSuccess` parameter to
- * `true`.
+ * Deletes a specified zone VM extension policy within a folder.
*
- * Create a request for the method "forwardingRules.aggregatedList".
+ * 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 AggregatedList#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
*
- * @param project Project ID for this request.
+ * @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 AggregatedList aggregatedList(java.lang.String project) throws java.io.IOException {
- AggregatedList result = new AggregatedList(project);
+ 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 AggregatedList extends ComputeRequest{@link AggregatedList#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl - * ientRequest)} must be called to initialize this instance immediately after invoking the - * constructor.
+ * 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 project Project ID for this request. + * @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 AggregatedList(java.lang.String project) { - super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.ForwardingRuleAggregatedList.class); - this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified."); + 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(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])?))"); + 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."); } @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 AggregatedList set$Xgafv(java.lang.String $Xgafv) { - return (AggregatedList) super.set$Xgafv($Xgafv); + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); } @Override - public AggregatedList setAccessToken(java.lang.String accessToken) { - return (AggregatedList) super.setAccessToken(accessToken); + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); } @Override - public AggregatedList setAlt(java.lang.String alt) { - return (AggregatedList) super.setAlt(alt); + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); } @Override - public AggregatedList setCallback(java.lang.String callback) { - return (AggregatedList) super.setCallback(callback); + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); } @Override - public AggregatedList setFields(java.lang.String fields) { - return (AggregatedList) super.setFields(fields); + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); } @Override - public AggregatedList setKey(java.lang.String key) { - return (AggregatedList) super.setKey(key); + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); } @Override - public AggregatedList setOauthToken(java.lang.String oauthToken) { - return (AggregatedList) super.setOauthToken(oauthToken); + public Delete setOauthToken(java.lang.String oauthToken) { + return (Delete) super.setOauthToken(oauthToken); } @Override - public AggregatedList setPrettyPrint(java.lang.Boolean prettyPrint) { - return (AggregatedList) super.setPrettyPrint(prettyPrint); + public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Delete) super.setPrettyPrint(prettyPrint); } @Override - public AggregatedList setQuotaUser(java.lang.String quotaUser) { - return (AggregatedList) super.setQuotaUser(quotaUser); + public Delete setQuotaUser(java.lang.String quotaUser) { + return (Delete) super.setQuotaUser(quotaUser); } @Override - public AggregatedList setUploadType(java.lang.String uploadType) { - return (AggregatedList) super.setUploadType(uploadType); + public Delete setUploadType(java.lang.String uploadType) { + return (Delete) super.setUploadType(uploadType); } @Override - public AggregatedList setUploadProtocol(java.lang.String uploadProtocol) { - return (AggregatedList) super.setUploadProtocol(uploadProtocol); + public Delete setUploadProtocol(java.lang.String uploadProtocol) { + return (Delete) super.setUploadProtocol(uploadProtocol); } @Override - public AggregatedList setUserIp(java.lang.String userIp) { - return (AggregatedList) super.setUserIp(userIp); + public Delete setUserIp(java.lang.String userIp) { + return (Delete) super.setUserIp(userIp); } - /** Project ID for this request. */ + /** Folder ID for this request. */ @com.google.api.client.util.Key - private java.lang.String project; + private java.lang.String folder; - /** Project ID for this request. + /** Folder ID for this request. */ - public java.lang.String getProject() { - return project; + public java.lang.String getFolder() { + return folder; } - /** Project ID for this request. */ - public AggregatedList setProject(java.lang.String project) { + /** Folder ID for this request. */ + public Delete setFolder(java.lang.String folder) { 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])?))"); + 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.project = project; - 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 AggregatedList setFilter(java.lang.String filter) { - this.filter = filter; + this.folder = folder; return this; } - /** - * Indicates whether every visible scope for each scope type (zone, region, global) should be - * included in the response. For new resource types added after this field, the flag has no - * effect as new resource types will always include every visible scope for each scope type in - * response. For resource types which predate this field, if this flag is omitted or false, - * only scopes of the scope types where the resource type is expected to be found will be - * included. - */ + /** Name of the zone for this request. */ @com.google.api.client.util.Key - private java.lang.Boolean includeAllScopes; + private java.lang.String zone; - /** Indicates whether every visible scope for each scope type (zone, region, global) should be included - in the response. For new resource types added after this field, the flag has no effect as new - resource types will always include every visible scope for each scope type in response. For - resource types which predate this field, if this flag is omitted or false, only scopes of the scope - types where the resource type is expected to be found will be included. + /** Name of the zone for this request. */ - public java.lang.Boolean getIncludeAllScopes() { - return includeAllScopes; + public java.lang.String getZone() { + return zone; } - /** - * Indicates whether every visible scope for each scope type (zone, region, global) should be - * included in the response. For new resource types added after this field, the flag has no - * effect as new resource types will always include every visible scope for each scope type in - * response. For resource types which predate this field, if this flag is omitted or false, - * only scopes of the scope types where the resource type is expected to be found will be - * included. - */ - public AggregatedList setIncludeAllScopes(java.lang.Boolean includeAllScopes) { - this.includeAllScopes = includeAllScopes; + /** 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; } - /** - * 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`) - */ + /** Name of the zone VM extension policy to delete. */ @com.google.api.client.util.Key - private java.lang.Long maxResults; + private java.lang.String vmExtensionPolicy; - /** 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] + /** Name of the zone VM extension policy to delete. */ - public java.lang.Long getMaxResults() { - return maxResults; + public java.lang.String getVmExtensionPolicy() { + return vmExtensionPolicy; } - /** - * 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 AggregatedList setMaxResults(java.lang.Long maxResults) { - this.maxResults = maxResults; + /** Name of the zone VM extension policy to delete. */ + public Delete setVmExtensionPolicy(java.lang.String vmExtensionPolicy) { + this.vmExtensionPolicy = vmExtensionPolicy; return this; } /** - * Sorts list results by a certain order. By default, results are returned in alphanumerical - * order based on the resource name. + * 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. * - * 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. + * 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. * - * Currently, only sorting by `name` or `creationTimestamp desc` is supported. + * 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 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 AggregatedList setOrderBy(java.lang.String orderBy) { - this.orderBy = orderBy; - return this; - } + private java.lang.String requestId; - /** - * 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; + /** 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. - /** 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; - } + 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. - /** - * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a - * previous list request to get the next page of results. + The request ID must be a valid UUID with the exception that zero UUID is not supported + (00000000-0000-0000-0000-000000000000). */ - public AggregatedList setPageToken(java.lang.String pageToken) { - this.pageToken = pageToken; - return this; + public java.lang.String getRequestId() { + return requestId; } /** - * Opt-in for partial success behavior which provides partial results in case of failure. The - * default value is false. + * 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, when partial success behavior is enabled, aggregatedList for a single zone - * scope either returns all resources in the zone or no resources, with an error code. - */ - @com.google.api.client.util.Key - private java.lang.Boolean returnPartialSuccess; - - /** Opt-in for partial success behavior which provides partial results in case of failure. The default - value is false. - - For example, when partial success behavior is enabled, aggregatedList for a single zone scope - either returns all resources in the zone or no resources, with an error code. - */ - public java.lang.Boolean getReturnPartialSuccess() { - return returnPartialSuccess; - } - - /** - * Opt-in for partial success behavior which provides partial results in case of failure. The - * default value is false. + * 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. * - * For example, when partial success behavior is enabled, aggregatedList for a single zone - * scope either returns all resources in the zone or no resources, with an error code. - */ - public AggregatedList setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) { - this.returnPartialSuccess = returnPartialSuccess; - return this; - } - - /** - * The Shared VPC service project id or service project number for which aggregated list - * request is invoked for subnetworks list-usable api. - */ - @com.google.api.client.util.Key - private java.lang.Long serviceProjectNumber; - - /** The Shared VPC service project id or service project number for which aggregated list request is - invoked for subnetworks list-usable api. - */ - public java.lang.Long getServiceProjectNumber() { - return serviceProjectNumber; - } - - /** - * The Shared VPC service project id or service project number for which aggregated list - * request is invoked for subnetworks list-usable api. + * The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). */ - public AggregatedList setServiceProjectNumber(java.lang.Long serviceProjectNumber) { - this.serviceProjectNumber = serviceProjectNumber; + public Delete setRequestId(java.lang.String requestId) { + this.requestId = requestId; return this; } @Override - public AggregatedList set(String parameterName, Object value) { - return (AggregatedList) super.set(parameterName, value); + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); } } /** - * Deletes the specified ForwardingRule resource. + * Retrieves details of a specific zone VM extension policy within a folder. * - * Create a request for the method "forwardingRules.delete". + * 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 Delete#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 region Name of the region scoping this request. - * @param forwardingRule Name of the ForwardingRule resource to delete. + * @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 Delete delete(java.lang.String project, java.lang.String region, java.lang.String forwardingRule) throws java.io.IOException { - Delete result = new Delete(project, region, forwardingRule); + 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 Delete extends ComputeRequest{@link - * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} 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 region Name of the region scoping this request. - * @param forwardingRule Name of the ForwardingRule resource to delete. + * @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 Delete(java.lang.String project, java.lang.String region, java.lang.String forwardingRule) { - super(Compute.this, "DELETE", 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."); + 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(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])?))"); + 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.region = com.google.api.client.util.Preconditions.checkNotNull(region, "Required parameter region must be specified."); + 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(REGION_PATTERN.matcher(region).matches(), - "Parameter region must conform to the pattern " + + 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.forwardingRule = com.google.api.client.util.Preconditions.checkNotNull(forwardingRule, "Required parameter forwardingRule must be specified."); + 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(FORWARDING_RULE_PATTERN.matcher(forwardingRule).matches(), - "Parameter forwardingRule must conform to the pattern " + + 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}"); } } @Override - public Delete set$Xgafv(java.lang.String $Xgafv) { - return (Delete) super.set$Xgafv($Xgafv); + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); } @Override - public Delete setAccessToken(java.lang.String accessToken) { - return (Delete) super.setAccessToken(accessToken); + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); } @Override - public Delete setAlt(java.lang.String alt) { - return (Delete) super.setAlt(alt); + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); } @Override - public Delete setCallback(java.lang.String callback) { - return (Delete) super.setCallback(callback); + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); } @Override - public Delete setFields(java.lang.String fields) { - return (Delete) super.setFields(fields); + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); } @Override - public Delete setKey(java.lang.String key) { - return (Delete) super.setKey(key); + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); } @Override - public Delete setOauthToken(java.lang.String oauthToken) { - return (Delete) super.setOauthToken(oauthToken); + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); } @Override - public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Delete) super.setPrettyPrint(prettyPrint); + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); } @Override - public Delete setQuotaUser(java.lang.String quotaUser) { - return (Delete) super.setQuotaUser(quotaUser); + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); } @Override - public Delete setUploadType(java.lang.String uploadType) { - return (Delete) super.setUploadType(uploadType); + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); } @Override - public Delete setUploadProtocol(java.lang.String uploadProtocol) { - return (Delete) super.setUploadProtocol(uploadProtocol); + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); } @Override - public Delete setUserIp(java.lang.String userIp) { - return (Delete) super.setUserIp(userIp); + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); } - /** 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; + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); } - /** Project ID for this request. */ - public Delete 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; + @Override + public Get setUserIp(java.lang.String userIp) { + return (Get) super.setUserIp(userIp); } - /** Name of the region scoping this request. */ + /** Folder ID for this request. */ @com.google.api.client.util.Key - private java.lang.String region; + private java.lang.String folder; - /** Name of the region scoping this request. + /** Folder ID for this request. */ - public java.lang.String getRegion() { - return region; + public java.lang.String getFolder() { + return folder; } - /** Name of the region scoping this request. */ - public Delete setRegion(java.lang.String region) { + /** Folder ID for this request. */ + public Get setFolder(java.lang.String folder) { 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])?"); + 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.region = region; + this.folder = folder; return this; } - /** Name of the ForwardingRule resource to delete. */ + /** Name of the zone for this request. */ @com.google.api.client.util.Key - private java.lang.String forwardingRule; + private java.lang.String zone; - /** Name of the ForwardingRule resource to delete. + /** Name of the zone for this request. */ - public java.lang.String getForwardingRule() { - return forwardingRule; + public java.lang.String getZone() { + return zone; } - /** Name of the ForwardingRule resource to delete. */ - public Delete setForwardingRule(java.lang.String forwardingRule) { + /** Name of the zone for this request. */ + public Get setZone(java.lang.String zone) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(FORWARDING_RULE_PATTERN.matcher(forwardingRule).matches(), - "Parameter forwardingRule 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(ZONE_PATTERN.matcher(zone).matches(), + "Parameter zone must conform to the pattern " + + "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"); } - this.forwardingRule = forwardingRule; + 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). - */ + /** Name of the VM extension policy resource to return. */ @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. + private java.lang.String vmExtensionPolicy; - The request ID must be a valid UUID with the exception that zero UUID is not supported - (00000000-0000-0000-0000-000000000000). + /** Name of the VM extension policy resource to return. */ - public java.lang.String getRequestId() { - return requestId; + public java.lang.String getVmExtensionPolicy() { + return vmExtensionPolicy; } - /** - * 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; + /** 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 Delete set(String parameterName, Object value) { - return (Delete) super.set(parameterName, value); + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); } } /** - * Returns the specified ForwardingRule resource. + * Retrieves details of a specific VM extension within a folder. * - * Create a request for the method "forwardingRules.get". + * 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 Get#execute()} method to invoke the remote operation. + * parameters, call the {@link GetVmExtension#execute()} method to invoke the remote operation. * - * @param project Project ID for this request. - * @param region Name of the region scoping this request. - * @param forwardingRule Name of the ForwardingRule resource to return. + * @param folder Folder ID for this request. + * @param zone Name of the zone for this request. + * @param extensionName * @return the request */ - public Get get(java.lang.String project, java.lang.String region, java.lang.String forwardingRule) throws java.io.IOException { - Get result = new Get(project, region, forwardingRule); + 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 Get extends ComputeRequest{@link - * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be - * called to initialize this instance immediately after invoking the constructor.
+ * 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 project Project ID for this request. - * @param region Name of the region scoping this request. - * @param forwardingRule Name of the ForwardingRule resource to return. + * @param folder Folder ID for this request. + * @param zone Name of the zone for this request. + * @param extensionName * @since 1.13 */ - protected Get(java.lang.String project, java.lang.String region, java.lang.String forwardingRule) { - super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.ForwardingRule.class); - this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified."); + 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(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])?))"); + 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.region = com.google.api.client.util.Preconditions.checkNotNull(region, "Required parameter region must be specified."); + 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(REGION_PATTERN.matcher(region).matches(), - "Parameter region must conform to the pattern " + + 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.forwardingRule = com.google.api.client.util.Preconditions.checkNotNull(forwardingRule, "Required parameter forwardingRule must be specified."); + 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(FORWARDING_RULE_PATTERN.matcher(forwardingRule).matches(), - "Parameter forwardingRule must conform to the pattern " + + 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}"); } } @@ -30827,206 +30551,188 @@ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws } @Override - public Get set$Xgafv(java.lang.String $Xgafv) { - return (Get) super.set$Xgafv($Xgafv); + public GetVmExtension set$Xgafv(java.lang.String $Xgafv) { + return (GetVmExtension) super.set$Xgafv($Xgafv); } @Override - public Get setAccessToken(java.lang.String accessToken) { - return (Get) super.setAccessToken(accessToken); + public GetVmExtension setAccessToken(java.lang.String accessToken) { + return (GetVmExtension) super.setAccessToken(accessToken); } @Override - public Get setAlt(java.lang.String alt) { - return (Get) super.setAlt(alt); + public GetVmExtension setAlt(java.lang.String alt) { + return (GetVmExtension) super.setAlt(alt); } @Override - public Get setCallback(java.lang.String callback) { - return (Get) super.setCallback(callback); + public GetVmExtension setCallback(java.lang.String callback) { + return (GetVmExtension) super.setCallback(callback); } @Override - public Get setFields(java.lang.String fields) { - return (Get) super.setFields(fields); + public GetVmExtension setFields(java.lang.String fields) { + return (GetVmExtension) super.setFields(fields); } @Override - public Get setKey(java.lang.String key) { - return (Get) super.setKey(key); + public GetVmExtension setKey(java.lang.String key) { + return (GetVmExtension) super.setKey(key); } @Override - public Get setOauthToken(java.lang.String oauthToken) { - return (Get) super.setOauthToken(oauthToken); + public GetVmExtension setOauthToken(java.lang.String oauthToken) { + return (GetVmExtension) super.setOauthToken(oauthToken); } @Override - public Get setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Get) super.setPrettyPrint(prettyPrint); + public GetVmExtension setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GetVmExtension) super.setPrettyPrint(prettyPrint); } @Override - public Get setQuotaUser(java.lang.String quotaUser) { - return (Get) super.setQuotaUser(quotaUser); + public GetVmExtension setQuotaUser(java.lang.String quotaUser) { + return (GetVmExtension) super.setQuotaUser(quotaUser); } @Override - public Get setUploadType(java.lang.String uploadType) { - return (Get) super.setUploadType(uploadType); + public GetVmExtension setUploadType(java.lang.String uploadType) { + return (GetVmExtension) super.setUploadType(uploadType); } @Override - public Get setUploadProtocol(java.lang.String uploadProtocol) { - return (Get) super.setUploadProtocol(uploadProtocol); + public GetVmExtension setUploadProtocol(java.lang.String uploadProtocol) { + return (GetVmExtension) super.setUploadProtocol(uploadProtocol); } @Override - public Get setUserIp(java.lang.String userIp) { - return (Get) super.setUserIp(userIp); + public GetVmExtension setUserIp(java.lang.String userIp) { + return (GetVmExtension) super.setUserIp(userIp); } - /** Project ID for this request. */ + /** Folder ID for this request. */ @com.google.api.client.util.Key - private java.lang.String project; + private java.lang.String folder; - /** Project ID for this request. + /** Folder ID for this request. */ - public java.lang.String getProject() { - return project; + public java.lang.String getFolder() { + return folder; } - /** Project ID for this request. */ - public Get setProject(java.lang.String project) { + /** Folder ID for this request. */ + public GetVmExtension setFolder(java.lang.String folder) { 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])?))"); + 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.project = project; + this.folder = folder; return this; } - /** Name of the region scoping this request. */ + /** Name of the zone for this request. */ @com.google.api.client.util.Key - private java.lang.String region; + private java.lang.String zone; - /** Name of the region scoping this request. + /** Name of the zone for this request. */ - public java.lang.String getRegion() { - return region; + public java.lang.String getZone() { + return zone; } - /** Name of the region scoping this request. */ - public Get setRegion(java.lang.String region) { + /** Name of the zone for this request. */ + public GetVmExtension setZone(java.lang.String zone) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(REGION_PATTERN.matcher(region).matches(), - "Parameter region must conform to the pattern " + + 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.region = region; + this.zone = zone; return this; } - /** Name of the ForwardingRule resource to return. */ @com.google.api.client.util.Key - private java.lang.String forwardingRule; + private java.lang.String extensionName; + + /** - /** Name of the ForwardingRule resource to return. */ - public java.lang.String getForwardingRule() { - return forwardingRule; + public java.lang.String getExtensionName() { + return extensionName; } - /** Name of the ForwardingRule resource to return. */ - public Get setForwardingRule(java.lang.String forwardingRule) { + public GetVmExtension setExtensionName(java.lang.String extensionName) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(FORWARDING_RULE_PATTERN.matcher(forwardingRule).matches(), - "Parameter forwardingRule must conform to the pattern " + + 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.forwardingRule = forwardingRule; - return this; - } - - @com.google.api.client.util.Key - private java.lang.String view; - - /** - - */ - public java.lang.String getView() { - return view; - } - - public Get setView(java.lang.String view) { - this.view = view; + this.extensionName = extensionName; return this; } @Override - public Get set(String parameterName, Object value) { - return (Get) super.set(parameterName, value); + public GetVmExtension set(String parameterName, Object value) { + return (GetVmExtension) super.set(parameterName, value); } } /** - * Creates a ForwardingRule resource in the specified project and region using the data included in - * the request. + * Creates a new zone-level VM extension policy within a folder. * - * Create a request for the method "forwardingRules.insert". + * 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 project Project ID for this request. - * @param region Name of the region scoping this request. - * @param content the {@link com.google.api.services.compute.model.ForwardingRule} + * @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 project, java.lang.String region, com.google.api.services.compute.model.ForwardingRule content) throws java.io.IOException { - Insert result = new Insert(project, region, content); + 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{@link * Insert#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 scoping this request. - * @param content the {@link com.google.api.services.compute.model.ForwardingRule} + * @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 project, java.lang.String region, com.google.api.services.compute.model.ForwardingRule content) { + 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.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified."); + 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(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])?))"); + 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.region = com.google.api.client.util.Preconditions.checkNotNull(region, "Required parameter region must be specified."); + 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(REGION_PATTERN.matcher(region).matches(), - "Parameter region must conform to the pattern " + + 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])?"); } } @@ -31091,45 +30797,45 @@ public Insert setUserIp(java.lang.String userIp) { return (Insert) super.setUserIp(userIp); } - /** Project ID for this request. */ + /** Folder ID for this request. */ @com.google.api.client.util.Key - private java.lang.String project; + private java.lang.String folder; - /** Project ID for this request. + /** Folder ID for this request. */ - public java.lang.String getProject() { - return project; + public java.lang.String getFolder() { + return folder; } - /** Project ID for this request. */ - public Insert setProject(java.lang.String project) { + /** Folder ID for this request. */ + public Insert setFolder(java.lang.String folder) { 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])?))"); + 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.project = project; + this.folder = folder; return this; } - /** Name of the region scoping this request. */ + /** Name of the zone for this request. */ @com.google.api.client.util.Key - private java.lang.String region; + private java.lang.String zone; - /** Name of the region scoping this request. + /** Name of the zone for this request. */ - public java.lang.String getRegion() { - return region; + public java.lang.String getZone() { + return zone; } - /** Name of the region scoping this request. */ - public Insert setRegion(java.lang.String region) { + /** Name of the zone for this request. */ + public Insert setZone(java.lang.String zone) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(REGION_PATTERN.matcher(region).matches(), - "Parameter region must conform to the pattern " + + 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.region = region; + this.zone = zone; return this; } @@ -31188,59 +30894,59 @@ public Insert set(String parameterName, Object value) { } } /** - * Retrieves a list of ForwardingRule resources available to the specified project and region. + * Lists all VM extension policies within a specific zone for a folder. * - * Create a request for the method "forwardingRules.list". + * 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 project Project ID for this request. - * @param region Name of the region scoping this request. + * @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 project, java.lang.String region) throws java.io.IOException { - List result = new List(project, region); + 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{@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 scoping this request. + * @param folder Folder ID for this request. + * @param zone Name of the zone for 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.ForwardingRuleList.class); - this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified."); + 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(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."); + 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(REGION_PATTERN.matcher(region).matches(), - "Parameter region must conform to the pattern " + + 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])?"); } } @@ -31315,45 +31021,45 @@ public List setUserIp(java.lang.String userIp) { return (List) super.setUserIp(userIp); } - /** Project ID for this request. */ + /** Folder ID for this request. */ @com.google.api.client.util.Key - private java.lang.String project; + private java.lang.String folder; - /** Project ID for this request. + /** Folder ID for this request. */ - public java.lang.String getProject() { - return project; + public java.lang.String getFolder() { + return folder; } - /** Project ID for this request. */ - public List setProject(java.lang.String project) { + /** Folder ID for this request. */ + public List setFolder(java.lang.String folder) { 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])?))"); + 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.project = project; + this.folder = folder; return this; } - /** Name of the region scoping this request. */ + /** Name of the zone for this request. */ @com.google.api.client.util.Key - private java.lang.String region; + private java.lang.String zone; - /** Name of the region scoping this request. + /** Name of the zone for this request. */ - public java.lang.String getRegion() { - return region; + public java.lang.String getZone() { + return zone; } - /** Name of the region scoping this request. */ - public List setRegion(java.lang.String region) { + /** Name of the zone for this request. */ + public List setZone(java.lang.String zone) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(REGION_PATTERN.matcher(region).matches(), - "Parameter region must conform to the pattern " + + 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.region = region; + this.zone = zone; return this; } @@ -31627,702 +31333,623 @@ public List set(String parameterName, Object value) { } } /** - * Updates the specified forwarding rule with the data included in the request. This method - * supportsPATCH semantics and uses theJSON merge patch format and processing rules. Currently, you - * can only patch the network_tier field. + * Lists all VM extensions within a specific zone for a folder. This is a read-only API. * - * Create a request for the method "forwardingRules.patch". + * Create a request for the method "folderZoneVmExtensionPolicies.listVmExtensions". * * This request holds the parameters needed by the compute server. After setting any optional - * parameters, call the {@link Patch#execute()} method to invoke the remote operation. + * parameters, call the {@link ListVmExtensions#execute()} method to invoke the remote operation. * - * @param project Project ID for this request. - * @param region Name of the region scoping this request. - * @param forwardingRule Name of the ForwardingRule resource to patch. - * @param content the {@link com.google.api.services.compute.model.ForwardingRule} + * @param folder Folder ID for this request. + * @param zone Name of the zone for this request. * @return the request */ - public Patch patch(java.lang.String project, java.lang.String region, java.lang.String forwardingRule, com.google.api.services.compute.model.ForwardingRule content) throws java.io.IOException { - Patch result = new Patch(project, region, forwardingRule, content); + public ListVmExtensions listVmExtensions(java.lang.String folder, java.lang.String zone) throws java.io.IOException { + ListVmExtensions result = new ListVmExtensions(folder, zone); initialize(result); return result; } - public class Patch extends ComputeRequest{@link - * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.
+ * parameters, call the {@link ListVmExtensions#execute()} method to invoke the remote operation. + *{@link ListVmExtensions#initialize(com.google.api.client.googleapis.services.AbstractGoogle + * ClientRequest)} 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 scoping this request. - * @param forwardingRule Name of the ForwardingRule resource to patch. - * @param content the {@link com.google.api.services.compute.model.ForwardingRule} + * @param folder Folder ID for this request. + * @param zone Name of the zone for this request. * @since 1.13 */ - protected Patch(java.lang.String project, java.lang.String region, java.lang.String forwardingRule, com.google.api.services.compute.model.ForwardingRule content) { - super(Compute.this, "PATCH", REST_PATH, content, com.google.api.services.compute.model.Operation.class); - this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified."); + protected ListVmExtensions(java.lang.String folder, java.lang.String zone) { + super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.ListVmExtensionsResponse.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(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])?))"); + 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.region = com.google.api.client.util.Preconditions.checkNotNull(region, "Required parameter region must be specified."); + 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(REGION_PATTERN.matcher(region).matches(), - "Parameter region must conform to the pattern " + + 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.forwardingRule = com.google.api.client.util.Preconditions.checkNotNull(forwardingRule, "Required parameter forwardingRule must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(FORWARDING_RULE_PATTERN.matcher(forwardingRule).matches(), - "Parameter forwardingRule must conform to the pattern " + - "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}"); - } } @Override - public Patch set$Xgafv(java.lang.String $Xgafv) { - return (Patch) super.set$Xgafv($Xgafv); + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); } @Override - public Patch setAccessToken(java.lang.String accessToken) { - return (Patch) super.setAccessToken(accessToken); + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); } @Override - public Patch setAlt(java.lang.String alt) { - return (Patch) super.setAlt(alt); + public ListVmExtensions set$Xgafv(java.lang.String $Xgafv) { + return (ListVmExtensions) super.set$Xgafv($Xgafv); } @Override - public Patch setCallback(java.lang.String callback) { - return (Patch) super.setCallback(callback); + public ListVmExtensions setAccessToken(java.lang.String accessToken) { + return (ListVmExtensions) super.setAccessToken(accessToken); } @Override - public Patch setFields(java.lang.String fields) { - return (Patch) super.setFields(fields); + public ListVmExtensions setAlt(java.lang.String alt) { + return (ListVmExtensions) super.setAlt(alt); } @Override - public Patch setKey(java.lang.String key) { - return (Patch) super.setKey(key); + public ListVmExtensions setCallback(java.lang.String callback) { + return (ListVmExtensions) super.setCallback(callback); } @Override - public Patch setOauthToken(java.lang.String oauthToken) { - return (Patch) super.setOauthToken(oauthToken); + public ListVmExtensions setFields(java.lang.String fields) { + return (ListVmExtensions) super.setFields(fields); } @Override - public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Patch) super.setPrettyPrint(prettyPrint); + public ListVmExtensions setKey(java.lang.String key) { + return (ListVmExtensions) super.setKey(key); } @Override - public Patch setQuotaUser(java.lang.String quotaUser) { - return (Patch) super.setQuotaUser(quotaUser); + public ListVmExtensions setOauthToken(java.lang.String oauthToken) { + return (ListVmExtensions) super.setOauthToken(oauthToken); } @Override - public Patch setUploadType(java.lang.String uploadType) { - return (Patch) super.setUploadType(uploadType); + public ListVmExtensions setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ListVmExtensions) super.setPrettyPrint(prettyPrint); } @Override - public Patch setUploadProtocol(java.lang.String uploadProtocol) { - return (Patch) super.setUploadProtocol(uploadProtocol); + public ListVmExtensions setQuotaUser(java.lang.String quotaUser) { + return (ListVmExtensions) super.setQuotaUser(quotaUser); } @Override - public Patch setUserIp(java.lang.String userIp) { - return (Patch) super.setUserIp(userIp); + public ListVmExtensions setUploadType(java.lang.String uploadType) { + return (ListVmExtensions) super.setUploadType(uploadType); } - /** 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; + @Override + public ListVmExtensions setUploadProtocol(java.lang.String uploadProtocol) { + return (ListVmExtensions) super.setUploadProtocol(uploadProtocol); } - /** Project ID for this request. */ - public Patch 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; + @Override + public ListVmExtensions setUserIp(java.lang.String userIp) { + return (ListVmExtensions) super.setUserIp(userIp); } - /** Name of the region scoping this request. */ + /** Folder ID for this request. */ @com.google.api.client.util.Key - private java.lang.String region; + private java.lang.String folder; - /** Name of the region scoping this request. + /** Folder ID for this request. */ - public java.lang.String getRegion() { - return region; + public java.lang.String getFolder() { + return folder; } - /** Name of the region scoping this request. */ - public Patch setRegion(java.lang.String region) { + /** Folder ID for this request. */ + public ListVmExtensions setFolder(java.lang.String folder) { 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])?"); + 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.region = region; + this.folder = folder; return this; } - /** Name of the ForwardingRule resource to patch. */ + /** Name of the zone for this request. */ @com.google.api.client.util.Key - private java.lang.String forwardingRule; + private java.lang.String zone; - /** Name of the ForwardingRule resource to patch. + /** Name of the zone for this request. */ - public java.lang.String getForwardingRule() { - return forwardingRule; + public java.lang.String getZone() { + return zone; } - /** Name of the ForwardingRule resource to patch. */ - public Patch setForwardingRule(java.lang.String forwardingRule) { + /** Name of the zone for this request. */ + public ListVmExtensions setZone(java.lang.String zone) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(FORWARDING_RULE_PATTERN.matcher(forwardingRule).matches(), - "Parameter forwardingRule 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(ZONE_PATTERN.matcher(zone).matches(), + "Parameter zone must conform to the pattern " + + "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"); } - this.forwardingRule = forwardingRule; + 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. + * 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. * - * 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. + * 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 `:`. * - * The request ID must be a valid UUID with the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). + * 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 requestId; + private java.lang.String filter; - /** 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. + /** 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. - 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. + 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 `:`. - The request ID must be a valid UUID with the exception that zero UUID is not supported - (00000000-0000-0000-0000-000000000000). + 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 getRequestId() { - return requestId; + public java.lang.String getFilter() { + return filter; } /** - * 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. + * 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. * - * 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. + * 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 `:`. * - * The request ID must be a valid UUID with the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). + * 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 Patch setRequestId(java.lang.String requestId) { - this.requestId = requestId; + public ListVmExtensions setFilter(java.lang.String filter) { + this.filter = filter; return this; } - @Override - public Patch set(String parameterName, Object value) { - return (Patch) super.set(parameterName, value); + /** + * 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; } - } - /** - * Sets the labels on the specified resource. To learn more about labels, read the Labeling - * Resources documentation. - * - * Create a request for the method "forwardingRules.setLabels". - * - * This request holds the parameters needed by the compute server. After setting any optional - * parameters, call the {@link SetLabels#execute()} method to invoke the remote operation. - * - * @param project Project ID for this request. - * @param region The region for this request. - * @param resource Name or id of the resource for this request. - * @param content the {@link com.google.api.services.compute.model.RegionSetLabelsRequest} - * @return the request - */ - public SetLabels setLabels(java.lang.String project, java.lang.String region, java.lang.String resource, com.google.api.services.compute.model.RegionSetLabelsRequest content) throws java.io.IOException { - SetLabels result = new SetLabels(project, region, resource, content); - initialize(result); - return result; - } - public class SetLabels extends ComputeRequest- * {@link - * SetLabels#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.
+ * 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. * - * @param project Project ID for this request. - * @param region The region for this request. - * @param resource Name or id of the resource for this request. - * @param content the {@link com.google.api.services.compute.model.RegionSetLabelsRequest} - * @since 1.13 + * Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ - protected SetLabels(java.lang.String project, java.lang.String region, java.lang.String resource, com.google.api.services.compute.model.RegionSetLabelsRequest 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.region = com.google.api.client.util.Preconditions.checkNotNull(region, "Required parameter region must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(REGION_PATTERN.matcher(region).matches(), - "Parameter region must conform to the pattern " + - "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"); - } - this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource 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}"); - } - } - - @Override - public SetLabels set$Xgafv(java.lang.String $Xgafv) { - return (SetLabels) super.set$Xgafv($Xgafv); + public ListVmExtensions setOrderBy(java.lang.String orderBy) { + this.orderBy = orderBy; + return this; } - @Override - public SetLabels setAccessToken(java.lang.String accessToken) { - return (SetLabels) super.setAccessToken(accessToken); - } - - @Override - public SetLabels setAlt(java.lang.String alt) { - return (SetLabels) super.setAlt(alt); - } - - @Override - public SetLabels setCallback(java.lang.String callback) { - return (SetLabels) super.setCallback(callback); - } - - @Override - public SetLabels setFields(java.lang.String fields) { - return (SetLabels) super.setFields(fields); - } - - @Override - public SetLabels setKey(java.lang.String key) { - return (SetLabels) super.setKey(key); - } - - @Override - public SetLabels setOauthToken(java.lang.String oauthToken) { - return (SetLabels) super.setOauthToken(oauthToken); - } - - @Override - public SetLabels setPrettyPrint(java.lang.Boolean prettyPrint) { - return (SetLabels) super.setPrettyPrint(prettyPrint); - } - - @Override - public SetLabels setQuotaUser(java.lang.String quotaUser) { - return (SetLabels) super.setQuotaUser(quotaUser); - } - - @Override - public SetLabels setUploadType(java.lang.String uploadType) { - return (SetLabels) super.setUploadType(uploadType); - } - - @Override - public SetLabels setUploadProtocol(java.lang.String uploadProtocol) { - return (SetLabels) super.setUploadProtocol(uploadProtocol); - } - - @Override - public SetLabels setUserIp(java.lang.String userIp) { - return (SetLabels) super.setUserIp(userIp); - } - - /** Project ID for this request. */ - @com.google.api.client.util.Key - private java.lang.String project; - - /** Project ID for this request. + /** + * 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 getProject() { - return project; - } - - /** Project ID for this request. */ - public SetLabels 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; - } - - /** The region for this request. */ @com.google.api.client.util.Key - private java.lang.String region; + private java.lang.String pageToken; - /** The region for this request. + /** 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 getRegion() { - return region; - } - - /** The region for this request. */ - public SetLabels 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; + public java.lang.String getPageToken() { + return pageToken; } - /** Name or id of the resource for this request. */ - @com.google.api.client.util.Key - private java.lang.String resource; - - /** Name or id of the resource for this request. + /** + * 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 getResource() { - return resource; - } - - /** Name or id of the resource for this request. */ - public SetLabels 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 " + - "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}"); - } - this.resource = resource; + public ListVmExtensions setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; 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. + * Opt-in for partial success behavior which provides partial results in case of failure. The + * default value is false. * - * The request ID must be a valid UUID with the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). + * For example, when partial success behavior is enabled, aggregatedList for a single zone + * scope either returns all resources in the zone or no resources, with an error code. */ @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. + private java.lang.Boolean returnPartialSuccess; - 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. + /** Opt-in for partial success behavior which provides partial results in case of failure. The default + value is false. - The request ID must be a valid UUID with the exception that zero UUID is not supported - (00000000-0000-0000-0000-000000000000). + For example, when partial success behavior is enabled, aggregatedList for a single zone scope + either returns all resources in the zone or no resources, with an error code. */ - public java.lang.String getRequestId() { - return requestId; + public java.lang.Boolean getReturnPartialSuccess() { + return returnPartialSuccess; } /** - * 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. + * Opt-in for partial success behavior which provides partial results in case of failure. The + * default value is false. * - * The request ID must be a valid UUID with the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). + * For example, when partial success behavior is enabled, aggregatedList for a single zone + * scope either returns all resources in the zone or no resources, with an error code. */ - public SetLabels setRequestId(java.lang.String requestId) { - this.requestId = requestId; + public ListVmExtensions setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) { + this.returnPartialSuccess = returnPartialSuccess; return this; } @Override - public SetLabels set(String parameterName, Object value) { - return (SetLabels) super.set(parameterName, value); + public ListVmExtensions set(String parameterName, Object value) { + return (ListVmExtensions) super.set(parameterName, value); } } /** - * Changes target URL for forwarding rule. The new target should be of the same type as the old - * target. + * Modifies an existing zone VM extension policy within a folder. * - * Create a request for the method "forwardingRules.setTarget". + * Create a request for the method "folderZoneVmExtensionPolicies.update". * * This request holds the parameters needed by the compute server. After setting any optional - * parameters, call the {@link SetTarget#execute()} method to invoke the remote operation. + * parameters, call the {@link Update#execute()} method to invoke the remote operation. * - * @param project Project ID for this request. - * @param region Name of the region scoping this request. - * @param forwardingRule Name of the ForwardingRule resource in which target is to be set. - * @param content the {@link com.google.api.services.compute.model.TargetReference} + * @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 update. + * @param content the {@link com.google.api.services.compute.model.VmExtensionPolicy} * @return the request */ - public SetTarget setTarget(java.lang.String project, java.lang.String region, java.lang.String forwardingRule, com.google.api.services.compute.model.TargetReference content) throws java.io.IOException { - SetTarget result = new SetTarget(project, region, forwardingRule, content); + public Update update(java.lang.String folder, java.lang.String zone, java.lang.String vmExtensionPolicy, com.google.api.services.compute.model.VmExtensionPolicy content) throws java.io.IOException { + Update result = new Update(folder, zone, vmExtensionPolicy, content); initialize(result); return result; } - public class SetTarget extends ComputeRequest- * {@link - * SetTarget#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.
+ * parameters, call the {@link Update#execute()} method to invoke the remote operation.{@link + * Update#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
* - * @param project Project ID for this request. - * @param region Name of the region scoping this request. - * @param forwardingRule Name of the ForwardingRule resource in which target is to be set. - * @param content the {@link com.google.api.services.compute.model.TargetReference} + * @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 update. + * @param content the {@link com.google.api.services.compute.model.VmExtensionPolicy} * @since 1.13 */ - protected SetTarget(java.lang.String project, java.lang.String region, java.lang.String forwardingRule, com.google.api.services.compute.model.TargetReference 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."); + protected Update(java.lang.String folder, java.lang.String zone, java.lang.String vmExtensionPolicy, com.google.api.services.compute.model.VmExtensionPolicy content) { + super(Compute.this, "PATCH", 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(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])?))"); + 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.region = com.google.api.client.util.Preconditions.checkNotNull(region, "Required parameter region must be specified."); + 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(REGION_PATTERN.matcher(region).matches(), - "Parameter region must conform to the pattern " + + 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.forwardingRule = com.google.api.client.util.Preconditions.checkNotNull(forwardingRule, "Required parameter forwardingRule must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(FORWARDING_RULE_PATTERN.matcher(forwardingRule).matches(), - "Parameter forwardingRule 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."); } @Override - public SetTarget set$Xgafv(java.lang.String $Xgafv) { - return (SetTarget) super.set$Xgafv($Xgafv); + public Update set$Xgafv(java.lang.String $Xgafv) { + return (Update) super.set$Xgafv($Xgafv); } @Override - public SetTarget setAccessToken(java.lang.String accessToken) { - return (SetTarget) super.setAccessToken(accessToken); + public Update setAccessToken(java.lang.String accessToken) { + return (Update) super.setAccessToken(accessToken); } @Override - public SetTarget setAlt(java.lang.String alt) { - return (SetTarget) super.setAlt(alt); + public Update setAlt(java.lang.String alt) { + return (Update) super.setAlt(alt); } @Override - public SetTarget setCallback(java.lang.String callback) { - return (SetTarget) super.setCallback(callback); + public Update setCallback(java.lang.String callback) { + return (Update) super.setCallback(callback); } @Override - public SetTarget setFields(java.lang.String fields) { - return (SetTarget) super.setFields(fields); + public Update setFields(java.lang.String fields) { + return (Update) super.setFields(fields); } @Override - public SetTarget setKey(java.lang.String key) { - return (SetTarget) super.setKey(key); + public Update setKey(java.lang.String key) { + return (Update) super.setKey(key); } @Override - public SetTarget setOauthToken(java.lang.String oauthToken) { - return (SetTarget) super.setOauthToken(oauthToken); + public Update setOauthToken(java.lang.String oauthToken) { + return (Update) super.setOauthToken(oauthToken); } @Override - public SetTarget setPrettyPrint(java.lang.Boolean prettyPrint) { - return (SetTarget) super.setPrettyPrint(prettyPrint); + public Update setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Update) super.setPrettyPrint(prettyPrint); } @Override - public SetTarget setQuotaUser(java.lang.String quotaUser) { - return (SetTarget) super.setQuotaUser(quotaUser); + public Update setQuotaUser(java.lang.String quotaUser) { + return (Update) super.setQuotaUser(quotaUser); } @Override - public SetTarget setUploadType(java.lang.String uploadType) { - return (SetTarget) super.setUploadType(uploadType); + public Update setUploadType(java.lang.String uploadType) { + return (Update) super.setUploadType(uploadType); } @Override - public SetTarget setUploadProtocol(java.lang.String uploadProtocol) { - return (SetTarget) super.setUploadProtocol(uploadProtocol); + public Update setUploadProtocol(java.lang.String uploadProtocol) { + return (Update) super.setUploadProtocol(uploadProtocol); } @Override - public SetTarget setUserIp(java.lang.String userIp) { - return (SetTarget) super.setUserIp(userIp); + public Update setUserIp(java.lang.String userIp) { + return (Update) super.setUserIp(userIp); } - /** Project ID for this request. */ + /** Folder ID for this request. */ @com.google.api.client.util.Key - private java.lang.String project; + private java.lang.String folder; - /** Project ID for this request. + /** Folder ID for this request. */ - public java.lang.String getProject() { - return project; + public java.lang.String getFolder() { + return folder; } - /** Project ID for this request. */ - public SetTarget setProject(java.lang.String project) { + /** Folder ID for this request. */ + public Update setFolder(java.lang.String folder) { 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])?))"); + 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.project = project; + this.folder = folder; return this; } - /** Name of the region scoping this request. */ + /** Name of the zone for this request. */ @com.google.api.client.util.Key - private java.lang.String region; + private java.lang.String zone; - /** Name of the region scoping this request. + /** Name of the zone for this request. */ - public java.lang.String getRegion() { - return region; + public java.lang.String getZone() { + return zone; } - /** Name of the region scoping this request. */ - public SetTarget setRegion(java.lang.String region) { + /** Name of the zone for this request. */ + public Update setZone(java.lang.String zone) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(REGION_PATTERN.matcher(region).matches(), - "Parameter region must conform to the pattern " + + 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.region = region; + this.zone = zone; return this; } - /** Name of the ForwardingRule resource in which target is to be set. */ + /** Name of the zone VM extension policy to update. */ @com.google.api.client.util.Key - private java.lang.String forwardingRule; + private java.lang.String vmExtensionPolicy; - /** Name of the ForwardingRule resource in which target is to be set. + /** Name of the zone VM extension policy to update. */ - public java.lang.String getForwardingRule() { - return forwardingRule; + public java.lang.String getVmExtensionPolicy() { + return vmExtensionPolicy; } - /** Name of the ForwardingRule resource in which target is to be set. */ - public SetTarget setForwardingRule(java.lang.String forwardingRule) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(FORWARDING_RULE_PATTERN.matcher(forwardingRule).matches(), - "Parameter forwardingRule must conform to the pattern " + - "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}"); - } - this.forwardingRule = forwardingRule; + /** Name of the zone VM extension policy to update. */ + public Update setVmExtensionPolicy(java.lang.String vmExtensionPolicy) { + this.vmExtensionPolicy = vmExtensionPolicy; return this; } @@ -32370,146 +31997,161 @@ 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 SetTarget setRequestId(java.lang.String requestId) { + public Update setRequestId(java.lang.String requestId) { this.requestId = requestId; return this; } @Override - public SetTarget set(String parameterName, Object value) { - return (SetTarget) super.set(parameterName, value); + public Update set(String parameterName, Object value) { + return (Update) super.set(parameterName, value); } } + + } + + /** + * An accessor for creating requests from the ForwardingRules collection. + * + *The typical use is:
+ *
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.ForwardingRules.List request = compute.forwardingRules().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public ForwardingRules forwardingRules() {
+ return new ForwardingRules();
+ }
+
+ /**
+ * The "forwardingRules" collection of methods.
+ */
+ public class ForwardingRules {
+
/**
- * Returns permissions that a caller has on the specified resource.
+ * Retrieves an aggregated list of forwarding rules.
*
- * Create a request for the method "forwardingRules.testIamPermissions".
+ * To prevent failure, it is recommended that you set the `returnPartialSuccess` parameter to
+ * `true`.
+ *
+ * Create a request for the method "forwardingRules.aggregatedList".
*
* 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 AggregatedList#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
- * @param region The name of the region 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}
* @return the request
*/
- public TestIamPermissions testIamPermissions(java.lang.String project, java.lang.String region, java.lang.String resource, com.google.api.services.compute.model.TestPermissionsRequest content) throws java.io.IOException {
- TestIamPermissions result = new TestIamPermissions(project, region, resource, content);
+ public AggregatedList aggregatedList(java.lang.String project) throws java.io.IOException {
+ AggregatedList result = new AggregatedList(project);
initialize(result);
return result;
}
- public class TestIamPermissions extends ComputeRequest{@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 AggregatedList#execute()} method to invoke the remote operation. + *{@link AggregatedList#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl + * ientRequest)} must be called to initialize this instance immediately after invoking the + * constructor.
* * @param project Project ID for this request. - * @param region The name of the region 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} * @since 1.13 */ - protected TestIamPermissions(java.lang.String project, java.lang.String region, 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 AggregatedList(java.lang.String project) { + super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.ForwardingRuleAggregatedList.class); this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(), "Parameter project must conform to the pattern " + "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))"); } - this.region = com.google.api.client.util.Preconditions.checkNotNull(region, "Required parameter region must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(REGION_PATTERN.matcher(region).matches(), - "Parameter region must conform to the pattern " + - "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"); - } - this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource 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}"); - } } @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 AggregatedList set$Xgafv(java.lang.String $Xgafv) { + return (AggregatedList) super.set$Xgafv($Xgafv); } @Override - public TestIamPermissions setCallback(java.lang.String callback) { - return (TestIamPermissions) super.setCallback(callback); + public AggregatedList setAccessToken(java.lang.String accessToken) { + return (AggregatedList) super.setAccessToken(accessToken); } @Override - public TestIamPermissions setFields(java.lang.String fields) { - return (TestIamPermissions) super.setFields(fields); + public AggregatedList setAlt(java.lang.String alt) { + return (AggregatedList) super.setAlt(alt); } @Override - public TestIamPermissions setKey(java.lang.String key) { - return (TestIamPermissions) super.setKey(key); + public AggregatedList setCallback(java.lang.String callback) { + return (AggregatedList) super.setCallback(callback); } @Override - public TestIamPermissions setOauthToken(java.lang.String oauthToken) { - return (TestIamPermissions) super.setOauthToken(oauthToken); + public AggregatedList setFields(java.lang.String fields) { + return (AggregatedList) super.setFields(fields); } @Override - public TestIamPermissions setPrettyPrint(java.lang.Boolean prettyPrint) { - return (TestIamPermissions) super.setPrettyPrint(prettyPrint); + public AggregatedList setKey(java.lang.String key) { + return (AggregatedList) super.setKey(key); } @Override - public TestIamPermissions setQuotaUser(java.lang.String quotaUser) { - return (TestIamPermissions) super.setQuotaUser(quotaUser); + public AggregatedList setOauthToken(java.lang.String oauthToken) { + return (AggregatedList) super.setOauthToken(oauthToken); } @Override - public TestIamPermissions setUploadType(java.lang.String uploadType) { - return (TestIamPermissions) super.setUploadType(uploadType); + public AggregatedList setPrettyPrint(java.lang.Boolean prettyPrint) { + return (AggregatedList) super.setPrettyPrint(prettyPrint); } @Override - public TestIamPermissions setUploadProtocol(java.lang.String uploadProtocol) { - return (TestIamPermissions) super.setUploadProtocol(uploadProtocol); + public AggregatedList setQuotaUser(java.lang.String quotaUser) { + return (AggregatedList) super.setQuotaUser(quotaUser); } @Override - public TestIamPermissions setUserIp(java.lang.String userIp) { - return (TestIamPermissions) super.setUserIp(userIp); + public AggregatedList setUploadType(java.lang.String uploadType) { + return (AggregatedList) super.setUploadType(uploadType); + } + + @Override + public AggregatedList setUploadProtocol(java.lang.String uploadProtocol) { + return (AggregatedList) super.setUploadProtocol(uploadProtocol); + } + + @Override + public AggregatedList setUserIp(java.lang.String userIp) { + return (AggregatedList) super.setUserIp(userIp); } /** Project ID for this request. */ @@ -32523,222 +32165,7 @@ public java.lang.String getProject() { } /** Project ID for this request. */ - 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 " + - "(?:(?:[-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; - } - - /** The name of the region for this request. */ - @com.google.api.client.util.Key - private java.lang.String region; - - /** The name of the region for this request. - */ - public java.lang.String getRegion() { - return region; - } - - /** The name of the region for this request. */ - public TestIamPermissions setRegion(java.lang.String region) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(REGION_PATTERN.matcher(region).matches(), - "Parameter region must conform to the pattern " + - "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"); - } - this.region = region; - return this; - } - - /** Name or id of the resource for this request. */ - @com.google.api.client.util.Key - private java.lang.String resource; - - /** Name or id of the resource for this request. - */ - public java.lang.String getResource() { - return resource; - } - - /** Name or id of the resource for this request. */ - 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 " + - "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}"); - } - this.resource = resource; - return this; - } - - @Override - public TestIamPermissions set(String parameterName, Object value) { - return (TestIamPermissions) super.set(parameterName, value); - } - } - - } - - /** - * An accessor for creating requests from the FutureReservations collection. - * - *The typical use is:
- *
- * {@code Compute compute = new Compute(...);}
- * {@code Compute.FutureReservations.List request = compute.futureReservations().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public FutureReservations futureReservations() {
- return new FutureReservations();
- }
-
- /**
- * The "futureReservations" collection of methods.
- */
- public class FutureReservations {
-
- /**
- * Retrieves an aggregated list of future reservations.
- *
- * To prevent failure, it is recommended that you set the `returnPartialSuccess` parameter to
- * `true`.
- *
- * Create a request for the method "futureReservations.aggregatedList".
- *
- * This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link AggregatedList#execute()} method to invoke the remote operation.
- *
- * @param project Project ID for this request.
- * @return the request
- */
- public AggregatedList aggregatedList(java.lang.String project) throws java.io.IOException {
- AggregatedList result = new AggregatedList(project);
- initialize(result);
- return result;
- }
-
- public class AggregatedList extends ComputeRequest{@link AggregatedList#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl - * ientRequest)} must be called to initialize this instance immediately after invoking the - * constructor.
- * - * @param project Project ID for this request. - * @since 1.13 - */ - protected AggregatedList(java.lang.String project) { - super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.FutureReservationsAggregatedListResponse.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])?))"); - } - } - - @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 AggregatedList set$Xgafv(java.lang.String $Xgafv) { - return (AggregatedList) super.set$Xgafv($Xgafv); - } - - @Override - public AggregatedList setAccessToken(java.lang.String accessToken) { - return (AggregatedList) super.setAccessToken(accessToken); - } - - @Override - public AggregatedList setAlt(java.lang.String alt) { - return (AggregatedList) super.setAlt(alt); - } - - @Override - public AggregatedList setCallback(java.lang.String callback) { - return (AggregatedList) super.setCallback(callback); - } - - @Override - public AggregatedList setFields(java.lang.String fields) { - return (AggregatedList) super.setFields(fields); - } - - @Override - public AggregatedList setKey(java.lang.String key) { - return (AggregatedList) super.setKey(key); - } - - @Override - public AggregatedList setOauthToken(java.lang.String oauthToken) { - return (AggregatedList) super.setOauthToken(oauthToken); - } - - @Override - public AggregatedList setPrettyPrint(java.lang.Boolean prettyPrint) { - return (AggregatedList) super.setPrettyPrint(prettyPrint); - } - - @Override - public AggregatedList setQuotaUser(java.lang.String quotaUser) { - return (AggregatedList) super.setQuotaUser(quotaUser); - } - - @Override - public AggregatedList setUploadType(java.lang.String uploadType) { - return (AggregatedList) super.setUploadType(uploadType); - } - - @Override - public AggregatedList setUploadProtocol(java.lang.String uploadProtocol) { - return (AggregatedList) super.setUploadProtocol(uploadProtocol); - } - - @Override - public AggregatedList setUserIp(java.lang.String userIp) { - return (AggregatedList) 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 AggregatedList setProject(java.lang.String project) { + public AggregatedList 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 " + @@ -33075,116 +32502,132 @@ public AggregatedList set(String parameterName, Object value) { } } /** - * Cancel the specified future reservation. + * Deletes the specified ForwardingRule resource. * - * Create a request for the method "futureReservations.cancel". + * Create a request for the method "forwardingRules.delete". * * 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. + * parameters, call the {@link Delete#execute()} method to invoke the remote operation. * * @param project Project ID for this request. - * @param zone Name of the zone for this request. Name should conform to RFC1035. - * @param futureReservation Name of the future reservation to retrieve. Name should conform to RFC1035. + * @param region Name of the region scoping this request. + * @param forwardingRule Name of the ForwardingRule resource to delete. * @return the request */ - public Cancel cancel(java.lang.String project, java.lang.String zone, java.lang.String futureReservation) throws java.io.IOException { - Cancel result = new Cancel(project, zone, futureReservation); + public Delete delete(java.lang.String project, java.lang.String region, java.lang.String forwardingRule) throws java.io.IOException { + Delete result = new Delete(project, region, forwardingRule); initialize(result); return result; } - public class Cancel extends ComputeRequest{@link - * Cancel#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * 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 project Project ID for this request. - * @param zone Name of the zone for this request. Name should conform to RFC1035. - * @param futureReservation Name of the future reservation to retrieve. Name should conform to RFC1035. + * @param region Name of the region scoping this request. + * @param forwardingRule Name of the ForwardingRule resource to delete. * @since 1.13 */ - protected Cancel(java.lang.String project, java.lang.String zone, java.lang.String futureReservation) { - super(Compute.this, "POST", REST_PATH, null, com.google.api.services.compute.model.Operation.class); + protected Delete(java.lang.String project, java.lang.String region, java.lang.String forwardingRule) { + super(Compute.this, "DELETE", 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(), "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.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified."); - this.futureReservation = com.google.api.client.util.Preconditions.checkNotNull(futureReservation, "Required parameter futureReservation 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(REGION_PATTERN.matcher(region).matches(), + "Parameter region must conform to the pattern " + + "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"); + } + this.forwardingRule = com.google.api.client.util.Preconditions.checkNotNull(forwardingRule, "Required parameter forwardingRule must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(FORWARDING_RULE_PATTERN.matcher(forwardingRule).matches(), + "Parameter forwardingRule must conform to the pattern " + + "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}"); + } } @Override - public Cancel set$Xgafv(java.lang.String $Xgafv) { - return (Cancel) super.set$Xgafv($Xgafv); + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); } @Override - public Cancel setAccessToken(java.lang.String accessToken) { - return (Cancel) super.setAccessToken(accessToken); + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); } @Override - public Cancel setAlt(java.lang.String alt) { - return (Cancel) super.setAlt(alt); + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); } @Override - public Cancel setCallback(java.lang.String callback) { - return (Cancel) super.setCallback(callback); + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); } @Override - public Cancel setFields(java.lang.String fields) { - return (Cancel) super.setFields(fields); + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); } @Override - public Cancel setKey(java.lang.String key) { - return (Cancel) super.setKey(key); + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); } @Override - public Cancel setOauthToken(java.lang.String oauthToken) { - return (Cancel) super.setOauthToken(oauthToken); + public Delete setOauthToken(java.lang.String oauthToken) { + return (Delete) super.setOauthToken(oauthToken); } @Override - public Cancel setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Cancel) super.setPrettyPrint(prettyPrint); + public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Delete) super.setPrettyPrint(prettyPrint); } @Override - public Cancel setQuotaUser(java.lang.String quotaUser) { - return (Cancel) super.setQuotaUser(quotaUser); + public Delete setQuotaUser(java.lang.String quotaUser) { + return (Delete) super.setQuotaUser(quotaUser); } @Override - public Cancel setUploadType(java.lang.String uploadType) { - return (Cancel) super.setUploadType(uploadType); + public Delete setUploadType(java.lang.String uploadType) { + return (Delete) super.setUploadType(uploadType); } @Override - public Cancel setUploadProtocol(java.lang.String uploadProtocol) { - return (Cancel) super.setUploadProtocol(uploadProtocol); + public Delete setUploadProtocol(java.lang.String uploadProtocol) { + return (Delete) super.setUploadProtocol(uploadProtocol); } @Override - public Cancel setUserIp(java.lang.String userIp) { - return (Cancel) super.setUserIp(userIp); + public Delete setUserIp(java.lang.String userIp) { + return (Delete) super.setUserIp(userIp); } /** Project ID for this request. */ @@ -33198,7 +32641,7 @@ public java.lang.String getProject() { } /** Project ID for this request. */ - public Cancel setProject(java.lang.String project) { + public Delete 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 " + @@ -33208,35 +32651,45 @@ public Cancel setProject(java.lang.String project) { return this; } - /** Name of the zone for this request. Name should conform to RFC1035. */ + /** Name of the region scoping this request. */ @com.google.api.client.util.Key - private java.lang.String zone; + private java.lang.String region; - /** Name of the zone for this request. Name should conform to RFC1035. + /** Name of the region scoping this request. */ - public java.lang.String getZone() { - return zone; + public java.lang.String getRegion() { + return region; } - /** Name of the zone for this request. Name should conform to RFC1035. */ - public Cancel setZone(java.lang.String zone) { - this.zone = zone; + /** Name of the region scoping this request. */ + public Delete setRegion(java.lang.String region) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(REGION_PATTERN.matcher(region).matches(), + "Parameter region must conform to the pattern " + + "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"); + } + this.region = region; return this; } - /** Name of the future reservation to retrieve. Name should conform to RFC1035. */ + /** Name of the ForwardingRule resource to delete. */ @com.google.api.client.util.Key - private java.lang.String futureReservation; + private java.lang.String forwardingRule; - /** Name of the future reservation to retrieve. Name should conform to RFC1035. + /** Name of the ForwardingRule resource to delete. */ - public java.lang.String getFutureReservation() { - return futureReservation; + public java.lang.String getForwardingRule() { + return forwardingRule; } - /** Name of the future reservation to retrieve. Name should conform to RFC1035. */ - public Cancel setFutureReservation(java.lang.String futureReservation) { - this.futureReservation = futureReservation; + /** Name of the ForwardingRule resource to delete. */ + public Delete setForwardingRule(java.lang.String forwardingRule) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(FORWARDING_RULE_PATTERN.matcher(forwardingRule).matches(), + "Parameter forwardingRule must conform to the pattern " + + "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}"); + } + this.forwardingRule = forwardingRule; return this; } @@ -33284,127 +32737,153 @@ 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 Cancel setRequestId(java.lang.String requestId) { + public Delete setRequestId(java.lang.String requestId) { this.requestId = requestId; return this; } @Override - public Cancel set(String parameterName, Object value) { - return (Cancel) super.set(parameterName, value); + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); } } /** - * Deletes the specified future reservation. + * Returns the specified ForwardingRule resource. * - * Create a request for the method "futureReservations.delete". + * Create a request for the method "forwardingRules.get". * * 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. + * parameters, call the {@link Get#execute()} method to invoke the remote operation. * * @param project Project ID for this request. - * @param zone Name of the zone for this request. Name should conform to RFC1035. - * @param futureReservation Name of the future reservation to retrieve. Name should conform to RFC1035. + * @param region Name of the region scoping this request. + * @param forwardingRule Name of the ForwardingRule resource to return. * @return the request */ - public Delete delete(java.lang.String project, java.lang.String zone, java.lang.String futureReservation) throws java.io.IOException { - Delete result = new Delete(project, zone, futureReservation); + public Get get(java.lang.String project, java.lang.String region, java.lang.String forwardingRule) throws java.io.IOException { + Get result = new Get(project, region, forwardingRule); initialize(result); return result; } - public class Delete extends ComputeRequest{@link - * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} 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 zone Name of the zone for this request. Name should conform to RFC1035. - * @param futureReservation Name of the future reservation to retrieve. Name should conform to RFC1035. + * @param region Name of the region scoping this request. + * @param forwardingRule Name of the ForwardingRule resource to return. * @since 1.13 */ - protected Delete(java.lang.String project, java.lang.String zone, java.lang.String futureReservation) { - super(Compute.this, "DELETE", REST_PATH, null, com.google.api.services.compute.model.Operation.class); + protected Get(java.lang.String project, java.lang.String region, java.lang.String forwardingRule) { + super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.ForwardingRule.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.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified."); - this.futureReservation = com.google.api.client.util.Preconditions.checkNotNull(futureReservation, "Required parameter futureReservation 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(REGION_PATTERN.matcher(region).matches(), + "Parameter region must conform to the pattern " + + "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"); + } + this.forwardingRule = com.google.api.client.util.Preconditions.checkNotNull(forwardingRule, "Required parameter forwardingRule must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(FORWARDING_RULE_PATTERN.matcher(forwardingRule).matches(), + "Parameter forwardingRule must conform to the pattern " + + "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}"); + } } @Override - public Delete set$Xgafv(java.lang.String $Xgafv) { - return (Delete) super.set$Xgafv($Xgafv); + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); } @Override - public Delete setAccessToken(java.lang.String accessToken) { - return (Delete) super.setAccessToken(accessToken); + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); } @Override - public Delete setAlt(java.lang.String alt) { - return (Delete) super.setAlt(alt); + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); } @Override - public Delete setCallback(java.lang.String callback) { - return (Delete) super.setCallback(callback); + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); } @Override - public Delete setFields(java.lang.String fields) { - return (Delete) super.setFields(fields); + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); } @Override - public Delete setKey(java.lang.String key) { - return (Delete) super.setKey(key); + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); } @Override - public Delete setOauthToken(java.lang.String oauthToken) { - return (Delete) super.setOauthToken(oauthToken); + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); } @Override - public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Delete) super.setPrettyPrint(prettyPrint); + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); } @Override - public Delete setQuotaUser(java.lang.String quotaUser) { - return (Delete) super.setQuotaUser(quotaUser); + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); } @Override - public Delete setUploadType(java.lang.String uploadType) { - return (Delete) super.setUploadType(uploadType); + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); } @Override - public Delete setUploadProtocol(java.lang.String uploadProtocol) { - return (Delete) super.setUploadProtocol(uploadProtocol); + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); } @Override - public Delete setUserIp(java.lang.String userIp) { - return (Delete) 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. */ @@ -33418,7 +32897,7 @@ public java.lang.String getProject() { } /** Project ID for this request. */ - public Delete 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 " + @@ -33428,265 +32907,60 @@ public Delete setProject(java.lang.String project) { return this; } - /** Name of the zone for this request. Name should conform to RFC1035. */ + /** Name of the region scoping this request. */ @com.google.api.client.util.Key - private java.lang.String zone; + private java.lang.String region; - /** Name of the zone for this request. Name should conform to RFC1035. + /** Name of the region scoping this request. */ - public java.lang.String getZone() { - return zone; + public java.lang.String getRegion() { + return region; } - /** Name of the zone for this request. Name should conform to RFC1035. */ - public Delete setZone(java.lang.String zone) { - this.zone = zone; + /** Name of the region scoping this request. */ + public Get setRegion(java.lang.String region) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(REGION_PATTERN.matcher(region).matches(), + "Parameter region must conform to the pattern " + + "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"); + } + this.region = region; return this; } - /** Name of the future reservation to retrieve. Name should conform to RFC1035. */ + /** Name of the ForwardingRule resource to return. */ @com.google.api.client.util.Key - private java.lang.String futureReservation; + private java.lang.String forwardingRule; - /** Name of the future reservation to retrieve. Name should conform to RFC1035. + /** Name of the ForwardingRule resource to return. */ - public java.lang.String getFutureReservation() { - return futureReservation; - } - - /** Name of the future reservation to retrieve. Name should conform to RFC1035. */ - public Delete setFutureReservation(java.lang.String futureReservation) { - this.futureReservation = futureReservation; - return this; + public java.lang.String getForwardingRule() { + return forwardingRule; } - /** - * 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 information about the specified future reservation. - * - * Create a request for the method "futureReservations.get". - * - * This request holds the parameters needed by the compute server. After setting any optional - * parameters, call the {@link Get#execute()} method to invoke the remote operation. - * - * @param project Project ID for this request. - * @param zone Name of the zone for this request. Name should conform to RFC1035. - * @param futureReservation Name of the future reservation to retrieve. Name should conform to RFC1035. - * @return the request - */ - public Get get(java.lang.String project, java.lang.String zone, java.lang.String futureReservation) throws java.io.IOException { - Get result = new Get(project, zone, futureReservation); - initialize(result); - return result; - } - - public class Get extends ComputeRequest{@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 zone Name of the zone for this request. Name should conform to RFC1035. - * @param futureReservation Name of the future reservation to retrieve. Name should conform to RFC1035. - * @since 1.13 - */ - protected Get(java.lang.String project, java.lang.String zone, java.lang.String futureReservation) { - super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.FutureReservation.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.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified."); - this.futureReservation = com.google.api.client.util.Preconditions.checkNotNull(futureReservation, "Required parameter futureReservation must be specified."); - } - - @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); - } - - /** 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 Get setProject(java.lang.String project) { + /** Name of the ForwardingRule resource to return. */ + public Get setForwardingRule(java.lang.String forwardingRule) { 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])?))"); + com.google.api.client.util.Preconditions.checkArgument(FORWARDING_RULE_PATTERN.matcher(forwardingRule).matches(), + "Parameter forwardingRule must conform to the pattern " + + "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}"); } - this.project = project; + this.forwardingRule = forwardingRule; return this; } - /** Name of the zone for this request. Name should conform to RFC1035. */ @com.google.api.client.util.Key - private java.lang.String zone; - - /** Name of the zone for this request. Name should conform to RFC1035. - */ - public java.lang.String getZone() { - return zone; - } - - /** Name of the zone for this request. Name should conform to RFC1035. */ - public Get setZone(java.lang.String zone) { - this.zone = zone; - return this; - } + private java.lang.String view; - /** Name of the future reservation to retrieve. Name should conform to RFC1035. */ - @com.google.api.client.util.Key - private java.lang.String futureReservation; + /** - /** Name of the future reservation to retrieve. Name should conform to RFC1035. */ - public java.lang.String getFutureReservation() { - return futureReservation; + public java.lang.String getView() { + return view; } - /** Name of the future reservation to retrieve. Name should conform to RFC1035. */ - public Get setFutureReservation(java.lang.String futureReservation) { - this.futureReservation = futureReservation; + public Get setView(java.lang.String view) { + this.view = view; return this; } @@ -33696,35 +32970,40 @@ public Get set(String parameterName, Object value) { } } /** - * Creates a new Future Reservation. + * Creates a ForwardingRule resource in the specified project and region using the data included in + * the request. * - * Create a request for the method "futureReservations.insert". + * Create a request for the method "forwardingRules.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 project Project ID for this request. - * @param zone Name of the zone for this request. Name should conform to RFC1035. - * @param content the {@link com.google.api.services.compute.model.FutureReservation} + * @param region Name of the region scoping this request. + * @param content the {@link com.google.api.services.compute.model.ForwardingRule} * @return the request */ - public Insert insert(java.lang.String project, java.lang.String zone, com.google.api.services.compute.model.FutureReservation content) throws java.io.IOException { - Insert result = new Insert(project, zone, content); + public Insert insert(java.lang.String project, java.lang.String region, com.google.api.services.compute.model.ForwardingRule content) throws java.io.IOException { + Insert result = new Insert(project, region, content); initialize(result); return result; } public class Insert extends ComputeRequest {@link
@@ -33732,11 +33011,11 @@ public class Insert extends ComputeRequest {@link
@@ -33936,18 +33226,23 @@ public class List extends ComputeRequest {@link
- * Update#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * parameters, call the {@link Patch#execute()} method to invoke the remote operation. {@link
+ * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
* be called to initialize this instance immediately after invoking the constructor. The typical use is: {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * {@link
+ * SetLabels#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor. {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor.
+ * {@link
+ * SetTarget#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor. {@link GetOwnerInstance#initialize(com.google.api.client.googleapis.services.AbstractGoogle
- * ClientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor. {@link
- * Insert#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. {@link TestIamPermissions#initialize(com.google.api.client.googleapis.services.A
+ * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor. The typical use is: {@link
- * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. {@link AggregatedList#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
+ * ientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor. {@link
- * Move#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. {@link
+ * Cancel#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
- * {@link
- * SetLabels#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor. {@link
+ * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor. {@link TestIamPermissions#initialize(com.google.api.client.googleapis.services.A
- * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor. {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. The typical use is: {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. {@link
+ * Insert#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor. {@link
* List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
* called to initialize this instance immediately after invoking the constructor. The typical use is: {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * parameters, call the {@link Update#execute()} method to invoke the remote operation. {@link
+ * Update#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
* be called to initialize this instance immediately after invoking the constructor. The typical use is: {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. {@link
+ * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor. {@link
- * Insert#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. {@link
- * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. {@link GetOwnerInstance#initialize(com.google.api.client.googleapis.services.AbstractGoogle
+ * ClientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor. {@link
+ * Insert#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor. {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. {@link
- * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. {@link
+ * Move#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor.
- * {@link
- * SetTarget#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor. {@link AttachNetworkEndpoints#initialize(com.google.api.client.googleapis.servic
- * es.AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor. {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. The typical use is: {@link DetachNetworkEndpoints#initialize(com.google.api.client.googleapis.servic
- * es.AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor. {@link
+ * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor. {@link
@@ -39400,18 +39179,23 @@ public class Get extends ComputeRequest {@link
@@ -39576,10 +39368,10 @@ public class Insert extends ComputeRequest {@link
@@ -39762,7 +39554,7 @@ public class List extends ComputeRequest {@link ListNetworkEndpoints#initialize(com.google.api.client.googleapis.services
- * .AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor. {@link
+ * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
+ * {@link
+ * SetLabels#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor. The typical use is: {@link AggregatedList#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
- * ientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor.
+ * {@link
+ * SetTarget#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor. {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. {@link TestIamPermissions#initialize(com.google.api.client.googleapis.services.A
+ * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor. The typical use is: {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. {@link AttachNetworkEndpoints#initialize(com.google.api.client.googleapis.servic
+ * es.AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor. {@link
- * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. {@link
+ * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor. {@link
- * Wait#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. {@link DetachNetworkEndpoints#initialize(com.google.api.client.googleapis.servic
+ * es.AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor. The typical use is: {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. {@link
+ * Insert#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor. {@link
* List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
* called to initialize this instance immediately after invoking the constructor. The typical use is: {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. {@link ListNetworkEndpoints#initialize(com.google.api.client.googleapis.services
+ * .AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor. The typical use is: {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. {@link AggregatedList#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
+ * ientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor. {@link
- * Insert#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. {@link
- * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. {@link
- * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * 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. {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. The typical use is: {@link AggregatedList#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
- * ientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor. {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. {@link
+ * Wait#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. The typical use is: {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. {@link
+ * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor. {@link GetVmExtension#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
- * ientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor. {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. {@link
- * Insert#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. {@link
- * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. The typical use is: {@link ListVmExtensions#initialize(com.google.api.client.googleapis.services.AbstractGoogle
- * ClientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor. {@link
+ * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor. {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. {@link
- * Update#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * 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. The typical use is: {@link AggregatedList#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
- * ientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor. {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * parameters, call the {@link Patch#execute()} method to invoke the remote operation. {@link
+ * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
* be called to initialize this instance immediately after invoking the constructor. The typical use is:
- * {@link
- * Failover#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor. {@link AggregatedList#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
+ * ientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor. {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. {@link
- * Insert#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * 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. {@link
- * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * 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. {@link GetVmExtension#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
+ * ientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor. {@link
- * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * 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. The typical use is: {@link AggregatedList#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
- * ientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor. {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. {@link ListVmExtensions#initialize(com.google.api.client.googleapis.services.AbstractGoogle
+ * ClientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor. {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. {@link
- * Insert#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * parameters, call the {@link Update#execute()} method to invoke the remote operation. {@link
+ * Update#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
* be called to initialize this instance immediately after invoking the constructor. The typical use is: {@link
- * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. {@link AggregatedList#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
+ * ientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor. {@link
- * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * 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. {@link TestIamPermissions#initialize(com.google.api.client.googleapis.services.A
- * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor.
+ * {@link
+ * Failover#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor. {@link
- * Update#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. The typical use is: {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. {@link
+ * Insert#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
- * {@link
- * GetVersion#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor. {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. {@link
- * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. The typical use is: {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * parameters, call the {@link Patch#execute()} method to invoke the remote operation. {@link
+ * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
* be called to initialize this instance immediately after invoking the constructor. {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. The typical use is: {@link
- * Insert#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. {@link
- * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. {@link AggregatedList#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
+ * ientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor. {@link
- * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * 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. {@link TestIamPermissions#initialize(com.google.api.client.googleapis.services.A
- * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor. {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. {@link
- * Update#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * 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. The typical use is: {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. {@link
+ * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor. {@link
- * Insert#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. {@link TestIamPermissions#initialize(com.google.api.client.googleapis.services.A
+ * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor. {@link
+ * Update#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor. The typical use is: {@link
- * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * 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.
+ * {@link
+ * GetVersion#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor. {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. The typical use is: {@link
- * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * 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. {@link TestIamPermissions#initialize(com.google.api.client.googleapis.services.A
- * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor. {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. {@link
- * Update#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * 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. The typical use is: {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * 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. The typical use is: {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. {@link
- * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. The typical use is: {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * parameters, call the {@link Patch#execute()} method to invoke the remote operation. {@link
+ * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
* be called to initialize this instance immediately after invoking the constructor. {@link TestIamPermissions#initialize(com.google.api.client.googleapis.services.A
+ * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor.
- * {@link
- * Deprecate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor. {@link
+ * Update#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor. The typical use is: {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. {@link
+ * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
- * {@link GetFromFamily#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientR
- * equest)} must be called to initialize this instance immediately after invoking the constructor.
- *
- * {@link
- * GetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor. {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. {@link
@@ -56428,10 +55311,10 @@ public class Insert extends ComputeRequest {@link
@@ -56641,7 +55497,7 @@ public class List extends ComputeRequest {@link
@@ -57073,11 +55910,11 @@ public class Patch extends ComputeRequest {@link TestIamPermissions#initialize(com.google.api.client.googleapis.services.A
+ * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor.
- * {@link
- * SetLabels#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor. {@link
+ * Update#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor. The typical use is: {@link TestIamPermissions#initialize(com.google.api.client.googleapis.services.A
- * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor. {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. The typical use is: {@link
- * Cancel#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. The typical use is: {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. {@link
+ * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor. {@link
- * Insert#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * {@link
+ * Deprecate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor. {@link
- * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * 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.
+ * {@link GetFromFamily#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientR
+ * equest)} must be called to initialize this instance immediately after invoking the constructor.
+ *
+ * {@link
+ * GetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor. The typical use is: {@link AbandonInstances#initialize(com.google.api.client.googleapis.services.AbstractGoogle
- * ClientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor. {@link
+ * Insert#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor. {@link AggregatedList#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
- * ientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor. {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. {@link ApplyUpdatesToInstances#initialize(com.google.api.client.googleapis.servi
- * ces.AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor. {@link
+ * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor. {@link ConfigureAcceleratorTopologies#initialize(com.google.api.client.go
- * ogleapis.services.AbstractGoogleClientRequest)} must be called to initialize this instance
- * immediately after invoking the constructor.
+ * {@link
+ * SetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor. {@link CreateInstances#initialize(com.google.api.client.googleapis.services.AbstractGoogleC
- * lientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor.
+ * {@link
+ * SetLabels#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor. {@link TestIamPermissions#initialize(com.google.api.client.googleapis.services.A
+ * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor. The typical use is: {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * 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.
- * Boolean properties can have four possible values:
- * {@code null}, {@link com.google.api.client.util.Data#NULL_BOOLEAN}, {@link Boolean#TRUE}
- * or {@link Boolean#FALSE}.
- *
- * This method returns {@link Boolean#TRUE} if the default of the property is {@link Boolean#TRUE}
- * and it is {@code null} or {@link com.google.api.client.util.Data#NULL_BOOLEAN}.
- * {@link Boolean#FALSE} is returned if the default of the property is {@link Boolean#FALSE} and
- * it is {@code null} or {@link com.google.api.client.util.Data#NULL_BOOLEAN}.
- *
- * When set, graceful shutdown is skipped for instance deletion even if it's configured for the
- instances.
- * {@link DeleteInstances#initialize(com.google.api.client.googleapis.services.AbstractGoogleC
- * lientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor. {@link
+ * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
- * Boolean properties can have four possible values:
- * {@code null}, {@link com.google.api.client.util.Data#NULL_BOOLEAN}, {@link Boolean#TRUE}
- * or {@link Boolean#FALSE}.
- *
- * This method returns {@link Boolean#TRUE} if the default of the property is {@link Boolean#TRUE}
- * and it is {@code null} or {@link com.google.api.client.util.Data#NULL_BOOLEAN}.
- * {@link Boolean#FALSE} is returned if the default of the property is {@link Boolean#FALSE} and
- * it is {@code null} or {@link com.google.api.client.util.Data#NULL_BOOLEAN}.
- *
- * When set, graceful shutdown is skipped for instance deletion even if it's configured for the
- instances.
- * {@link DeletePerInstanceConfigs#initialize(com.google.api.client.googleapis.serv
- * ices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor. {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor. {@link
+ * Insert#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor. {@link GetAvailableAcceleratorTopologies#initialize(com.google.api.client
- * .googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this instance
- * immediately after invoking the constructor. {@link
- * Insert#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. {@link
@@ -62078,11 +60818,12 @@ public class List extends ComputeRequest
- * {@link
- * ListErrors#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor. {@link AbandonInstances#initialize(com.google.api.client.googleapis.services.AbstractGoogle
+ * ClientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor. {@link AggregatedList#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
+ * ientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor. {@link ListManagedInstances#initialize(com.google.api.client.googleapis.services
- * .AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * parameters, call the {@link ApplyUpdatesToInstances#execute()} method to invoke the remote
+ * operation. {@link ApplyUpdatesToInstances#initialize(com.google.api.client.googleapis.servi
+ * ces.AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
* invoking the constructor. {@link ConfigureAcceleratorTopologies#initialize(com.google.api.client.go
+ * ogleapis.services.AbstractGoogleClientRequest)} must be called to initialize this instance
+ * immediately after invoking the constructor. {@link ListPerInstanceConfigs#initialize(com.google.api.client.googleapis.servic
- * es.AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor. {@link CreateInstances#initialize(com.google.api.client.googleapis.services.AbstractGoogleC
+ * lientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor. {@link
+ * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
* be called to initialize this instance immediately after invoking the constructor.
+ * Boolean properties can have four possible values:
+ * {@code null}, {@link com.google.api.client.util.Data#NULL_BOOLEAN}, {@link Boolean#TRUE}
+ * or {@link Boolean#FALSE}.
+ *
+ * This method returns {@link Boolean#TRUE} if the default of the property is {@link Boolean#TRUE}
+ * and it is {@code null} or {@link com.google.api.client.util.Data#NULL_BOOLEAN}.
+ * {@link Boolean#FALSE} is returned if the default of the property is {@link Boolean#FALSE} and
+ * it is {@code null} or {@link com.google.api.client.util.Data#NULL_BOOLEAN}.
+ *
+ * When set, graceful shutdown is skipped for instance deletion even if it's configured for the
+ instances.
+ * {@link PatchPerInstanceConfigs#initialize(com.google.api.client.googleapis.servi
- * ces.AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor. {@link DeleteInstances#initialize(com.google.api.client.googleapis.services.AbstractGoogleC
+ * lientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor.
+ * Boolean properties can have four possible values:
+ * {@code null}, {@link com.google.api.client.util.Data#NULL_BOOLEAN}, {@link Boolean#TRUE}
+ * or {@link Boolean#FALSE}.
+ *
+ * This method returns {@link Boolean#TRUE} if the default of the property is {@link Boolean#TRUE}
+ * and it is {@code null} or {@link com.google.api.client.util.Data#NULL_BOOLEAN}.
+ * {@link Boolean#FALSE} is returned if the default of the property is {@link Boolean#FALSE} and
+ * it is {@code null} or {@link com.google.api.client.util.Data#NULL_BOOLEAN}.
+ *
+ * When set, graceful shutdown is skipped for instance deletion even if it's configured for the
+ instances.
+ * {@link RecreateInstances#initialize(com.google.api.client.googleapis.services.AbstractGoogl
- * eClientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor. {@link DeletePerInstanceConfigs#initialize(com.google.api.client.googleapis.serv
+ * ices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor.
- * Boolean properties can have four possible values:
- * {@code null}, {@link com.google.api.client.util.Data#NULL_BOOLEAN}, {@link Boolean#TRUE}
- * or {@link Boolean#FALSE}.
- *
- * This method returns {@link Boolean#TRUE} if the default of the property is {@link Boolean#TRUE}
- * and it is {@code null} or {@link com.google.api.client.util.Data#NULL_BOOLEAN}.
- * {@link Boolean#FALSE} is returned if the default of the property is {@link Boolean#FALSE} and
- * it is {@code null} or {@link com.google.api.client.util.Data#NULL_BOOLEAN}.
- *
- * When set, graceful shutdown is skipped for instance recreation even if it's configured for the
- instances.
- * {@link
- * Resize#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. {@link ResizeAdvanced#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
- * ientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor. {@link GetAvailableAcceleratorTopologies#initialize(com.google.api.client
+ * .googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this instance
+ * immediately after invoking the constructor. {@link ResumeInstances#initialize(com.google.api.client.googleapis.services.AbstractGoogleC
- * lientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor. {@link
+ * Insert#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor. {@link SetAutoHealingPolicies#initialize(com.google.api.client.googleapis.servic
- * es.AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor. {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor. {@link SetInstanceTemplate#initialize(com.google.api.client.googleapis.services.
- * AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor.
+ * {@link
+ * ListErrors#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor. {@link SetTargetPools#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
- * ientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor. {@link StartInstances#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
- * ientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor. {@link ListManagedInstances#initialize(com.google.api.client.googleapis.services
+ * .AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor.
- * {@link StopInstances#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientR
- * equest)} must be called to initialize this instance immediately after invoking the constructor.
- * {@link ListPerInstanceConfigs#initialize(com.google.api.client.googleapis.servic
+ * es.AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor.
- * Boolean properties can have four possible values:
- * {@code null}, {@link com.google.api.client.util.Data#NULL_BOOLEAN}, {@link Boolean#TRUE}
- * or {@link Boolean#FALSE}.
- *
- * This method returns {@link Boolean#TRUE} if the default of the property is {@link Boolean#TRUE}
- * and it is {@code null} or {@link com.google.api.client.util.Data#NULL_BOOLEAN}.
- * {@link Boolean#FALSE} is returned if the default of the property is {@link Boolean#FALSE} and
- * it is {@code null} or {@link com.google.api.client.util.Data#NULL_BOOLEAN}.
- *
- * When set, graceful shutdown is skipped for instance stopping even if it's configured for the
- instances.
- * {@link SuspendInstances#initialize(com.google.api.client.googleapis.services.AbstractGoogle
- * ClientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor. {@link
+ * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor. {@link TestIamPermissions#initialize(com.google.api.client.googleapis.services.A
- * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * parameters, call the {@link PatchPerInstanceConfigs#execute()} method to invoke the remote
+ * operation. {@link PatchPerInstanceConfigs#initialize(com.google.api.client.googleapis.servi
+ * ces.AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
* invoking the constructor. {@link
- * Update#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. {@link RecreateInstances#initialize(com.google.api.client.googleapis.services.AbstractGoogl
+ * eClientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor.
+ * Boolean properties can have four possible values:
+ * {@code null}, {@link com.google.api.client.util.Data#NULL_BOOLEAN}, {@link Boolean#TRUE}
+ * or {@link Boolean#FALSE}.
+ *
+ * This method returns {@link Boolean#TRUE} if the default of the property is {@link Boolean#TRUE}
+ * and it is {@code null} or {@link com.google.api.client.util.Data#NULL_BOOLEAN}.
+ * {@link Boolean#FALSE} is returned if the default of the property is {@link Boolean#FALSE} and
+ * it is {@code null} or {@link com.google.api.client.util.Data#NULL_BOOLEAN}.
+ *
+ * When set, graceful shutdown is skipped for instance recreation even if it's configured for the
+ instances.
+ * {@link UpdatePerInstanceConfigs#initialize(com.google.api.client.googleapis.serv
- * ices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor. {@link
+ * Resize#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor. The typical use is:
- * {@link
- * AddInstances#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor. {@link ResizeAdvanced#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
+ * ientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor. {@link AggregatedList#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
- * ientRequest)} must be called to initialize this instance immediately after invoking the
+ * parameters, call the {@link ResumeInstances#execute()} method to invoke the remote operation.
+ * {@link ResumeInstances#initialize(com.google.api.client.googleapis.services.AbstractGoogleC
+ * lientRequest)} must be called to initialize this instance immediately after invoking the
* constructor. {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. {@link SetAutoHealingPolicies#initialize(com.google.api.client.googleapis.servic
+ * es.AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor.
- * {@code Compute compute = new Compute(...);}
- * {@code Compute.GlobalAddresses.List request = compute.globalAddresses().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public GlobalAddresses globalAddresses() {
- return new GlobalAddresses();
- }
-
- /**
- * The "globalAddresses" collection of methods.
- */
- public class GlobalAddresses {
-
/**
- * Deletes the specified address resource.
+ * Sets the labels on the specified resource. To learn more about labels, read the Labeling
+ * Resources documentation.
*
- * Create a request for the method "globalAddresses.delete".
+ * Create a request for the method "forwardingRules.setLabels".
*
* 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.
+ * parameters, call the {@link SetLabels#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
- * @param address Name of the address resource to delete.
+ * @param region The region for this request.
+ * @param resource Name or id of the resource for this request.
+ * @param content the {@link com.google.api.services.compute.model.RegionSetLabelsRequest}
* @return the request
*/
- public Delete delete(java.lang.String project, java.lang.String address) throws java.io.IOException {
- Delete result = new Delete(project, address);
+ public SetLabels setLabels(java.lang.String project, java.lang.String region, java.lang.String resource, com.google.api.services.compute.model.RegionSetLabelsRequest content) throws java.io.IOException {
+ SetLabels result = new SetLabels(project, region, resource, content);
initialize(result);
return result;
}
- public class Delete extends ComputeRequest
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.FutureReservations.List request = compute.futureReservations().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public FutureReservations futureReservations() {
+ return new FutureReservations();
+ }
+
+ /**
+ * The "futureReservations" collection of methods.
+ */
+ public class FutureReservations {
+
/**
- * Retrieves a list of global addresses.
+ * Retrieves an aggregated list of future reservations.
*
- * Create a request for the method "globalAddresses.list".
+ * To prevent failure, it is recommended that you set the `returnPartialSuccess` parameter to
+ * `true`.
+ *
+ * Create a request for the method "futureReservations.aggregatedList".
*
* 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.
+ * parameters, call the {@link AggregatedList#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
* @return the request
*/
- public List list(java.lang.String project) throws java.io.IOException {
- List result = new List(project);
+ public AggregatedList aggregatedList(java.lang.String project) throws java.io.IOException {
+ AggregatedList result = new AggregatedList(project);
initialize(result);
return result;
}
- public class List extends ComputeRequest
- * {@code Compute compute = new Compute(...);}
- * {@code Compute.GlobalFolderOperations.List request = compute.globalFolderOperations().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public GlobalFolderOperations globalFolderOperations() {
- return new GlobalFolderOperations();
- }
+ /** Name of the future reservation to retrieve. Name should conform to RFC1035.
+ */
+ public java.lang.String getFutureReservation() {
+ return futureReservation;
+ }
- /**
- * The "globalFolderOperations" collection of methods.
- */
- public class GlobalFolderOperations {
+ /** Name of the future reservation to retrieve. Name should conform to RFC1035. */
+ public Get setFutureReservation(java.lang.String futureReservation) {
+ this.futureReservation = futureReservation;
+ return this;
+ }
+ @Override
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
+ }
+ }
/**
- * Retrieves the specified Operations resource.
+ * Creates a new Future Reservation.
*
- * Create a request for the method "globalFolderOperations.get".
+ * Create a request for the method "futureReservations.insert".
*
* 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.
+ * parameters, call the {@link Insert#execute()} method to invoke the remote operation.
*
- * @param folder Folder ID for this request.
- * @param operation Name of the Operations resource to return.
+ * @param project Project ID for this request.
+ * @param zone Name of the zone for this request. Name should conform to RFC1035.
+ * @param content the {@link com.google.api.services.compute.model.FutureReservation}
* @return the request
*/
- public Get get(java.lang.String folder, java.lang.String operation) throws java.io.IOException {
- Get result = new Get(folder, operation);
+ public Insert insert(java.lang.String project, java.lang.String zone, com.google.api.services.compute.model.FutureReservation content) throws java.io.IOException {
+ Insert result = new Insert(project, zone, content);
initialize(result);
return result;
}
- public class Get extends ComputeRequest
- * {@code Compute compute = new Compute(...);}
- * {@code Compute.GlobalForwardingRules.List request = compute.globalForwardingRules().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public GlobalForwardingRules globalForwardingRules() {
- return new GlobalForwardingRules();
- }
-
- /**
- * The "globalForwardingRules" collection of methods.
- */
- public class GlobalForwardingRules {
-
/**
- * Deletes the specified GlobalForwardingRule resource.
+ * Updates the specified future reservation.
*
- * Create a request for the method "globalForwardingRules.delete".
+ * Create a request for the method "futureReservations.update".
*
* 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.
+ * parameters, call the {@link Update#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
- * @param forwardingRule Name of the ForwardingRule resource to delete.
+ * @param zone Name of the zone for this request. Name should conform to RFC1035.
+ * @param futureReservation Name of the reservation to update. Name should conform to RFC1035.
+ * @param content the {@link com.google.api.services.compute.model.FutureReservation}
* @return the request
*/
- public Delete delete(java.lang.String project, java.lang.String forwardingRule) throws java.io.IOException {
- Delete result = new Delete(project, forwardingRule);
+ public Update update(java.lang.String project, java.lang.String zone, java.lang.String futureReservation, com.google.api.services.compute.model.FutureReservation content) throws java.io.IOException {
+ Update result = new Update(project, zone, futureReservation, content);
initialize(result);
return result;
}
- public class Delete extends ComputeRequest
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.GlobalAddresses.List request = compute.globalAddresses().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public GlobalAddresses globalAddresses() {
+ return new GlobalAddresses();
+ }
+
+ /**
+ * The "globalAddresses" collection of methods.
+ */
+ public class GlobalAddresses {
+
/**
- * Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by
- * making a list() request.
+ * Deletes the specified address resource.
*
- * Create a request for the method "globalForwardingRules.get".
+ * Create a request for the method "globalAddresses.delete".
*
* 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.
+ * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
- * @param forwardingRule Name of the ForwardingRule resource to return.
+ * @param address Name of the address resource to delete.
* @return the request
*/
- public Get get(java.lang.String project, java.lang.String forwardingRule) throws java.io.IOException {
- Get result = new Get(project, forwardingRule);
+ public Delete delete(java.lang.String project, java.lang.String address) throws java.io.IOException {
+ Delete result = new Delete(project, address);
initialize(result);
return result;
}
- public class Get extends ComputeRequest
* {@code Compute compute = new Compute(...);}
- * {@code Compute.GlobalNetworkEndpointGroups.List request = compute.globalNetworkEndpointGroups().list(parameters ...)}
+ * {@code Compute.GlobalFolderOperations.List request = compute.globalFolderOperations().list(parameters ...)}
*
*
* @return the resource collection
*/
- public GlobalNetworkEndpointGroups globalNetworkEndpointGroups() {
- return new GlobalNetworkEndpointGroups();
+ public GlobalFolderOperations globalFolderOperations() {
+ return new GlobalFolderOperations();
}
/**
- * The "globalNetworkEndpointGroups" collection of methods.
+ * The "globalFolderOperations" collection of methods.
*/
- public class GlobalNetworkEndpointGroups {
+ public class GlobalFolderOperations {
/**
- * Attach a network endpoint to the specified network endpoint group.
+ * Retrieves the specified Operations resource.
*
- * Create a request for the method "globalNetworkEndpointGroups.attachNetworkEndpoints".
+ * Create a request for the method "globalFolderOperations.get".
*
* This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link AttachNetworkEndpoints#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 networkEndpointGroup The name of the network endpoint group where you are attaching network
- endpoints to. It should
- * comply with RFC1035.
- * @param content the {@link com.google.api.services.compute.model.GlobalNetworkEndpointGroupsAttachEndpointsRequest}
+ * @param folder Folder ID for this request.
+ * @param operation Name of the Operations resource to return.
* @return the request
*/
- public AttachNetworkEndpoints attachNetworkEndpoints(java.lang.String project, java.lang.String networkEndpointGroup, com.google.api.services.compute.model.GlobalNetworkEndpointGroupsAttachEndpointsRequest content) throws java.io.IOException {
- AttachNetworkEndpoints result = new AttachNetworkEndpoints(project, networkEndpointGroup, content);
+ public Get get(java.lang.String folder, java.lang.String operation) throws java.io.IOException {
+ Get result = new Get(folder, operation);
initialize(result);
return result;
}
- public class AttachNetworkEndpoints extends ComputeRequest
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.GlobalForwardingRules.List request = compute.globalForwardingRules().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public GlobalForwardingRules globalForwardingRules() {
+ return new GlobalForwardingRules();
+ }
+
+ /**
+ * The "globalForwardingRules" collection of methods.
+ */
+ public class GlobalForwardingRules {
+
/**
- * Detach the network endpoint from the specified network endpoint group.
+ * Deletes the specified GlobalForwardingRule resource.
*
- * Create a request for the method "globalNetworkEndpointGroups.detachNetworkEndpoints".
+ * Create a request for the method "globalForwardingRules.delete".
*
* This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link DetachNetworkEndpoints#execute()} method to invoke the remote
- * operation.
+ * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
- * @param networkEndpointGroup The name of the network endpoint group where you are removing network
- endpoints. It should comply
- * with RFC1035.
- * @param content the {@link com.google.api.services.compute.model.GlobalNetworkEndpointGroupsDetachEndpointsRequest}
+ * @param forwardingRule Name of the ForwardingRule resource to delete.
* @return the request
*/
- public DetachNetworkEndpoints detachNetworkEndpoints(java.lang.String project, java.lang.String networkEndpointGroup, com.google.api.services.compute.model.GlobalNetworkEndpointGroupsDetachEndpointsRequest content) throws java.io.IOException {
- DetachNetworkEndpoints result = new DetachNetworkEndpoints(project, networkEndpointGroup, content);
+ public Delete delete(java.lang.String project, java.lang.String forwardingRule) throws java.io.IOException {
+ Delete result = new Delete(project, forwardingRule);
initialize(result);
return result;
}
- public class DetachNetworkEndpoints extends ComputeRequest
- * {@code Compute compute = new Compute(...);}
- * {@code Compute.GlobalOperations.List request = compute.globalOperations().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public GlobalOperations globalOperations() {
- return new GlobalOperations();
- }
-
- /**
- * The "globalOperations" collection of methods.
- */
- public class GlobalOperations {
-
/**
- * Retrieves an aggregated list of all operations.
- *
- * To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to
- * `true`.
+ * Changes target URL for the GlobalForwardingRule resource. The new target should be of the same
+ * type as the old target.
*
- * Create a request for the method "globalOperations.aggregatedList".
+ * Create a request for the method "globalForwardingRules.setTarget".
*
* This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link AggregatedList#execute()} method to invoke the remote operation.
+ * parameters, call the {@link SetTarget#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
+ * @param forwardingRule Name of the ForwardingRule resource in which target is to be set.
+ * @param content the {@link com.google.api.services.compute.model.TargetReference}
* @return the request
*/
- public AggregatedList aggregatedList(java.lang.String project) throws java.io.IOException {
- AggregatedList result = new AggregatedList(project);
+ public SetTarget setTarget(java.lang.String project, java.lang.String forwardingRule, com.google.api.services.compute.model.TargetReference content) throws java.io.IOException {
+ SetTarget result = new SetTarget(project, forwardingRule, content);
initialize(result);
return result;
}
- public class AggregatedList extends ComputeRequest
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.GlobalNetworkEndpointGroups.List request = compute.globalNetworkEndpointGroups().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public GlobalNetworkEndpointGroups globalNetworkEndpointGroups() {
+ return new GlobalNetworkEndpointGroups();
+ }
+
+ /**
+ * The "globalNetworkEndpointGroups" collection of methods.
+ */
+ public class GlobalNetworkEndpointGroups {
+
/**
- * Retrieves the specified Operations resource.
+ * Attach a network endpoint to the specified network endpoint group.
*
- * Create a request for the method "globalOperations.get".
+ * Create a request for the method "globalNetworkEndpointGroups.attachNetworkEndpoints".
*
* 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.
+ * parameters, call the {@link AttachNetworkEndpoints#execute()} method to invoke the remote
+ * operation.
*
* @param project Project ID for this request.
- * @param operation Name of the Operations resource to return, or its unique numeric
- identifier.
+ * @param networkEndpointGroup The name of the network endpoint group where you are attaching network
+ endpoints to. It should
+ * comply with RFC1035.
+ * @param content the {@link com.google.api.services.compute.model.GlobalNetworkEndpointGroupsAttachEndpointsRequest}
* @return the request
*/
- public Get get(java.lang.String project, java.lang.String operation) throws java.io.IOException {
- Get result = new Get(project, operation);
+ public AttachNetworkEndpoints attachNetworkEndpoints(java.lang.String project, java.lang.String networkEndpointGroup, com.google.api.services.compute.model.GlobalNetworkEndpointGroupsAttachEndpointsRequest content) throws java.io.IOException {
+ AttachNetworkEndpoints result = new AttachNetworkEndpoints(project, networkEndpointGroup, content);
initialize(result);
return result;
}
- public class Get extends ComputeRequest
- * {@code Compute compute = new Compute(...);}
- * {@code Compute.GlobalOrganizationOperations.List request = compute.globalOrganizationOperations().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public GlobalOrganizationOperations globalOrganizationOperations() {
- return new GlobalOrganizationOperations();
- }
+ 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 "globalOrganizationOperations" collection of methods.
- */
- public class GlobalOrganizationOperations {
+ 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;
+ }
- /**
- * Deletes the specified Operations resource.
+ /**
+ * 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 DetachNetworkEndpoints setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
+ @Override
+ public DetachNetworkEndpoints set(String parameterName, Object value) {
+ return (DetachNetworkEndpoints) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Returns the specified network endpoint group.
*
- * Create a request for the method "globalOrganizationOperations.delete".
+ * Create a request for the method "globalNetworkEndpointGroups.get".
*
* 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.
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
*
- * @param operation Name of the Operations resource to delete, or its unique numeric
- identifier.
+ * @param project Project ID for this request.
+ * @param networkEndpointGroup The name of the network endpoint group. It should comply with RFC1035.
* @return the request
*/
- public Delete delete(java.lang.String operation) throws java.io.IOException {
- Delete result = new Delete(operation);
+ public Get get(java.lang.String project, java.lang.String networkEndpointGroup) throws java.io.IOException {
+ Get result = new Get(project, networkEndpointGroup);
initialize(result);
return result;
}
- public class Delete extends ComputeRequest
- * {@code Compute compute = new Compute(...);}
- * {@code Compute.GlobalPublicDelegatedPrefixes.List request = compute.globalPublicDelegatedPrefixes().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public GlobalPublicDelegatedPrefixes globalPublicDelegatedPrefixes() {
- return new GlobalPublicDelegatedPrefixes();
- }
-
- /**
- * The "globalPublicDelegatedPrefixes" collection of methods.
- */
- public class GlobalPublicDelegatedPrefixes {
-
/**
- * Deletes the specified global PublicDelegatedPrefix.
+ * Lists the network endpoints in the specified network endpoint group.
*
- * Create a request for the method "globalPublicDelegatedPrefixes.delete".
+ * Create a request for the method "globalNetworkEndpointGroups.listNetworkEndpoints".
*
* 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.
+ * parameters, call the {@link ListNetworkEndpoints#execute()} method to invoke the remote
+ * operation.
*
* @param project Project ID for this request.
- * @param publicDelegatedPrefix Name of the PublicDelegatedPrefix resource to delete.
+ * @param networkEndpointGroup The name of the network endpoint group from which you want to generate a
+ list of included network
+ * endpoints. It should comply with RFC1035.
* @return the request
*/
- public Delete delete(java.lang.String project, java.lang.String publicDelegatedPrefix) throws java.io.IOException {
- Delete result = new Delete(project, publicDelegatedPrefix);
+ public ListNetworkEndpoints listNetworkEndpoints(java.lang.String project, java.lang.String networkEndpointGroup) throws java.io.IOException {
+ ListNetworkEndpoints result = new ListNetworkEndpoints(project, networkEndpointGroup);
initialize(result);
return result;
}
- public class Delete extends ComputeRequest
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.GlobalOperations.List request = compute.globalOperations().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public GlobalOperations globalOperations() {
+ return new GlobalOperations();
+ }
+
+ /**
+ * The "globalOperations" collection of methods.
+ */
+ public class GlobalOperations {
+
/**
- * Returns the specified global PublicDelegatedPrefix resource.
+ * Retrieves an aggregated list of all operations.
*
- * Create a request for the method "globalPublicDelegatedPrefixes.get".
+ * To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to
+ * `true`.
+ *
+ * Create a request for the method "globalOperations.aggregatedList".
*
* 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.
+ * parameters, call the {@link AggregatedList#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
- * @param publicDelegatedPrefix Name of the PublicDelegatedPrefix resource to return.
* @return the request
*/
- public Get get(java.lang.String project, java.lang.String publicDelegatedPrefix) throws java.io.IOException {
- Get result = new Get(project, publicDelegatedPrefix);
+ public AggregatedList aggregatedList(java.lang.String project) throws java.io.IOException {
+ AggregatedList result = new AggregatedList(project);
initialize(result);
return result;
}
- public class Get extends ComputeRequest
- * {@code Compute compute = new Compute(...);}
- * {@code Compute.GlobalVmExtensionPolicies.List request = compute.globalVmExtensionPolicies().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public GlobalVmExtensionPolicies globalVmExtensionPolicies() {
- return new GlobalVmExtensionPolicies();
- }
-
- /**
- * The "globalVmExtensionPolicies" collection of methods.
- */
- public class GlobalVmExtensionPolicies {
-
/**
- * Retrieves the list of all VM Extension Policy resources available to the specified project.
- *
- * To prevent failure, it's recommended that you set the `returnPartialSuccess` parameter to `true`.
+ * Retrieves a list of Operation resources contained within the specified project.
*
- * Create a request for the method "globalVmExtensionPolicies.aggregatedList".
+ * Create a request for the method "globalOperations.list".
*
* This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link AggregatedList#execute()} method to invoke the remote operation.
+ * parameters, call the {@link List#execute()} method to invoke the remote operation.
*
- * @param project Name of the project scoping this request.
+ * @param project Project ID for this request.
* @return the request
*/
- public AggregatedList aggregatedList(java.lang.String project) throws java.io.IOException {
- AggregatedList result = new AggregatedList(project);
+ public List list(java.lang.String project) throws java.io.IOException {
+ List result = new List(project);
initialize(result);
return result;
}
- public class AggregatedList extends ComputeRequest
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.GlobalOrganizationOperations.List request = compute.globalOrganizationOperations().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public GlobalOrganizationOperations globalOrganizationOperations() {
+ return new GlobalOrganizationOperations();
+ }
+
+ /**
+ * The "globalOrganizationOperations" collection of methods.
+ */
+ public class GlobalOrganizationOperations {
+
/**
- * Gets details of a global VM extension policy.
+ * Deletes the specified Operations resource.
*
- * Create a request for the method "globalVmExtensionPolicies.get".
+ * Create a request for the method "globalOrganizationOperations.delete".
*
* 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.
+ * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
*
- * @param project Project ID for this request.
- * @param globalVmExtensionPolicy Name of the GlobalVmExtensionPolicy resource to return.
+ * @param operation Name of the Operations resource to delete, or its unique numeric
+ identifier.
* @return the request
*/
- public Get get(java.lang.String project, java.lang.String globalVmExtensionPolicy) throws java.io.IOException {
- Get result = new Get(project, globalVmExtensionPolicy);
+ public Delete delete(java.lang.String operation) throws java.io.IOException {
+ Delete result = new Delete(operation);
initialize(result);
return result;
}
- public class Get extends ComputeRequest
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.GlobalPublicDelegatedPrefixes.List request = compute.globalPublicDelegatedPrefixes().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public GlobalPublicDelegatedPrefixes globalPublicDelegatedPrefixes() {
+ return new GlobalPublicDelegatedPrefixes();
+ }
+
+ /**
+ * The "globalPublicDelegatedPrefixes" collection of methods.
+ */
+ public class GlobalPublicDelegatedPrefixes {
+
/**
- * Lists all VM extensions within a specific zone for a project. This is a read-only API.
+ * Deletes the specified global PublicDelegatedPrefix.
*
- * Create a request for the method "globalVmExtensionPolicies.listVmExtensions".
+ * Create a request for the method "globalPublicDelegatedPrefixes.delete".
*
* This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link ListVmExtensions#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
*
- * @param project Required. Project ID for this request.
+ * @param project Project ID for this request.
+ * @param publicDelegatedPrefix Name of the PublicDelegatedPrefix resource to delete.
* @return the request
*/
- public ListVmExtensions listVmExtensions(java.lang.String project) throws java.io.IOException {
- ListVmExtensions result = new ListVmExtensions(project);
+ public Delete delete(java.lang.String project, java.lang.String publicDelegatedPrefix) throws java.io.IOException {
+ Delete result = new Delete(project, publicDelegatedPrefix);
initialize(result);
return result;
}
- public class ListVmExtensions extends ComputeRequest
- * {@code Compute compute = new Compute(...);}
- * {@code Compute.HaControllers.List request = compute.haControllers().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public HaControllers haControllers() {
- return new HaControllers();
- }
-
- /**
- * The "haControllers" collection of methods.
- */
- public class HaControllers {
-
/**
- * Retrieves an aggregated list of all of the HaControllers in the specified project across all
- * regions.
+ * Lists the global PublicDelegatedPrefixes for a project.
*
- * Create a request for the method "haControllers.aggregatedList".
+ * Create a request for the method "globalPublicDelegatedPrefixes.list".
*
* This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link AggregatedList#execute()} method to invoke the remote operation.
+ * parameters, call the {@link List#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
* @return the request
*/
- public AggregatedList aggregatedList(java.lang.String project) throws java.io.IOException {
- AggregatedList result = new AggregatedList(project);
+ public List list(java.lang.String project) throws java.io.IOException {
+ List result = new List(project);
initialize(result);
return result;
}
- public class AggregatedList extends ComputeRequest
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.GlobalVmExtensionPolicies.List request = compute.globalVmExtensionPolicies().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public GlobalVmExtensionPolicies globalVmExtensionPolicies() {
+ return new GlobalVmExtensionPolicies();
+ }
+
+ /**
+ * The "globalVmExtensionPolicies" collection of methods.
+ */
+ public class GlobalVmExtensionPolicies {
+
/**
- * Fails over a VM targeted by the specified HaController to the selected zone.
+ * Retrieves the list of all VM Extension Policy resources available to the specified project.
*
- * Create a request for the method "haControllers.failover".
+ * To prevent failure, it's recommended that you set the `returnPartialSuccess` parameter to `true`.
+ *
+ * Create a request for the method "globalVmExtensionPolicies.aggregatedList".
*
* This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link Failover#execute()} method to invoke the remote operation.
+ * parameters, call the {@link AggregatedList#execute()} method to invoke the remote operation.
*
- * @param project Project ID for this request.
- * @param region Name of the region for this request.
- * @param haController ID of the HaController resource to update.
- * @param content the {@link com.google.api.services.compute.model.HaControllersFailoverRequest}
+ * @param project Name of the project scoping this request.
* @return the request
*/
- public Failover failover(java.lang.String project, java.lang.String region, java.lang.String haController, com.google.api.services.compute.model.HaControllersFailoverRequest content) throws java.io.IOException {
- Failover result = new Failover(project, region, haController, content);
+ public AggregatedList aggregatedList(java.lang.String project) throws java.io.IOException {
+ AggregatedList result = new AggregatedList(project);
initialize(result);
return result;
}
- public class Failover extends ComputeRequest
- * {@code Compute compute = new Compute(...);}
- * {@code Compute.HealthChecks.List request = compute.healthChecks().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public HealthChecks healthChecks() {
- return new HealthChecks();
- }
-
- /**
- * The "healthChecks" collection of methods.
- */
- public class HealthChecks {
-
/**
- * Retrieves the list of all HealthCheck resources, regional and global, available to the specified
- * project.
- *
- * To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to
- * `true`.
+ * Lists global VM extension policies.
*
- * Create a request for the method "healthChecks.aggregatedList".
+ * Create a request for the method "globalVmExtensionPolicies.list".
*
* This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link AggregatedList#execute()} method to invoke the remote operation.
+ * parameters, call the {@link List#execute()} method to invoke the remote operation.
*
- * @param project Name of the project scoping this request.
+ * @param project Project ID for this request.
* @return the request
*/
- public AggregatedList aggregatedList(java.lang.String project) throws java.io.IOException {
- AggregatedList result = new AggregatedList(project);
+ public List list(java.lang.String project) throws java.io.IOException {
+ List result = new List(project);
initialize(result);
return result;
}
- public class AggregatedList extends ComputeRequest
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.HaControllers.List request = compute.haControllers().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public HaControllers haControllers() {
+ return new HaControllers();
+ }
+
+ /**
+ * The "haControllers" collection of methods.
+ */
+ public class HaControllers {
+
/**
- * Retrieves the list of HealthCheck resources available to the specified project.
+ * Retrieves an aggregated list of all of the HaControllers in the specified project across all
+ * regions.
*
- * Create a request for the method "healthChecks.list".
+ * Create a request for the method "haControllers.aggregatedList".
*
* 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.
+ * parameters, call the {@link AggregatedList#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
* @return the request
*/
- public List list(java.lang.String project) throws java.io.IOException {
- List result = new List(project);
+ public AggregatedList aggregatedList(java.lang.String project) throws java.io.IOException {
+ AggregatedList result = new AggregatedList(project);
initialize(result);
return result;
}
- public class List extends ComputeRequest
- * {@code Compute compute = new Compute(...);}
- * {@code Compute.Hosts.List request = compute.hosts().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public Hosts hosts() {
- return new Hosts();
- }
-
- /**
- * The "hosts" collection of methods.
- */
- public class Hosts {
-
/**
- * Retrieves information about the specified host.
+ * Creates HaController in the specified project.
*
- * Create a request for the method "hosts.get".
+ * Create a request for the method "haControllers.insert".
*
* 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.
+ * parameters, call the {@link Insert#execute()} method to invoke the remote operation.
*
- * @param project The project ID for this request.
- * @param zone The name of the zone for this request, formatted as RFC1035.
- * @param association The parent resource association for the Host. This field specifies the
- hierarchical context (e.g.,
- * reservation, block, sub-block) when
- accessing the host. For example,
- * reservations/reservation_name,
- * reservations/reservation_name/reservationBlocks/reservation_block_name or
- reservations/res
- * ervation_name/reservationBlocks/reservation_block_name/reservationSubBlocks/reservation_su
- * b_block_name.
- * @param host The name of the host, formatted as RFC1035 or a resource ID
- number.
+ * @param project Project ID for this request.
+ * @param region Name of the region for this request.
+ * @param content the {@link com.google.api.services.compute.model.HaController}
* @return the request
*/
- public Get get(java.lang.String project, java.lang.String zone, java.lang.String association, java.lang.String host) throws java.io.IOException {
- Get result = new Get(project, zone, association, host);
+ public Insert insert(java.lang.String project, java.lang.String region, com.google.api.services.compute.model.HaController content) throws java.io.IOException {
+ Insert result = new Insert(project, region, content);
initialize(result);
return result;
}
- public class Get extends ComputeRequest
- * {@code Compute compute = new Compute(...);}
- * {@code Compute.HttpHealthChecks.List request = compute.httpHealthChecks().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public HttpHealthChecks httpHealthChecks() {
- return new HttpHealthChecks();
- }
-
- /**
- * The "httpHealthChecks" collection of methods.
- */
- public class HttpHealthChecks {
-
/**
- * Deletes the specified HttpHealthCheck resource.
+ * Updates HaController in the specified project.
*
- * Create a request for the method "httpHealthChecks.delete".
+ * Create a request for the method "haControllers.patch".
*
* 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.
+ * parameters, call the {@link Patch#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
- * @param httpHealthCheck Name of the HttpHealthCheck resource to delete.
+ * @param region Name of the region for this request.
+ * @param haController ID of the HaController resource to update.
+ * @param content the {@link com.google.api.services.compute.model.HaController}
* @return the request
*/
- public Delete delete(java.lang.String project, java.lang.String httpHealthCheck) throws java.io.IOException {
- Delete result = new Delete(project, httpHealthCheck);
+ public Patch patch(java.lang.String project, java.lang.String region, java.lang.String haController, com.google.api.services.compute.model.HaController content) throws java.io.IOException {
+ Patch result = new Patch(project, region, haController, content);
initialize(result);
return result;
}
- public class Delete extends ComputeRequest
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.HealthChecks.List request = compute.healthChecks().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public HealthChecks healthChecks() {
+ return new HealthChecks();
+ }
- /** Name of the HttpHealthCheck resource to return. */
- public Get setHttpHealthCheck(java.lang.String httpHealthCheck) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(HTTP_HEALTH_CHECK_PATTERN.matcher(httpHealthCheck).matches(),
- "Parameter httpHealthCheck must conform to the pattern " +
- "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
- }
- this.httpHealthCheck = httpHealthCheck;
- return this;
- }
+ /**
+ * The "healthChecks" collection of methods.
+ */
+ public class HealthChecks {
- @Override
- public Get set(String parameterName, Object value) {
- return (Get) super.set(parameterName, value);
- }
- }
/**
- * Creates a HttpHealthCheck resource in the specified project using the data included in the
- * request.
- *
- * Create a request for the method "httpHealthChecks.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.
+ * Retrieves the list of all HealthCheck resources, regional and global, available to the specified
+ * project.
*
- * @param project Project ID for this request.
- * @param content the {@link com.google.api.services.compute.model.HttpHealthCheck}
- * @return the request
- */
- public Insert insert(java.lang.String project, com.google.api.services.compute.model.HttpHealthCheck content) throws java.io.IOException {
- Insert result = new Insert(project, content);
- initialize(result);
- return result;
- }
-
- public class Insert extends ComputeRequest
- * {@code Compute compute = new Compute(...);}
- * {@code Compute.HttpsHealthChecks.List request = compute.httpsHealthChecks().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public HttpsHealthChecks httpsHealthChecks() {
- return new HttpsHealthChecks();
- }
-
- /**
- * The "httpsHealthChecks" collection of methods.
- */
- public class HttpsHealthChecks {
-
/**
- * Deletes the specified HttpsHealthCheck resource.
+ * Retrieves the list of HealthCheck resources available to the specified project.
*
- * Create a request for the method "httpsHealthChecks.delete".
+ * Create a request for the method "healthChecks.list".
*
* 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.
+ * parameters, call the {@link List#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
- * @param httpsHealthCheck Name of the HttpsHealthCheck resource to delete.
* @return the request
*/
- public Delete delete(java.lang.String project, java.lang.String httpsHealthCheck) throws java.io.IOException {
- Delete result = new Delete(project, httpsHealthCheck);
+ public List list(java.lang.String project) throws java.io.IOException {
+ List result = new List(project);
initialize(result);
return result;
}
- public class Delete extends ComputeRequest
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.Hosts.List request = compute.hosts().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public Hosts hosts() {
+ return new Hosts();
+ }
+
+ /**
+ * The "hosts" collection of methods.
+ */
+ public class Hosts {
+
/**
- * Retrieves the list of HttpsHealthCheck resources available to the specified project.
+ * Retrieves information about the specified host.
*
- * Create a request for the method "httpsHealthChecks.list".
+ * Create a request for the method "hosts.get".
*
* 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.
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
*
- * @param project Project ID for this request.
+ * @param project The project ID for this request.
+ * @param zone The name of the zone for this request, formatted as RFC1035.
+ * @param association The parent resource association for the Host. This field specifies the
+ hierarchical context (e.g.,
+ * reservation, block, sub-block) when
+ accessing the host. For example,
+ * reservations/reservation_name,
+ * reservations/reservation_name/reservationBlocks/reservation_block_name or
+ reservations/res
+ * ervation_name/reservationBlocks/reservation_block_name/reservationSubBlocks/reservation_su
+ * b_block_name.
+ * @param host The name of the host, formatted as RFC1035 or a resource ID
+ number.
* @return the request
*/
- public List list(java.lang.String project) throws java.io.IOException {
- List result = new List(project);
+ public Get get(java.lang.String project, java.lang.String zone, java.lang.String association, java.lang.String host) throws java.io.IOException {
+ Get result = new Get(project, zone, association, host);
initialize(result);
return result;
}
- public class List extends ComputeRequest
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.HttpHealthChecks.List request = compute.httpHealthChecks().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public HttpHealthChecks httpHealthChecks() {
+ return new HttpHealthChecks();
+ }
+
+ /**
+ * The "httpHealthChecks" collection of methods.
+ */
+ public class HttpHealthChecks {
+
+ /**
+ * Deletes the specified HttpHealthCheck resource.
+ *
+ * Create a request for the method "httpHealthChecks.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 project Project ID for this request.
+ * @param httpHealthCheck Name of the HttpHealthCheck resource to delete.
+ * @return the request
+ */
+ public Delete delete(java.lang.String project, java.lang.String httpHealthCheck) throws java.io.IOException {
+ Delete result = new Delete(project, httpHealthCheck);
+ initialize(result);
return result;
}
- public class Patch extends ComputeRequest
- * {@code Compute compute = new Compute(...);}
- * {@code Compute.ImageFamilyViews.List request = compute.imageFamilyViews().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public ImageFamilyViews imageFamilyViews() {
- return new ImageFamilyViews();
- }
-
- /**
- * The "imageFamilyViews" collection of methods.
- */
- public class ImageFamilyViews {
-
/**
- * Returns the latest image that is part of an image family, is not deprecated and is rolled out in
- * the specified zone.
+ * Retrieves the list of HttpHealthCheck resources available to the specified project.
*
- * Create a request for the method "imageFamilyViews.get".
+ * Create a request for the method "httpHealthChecks.list".
*
* 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.
+ * parameters, call the {@link List#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
- * @param zone The name of the zone for this request.
- * @param family Name of the image family to search for.
* @return the request
*/
- public Get get(java.lang.String project, java.lang.String zone, java.lang.String family) throws java.io.IOException {
- Get result = new Get(project, zone, family);
+ public List list(java.lang.String project) throws java.io.IOException {
+ List result = new List(project);
initialize(result);
return result;
}
- public class Get extends ComputeRequest
- * {@code Compute compute = new Compute(...);}
- * {@code Compute.ImageViews.List request = compute.imageViews().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public ImageViews imageViews() {
- return new ImageViews();
- }
-
- /**
- * The "imageViews" collection of methods.
- */
- public class ImageViews {
-
- /**
- * Returns the specified global Image resource by providing a regional context to read the metadata
- * from the Global Clone in the region.
- *
- * Create a request for the method "imageViews.get".
- *
- * This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link Get#execute()} method to invoke the remote operation.
- *
- * @param project Required. Project ID for this request.
- * @param region Required. Name of the region for this request.
- * @param resourceId Name of the image resource to return.
- * @return the request
- */
- public Get get(java.lang.String project, java.lang.String region, java.lang.String resourceId) throws java.io.IOException {
- Get result = new Get(project, region, resourceId);
- initialize(result);
- return result;
- }
-
- public class Get extends ComputeRequest
- * {@code Compute compute = new Compute(...);}
- * {@code Compute.Images.List request = compute.images().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public Images images() {
- return new Images();
- }
-
- /**
- * The "images" collection of methods.
- */
- public class Images {
-
/**
- * Deletes the specified image.
+ * Updates a HttpHealthCheck resource in the specified project using the data included in the
+ * request. This method supportsPATCH semantics and uses theJSON merge patch format and processing
+ * rules.
*
- * Create a request for the method "images.delete".
+ * Create a request for the method "httpHealthChecks.patch".
*
* 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.
+ * parameters, call the {@link Patch#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
- * @param image Name of the image resource to delete.
+ * @param httpHealthCheck Name of the HttpHealthCheck resource to patch.
+ * @param content the {@link com.google.api.services.compute.model.HttpHealthCheck}
* @return the request
*/
- public Delete delete(java.lang.String project, java.lang.String image) throws java.io.IOException {
- Delete result = new Delete(project, image);
+ public Patch patch(java.lang.String project, java.lang.String httpHealthCheck, com.google.api.services.compute.model.HttpHealthCheck content) throws java.io.IOException {
+ Patch result = new Patch(project, httpHealthCheck, content);
initialize(result);
return result;
}
- public class Delete extends ComputeRequest
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.HttpsHealthChecks.List request = compute.httpsHealthChecks().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public HttpsHealthChecks httpsHealthChecks() {
+ return new HttpsHealthChecks();
+ }
+
+ /**
+ * The "httpsHealthChecks" collection of methods.
+ */
+ public class HttpsHealthChecks {
+
/**
- * Returns the specified image.
+ * Deletes the specified HttpsHealthCheck resource.
*
- * Create a request for the method "images.get".
+ * Create a request for the method "httpsHealthChecks.delete".
*
* 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.
+ * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
- * @param image Name of the image resource to return.
+ * @param httpsHealthCheck Name of the HttpsHealthCheck resource to delete.
* @return the request
*/
- public Get get(java.lang.String project, java.lang.String image) throws java.io.IOException {
- Get result = new Get(project, image);
+ public Delete delete(java.lang.String project, java.lang.String httpsHealthCheck) throws java.io.IOException {
+ Delete result = new Delete(project, httpsHealthCheck);
initialize(result);
return result;
}
- public class Get extends ComputeRequest
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.ImageFamilyViews.List request = compute.imageFamilyViews().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public ImageFamilyViews imageFamilyViews() {
+ return new ImageFamilyViews();
+ }
+
+ /**
+ * The "imageFamilyViews" collection of methods.
+ */
+ public class ImageFamilyViews {
+
/**
- * Returns permissions that a caller has on the specified resource.
+ * Returns the latest image that is part of an image family, is not deprecated and is rolled out in
+ * the specified zone.
*
- * Create a request for the method "images.testIamPermissions".
+ * Create a request for the method "imageFamilyViews.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 zone The name of the zone for this request.
+ * @param family Name of the image family to search for.
* @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 zone, java.lang.String family) throws java.io.IOException {
+ Get result = new Get(project, zone, family);
initialize(result);
return result;
}
- public class TestIamPermissions extends ComputeRequest
* {@code Compute compute = new Compute(...);}
- * {@code Compute.InstanceGroupManagerResizeRequests.List request = compute.instanceGroupManagerResizeRequests().list(parameters ...)}
+ * {@code Compute.ImageViews.List request = compute.imageViews().list(parameters ...)}
*
*
* @return the resource collection
*/
- public InstanceGroupManagerResizeRequests instanceGroupManagerResizeRequests() {
- return new InstanceGroupManagerResizeRequests();
+ public ImageViews imageViews() {
+ return new ImageViews();
}
/**
- * The "instanceGroupManagerResizeRequests" collection of methods.
+ * The "imageViews" collection of methods.
*/
- public class InstanceGroupManagerResizeRequests {
+ public class ImageViews {
/**
- * Cancels the specified resize request and removes it from the queue. Cancelled resize request does
- * no longer wait for the resources to be provisioned. Cancel is only possible for requests that are
- * accepted in the queue.
+ * Returns the specified global ImageView resource, with a regional context.
*
- * Create a request for the method "instanceGroupManagerResizeRequests.cancel".
+ * Create a request for the method "imageViews.get".
*
* This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link Cancel#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 zone The name of thezone where the managed
- instance group is located. The name should conform to RFC1035.
- * @param instanceGroupManager The name of the managed instance group.
- The name should conform to RFC1035 or be a resource ID.
- * @param resizeRequest The name of the resize request to cancel.
- The name should conform to RFC1035 or be a resource ID.
+ * @param project Required. Project ID for this request.
+ * @param region Required. Name of the region for this request.
+ * @param resourceId Name of the image resource to return.
* @return the request
*/
- public Cancel cancel(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager, java.lang.String resizeRequest) throws java.io.IOException {
- Cancel result = new Cancel(project, zone, instanceGroupManager, resizeRequest);
+ public Get get(java.lang.String project, java.lang.String region, java.lang.String resourceId) throws java.io.IOException {
+ Get result = new Get(project, region, resourceId);
initialize(result);
return result;
}
- public class Cancel extends ComputeRequest
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.Images.List request = compute.images().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public Images images() {
+ return new Images();
+ }
+
+ /**
+ * The "images" collection of methods.
+ */
+ public class Images {
+
/**
- * Returns all of the details about the specified resize request.
+ * Deletes the specified image.
*
- * Create a request for the method "instanceGroupManagerResizeRequests.get".
+ * Create a request for the method "images.delete".
*
* 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.
+ * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
- * @param zone Name of the href="/compute/docs/regions-zones/#available">zone
- scoping this request. Name should
- * conform to RFC1035.
- * @param instanceGroupManager The name of the managed instance group.
- Name should conform to RFC1035 or be a resource ID.
- * @param resizeRequest The name of the resize request.
- Name should conform to RFC1035 or be a resource ID.
+ * @param image Name of the image resource to delete.
* @return the request
*/
- public Get get(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager, java.lang.String resizeRequest) throws java.io.IOException {
- Get result = new Get(project, zone, instanceGroupManager, resizeRequest);
+ public Delete delete(java.lang.String project, java.lang.String image) throws java.io.IOException {
+ Delete result = new Delete(project, image);
initialize(result);
return result;
}
- public class Get extends ComputeRequest
- * {@code Compute compute = new Compute(...);}
- * {@code Compute.InstanceGroupManagers.List request = compute.instanceGroupManagers().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public InstanceGroupManagers instanceGroupManagers() {
- return new InstanceGroupManagers();
- }
-
- /**
- * The "instanceGroupManagers" collection of methods.
- */
- public class InstanceGroupManagers {
-
/**
- * Flags the specified instances to be removed from the managed instance group. Abandoning an
- * instance does not delete the instance, but it does remove the instance from any target pools that
- * are applied by the managed instance group. This method reduces thetargetSize of the managed
- * instance group by the number of instances that you abandon. This operation is marked asDONE when
- * the action is scheduled even if the instances have not yet been removed from the group. You must
- * separately verify the status of the abandoning action with thelistmanagedinstances method.
- *
- * If the group is part of a backend service that has enabled connection draining, it can take up to
- * 60 seconds after the connection draining duration has elapsed before the VM instance is removed
- * or deleted.
- *
- * You can specify a maximum of 1000 instances with this method per request.
+ * Creates an image in the specified project using the data included in the request.
*
- * Create a request for the method "instanceGroupManagers.abandonInstances".
+ * Create a request for the method "images.insert".
*
* This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link AbandonInstances#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Insert#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
- * @param zone The name of thezone where the managed
- instance group is located.
- * @param instanceGroupManager The name of the managed instance group.
- * @param content the {@link com.google.api.services.compute.model.InstanceGroupManagersAbandonInstancesRequest}
+ * @param content the {@link com.google.api.services.compute.model.Image}
* @return the request
*/
- public AbandonInstances abandonInstances(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager, com.google.api.services.compute.model.InstanceGroupManagersAbandonInstancesRequest content) throws java.io.IOException {
- AbandonInstances result = new AbandonInstances(project, zone, instanceGroupManager, content);
+ public Insert insert(java.lang.String project, com.google.api.services.compute.model.Image content) throws java.io.IOException {
+ Insert result = new Insert(project, content);
initialize(result);
return result;
}
- public class AbandonInstances extends ComputeRequest
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.InstanceGroupManagerResizeRequests.List request = compute.instanceGroupManagerResizeRequests().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public InstanceGroupManagerResizeRequests instanceGroupManagerResizeRequests() {
+ return new InstanceGroupManagerResizeRequests();
+ }
+
+ /**
+ * The "instanceGroupManagerResizeRequests" collection of methods.
+ */
+ public class InstanceGroupManagerResizeRequests {
+
/**
- * Deletes the specified managed instance group and all of the instances in that group. Note that
- * the instance group must not belong to a backend service. Read Deleting an instance group for more
- * information.
+ * Cancels the specified resize request and removes it from the queue. Cancelled resize request does
+ * no longer wait for the resources to be provisioned. Cancel is only possible for requests that are
+ * accepted in the queue.
*
- * Create a request for the method "instanceGroupManagers.delete".
+ * Create a request for the method "instanceGroupManagerResizeRequests.cancel".
*
* 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.
+ * parameters, call the {@link Cancel#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
* @param zone The name of thezone where the managed
- instance group is located.
- * @param instanceGroupManager The name of the managed instance group to delete.
+ instance group is located. The name should conform to RFC1035.
+ * @param instanceGroupManager The name of the managed instance group.
+ The name should conform to RFC1035 or be a resource ID.
+ * @param resizeRequest The name of the resize request to cancel.
+ The name should conform to RFC1035 or be a resource ID.
* @return the request
*/
- public Delete delete(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager) throws java.io.IOException {
- Delete result = new Delete(project, zone, instanceGroupManager);
+ public Cancel cancel(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager, java.lang.String resizeRequest) throws java.io.IOException {
+ Cancel result = new Cancel(project, zone, instanceGroupManager, resizeRequest);
initialize(result);
return result;
}
- public class Delete extends ComputeRequest
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.InstanceGroupManagers.List request = compute.instanceGroupManagers().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public InstanceGroupManagers instanceGroupManagers() {
+ return new InstanceGroupManagers();
+ }
+
+ /**
+ * The "instanceGroupManagers" collection of methods.
+ */
+ public class InstanceGroupManagers {
+
/**
- * Lists all errors thrown by actions on instances for a given managed instance group. The filter
- * and orderBy query parameters are not supported.
+ * Flags the specified instances to be removed from the managed instance group. Abandoning an
+ * instance does not delete the instance, but it does remove the instance from any target pools that
+ * are applied by the managed instance group. This method reduces thetargetSize of the managed
+ * instance group by the number of instances that you abandon. This operation is marked asDONE when
+ * the action is scheduled even if the instances have not yet been removed from the group. You must
+ * separately verify the status of the abandoning action with thelistmanagedinstances method.
*
- * Create a request for the method "instanceGroupManagers.listErrors".
+ * If the group is part of a backend service that has enabled connection draining, it can take up to
+ * 60 seconds after the connection draining duration has elapsed before the VM instance is removed
+ * or deleted.
+ *
+ * You can specify a maximum of 1000 instances with this method per request.
+ *
+ * Create a request for the method "instanceGroupManagers.abandonInstances".
*
* This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link ListErrors#execute()} method to invoke the remote operation.
+ * parameters, call the {@link AbandonInstances#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
* @param zone The name of thezone where the managed
instance group is located.
- It should conform to RFC1035.
* @param instanceGroupManager The name of the managed instance group.
- It must be a string that meets the requirements in RFC1035,
- * or an
- unsigned long integer: must match regexp pattern:
- * (?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)|1-9{0,19}.
+ * @param content the {@link com.google.api.services.compute.model.InstanceGroupManagersAbandonInstancesRequest}
* @return the request
*/
- public ListErrors listErrors(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager) throws java.io.IOException {
- ListErrors result = new ListErrors(project, zone, instanceGroupManager);
+ public AbandonInstances abandonInstances(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager, com.google.api.services.compute.model.InstanceGroupManagersAbandonInstancesRequest content) throws java.io.IOException {
+ AbandonInstances result = new AbandonInstances(project, zone, instanceGroupManager, content);
initialize(result);
return result;
}
- public class ListErrors extends ComputeRequest
- * {@code Compute compute = new Compute(...);}
- * {@code Compute.InstanceGroups.List request = compute.instanceGroups().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public InstanceGroups instanceGroups() {
- return new InstanceGroups();
- }
-
- /**
- * The "instanceGroups" collection of methods.
- */
- public class InstanceGroups {
-
/**
- * Adds a list of instances to the specified instance group. All of the instances in the instance
- * group must be in the same network/subnetwork. Read Adding instances for more information.
+ * Resizes the managed instance group with advanced configuration options like disabling creation
+ * retries. This is an extended version of theresize method.
*
- * Create a request for the method "instanceGroups.addInstances".
+ * If you increase the size of the instance group, the group creates new instances using the current
+ * instance template. If you decrease the size, the group deletes instances. The resize operation is
+ * markedDONE when the resize actions are scheduled even if the group has not yet added or deleted
+ * any instances. You must separately verify the status of the creating,creatingWithoutRetries, or
+ * deleting actions with the get orlistmanagedinstances method.
+ *
+ * If the group is part of a backend service that has enabled connection draining, it can take up to
+ * 60 seconds after the connection draining duration has elapsed before the VM instance is removed
+ * or deleted.
+ *
+ * Create a request for the method "instanceGroupManagers.resizeAdvanced".
*
* This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link AddInstances#execute()} method to invoke the remote operation.
+ * parameters, call the {@link ResizeAdvanced#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
- * @param zone The name of the zone
- where the instance group is located.
- * @param instanceGroup The name of the instance group where you are adding instances.
- * @param content the {@link com.google.api.services.compute.model.InstanceGroupsAddInstancesRequest}
+ * @param zone The name of thezone where the managed
+ instance group is located.
+ * @param instanceGroupManager The name of the managed instance group.
+ * @param content the {@link com.google.api.services.compute.model.InstanceGroupManagersResizeAdvancedRequest}
* @return the request
*/
- public AddInstances addInstances(java.lang.String project, java.lang.String zone, java.lang.String instanceGroup, com.google.api.services.compute.model.InstanceGroupsAddInstancesRequest content) throws java.io.IOException {
- AddInstances result = new AddInstances(project, zone, instanceGroup, content);
+ public ResizeAdvanced resizeAdvanced(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager, com.google.api.services.compute.model.InstanceGroupManagersResizeAdvancedRequest content) throws java.io.IOException {
+ ResizeAdvanced result = new ResizeAdvanced(project, zone, instanceGroupManager, content);
initialize(result);
return result;
}
- public class AddInstances extends ComputeRequest