From 09341cb06caa33648eefea997724ff67ce57d6fd Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 3 Jun 2026 18:52:25 -0700 Subject: [PATCH] chore: regenerate compute client --- .../v1/2.0.0/README.md | 4 +- .../google/api/services/compute/Compute.java | 735 ++++++++++++++++++ .../model/BackendServiceLogConfig.java | 48 ++ ...kendServiceLogConfigLoggingHttpHeader.java | 66 ++ .../api/services/compute/model/DateTime.java | 290 +++++++ .../compute/model/ForwardingRule.java | 24 + .../ForwardingRuleAttachedExtension.java | 66 ++ .../model/InstanceManagedByIgmError.java | 27 +- ...anagedByIgmErrorInstanceActionDetails.java | 42 +- ...ManagedByIgmErrorManagedInstanceError.java | 12 +- .../PeriodicPartialMaintenanceSchedule.java | 163 ++++ .../ResourceStatusPhysicalHostTopology.java | 24 + ...sicalHostTopologyAdditionalAttributes.java | 69 ++ .../api/services/compute/model/Rollout.java | 48 ++ .../api/services/compute/model/Router.java | 24 + .../services/compute/model/RouterStatus.java | 24 + .../api/services/compute/model/TimeZone.java | 90 +++ .../api/services/compute/model/Zone.java | 21 + .../compute/model/ZoneResourceStatus.java | 72 ++ .../v1/2.0.0/pom.xml | 4 +- .../google-api-services-compute/v1/README.md | 4 +- 21 files changed, 1809 insertions(+), 48 deletions(-) create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/BackendServiceLogConfigLoggingHttpHeader.java create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/DateTime.java create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ForwardingRuleAttachedExtension.java create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/PeriodicPartialMaintenanceSchedule.java create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ResourceStatusPhysicalHostTopologyAdditionalAttributes.java create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/TimeZone.java create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ZoneResourceStatus.java diff --git a/clients/google-api-services-compute/v1/2.0.0/README.md b/clients/google-api-services-compute/v1/2.0.0/README.md index e2471c7b8d5..44c813012e3 100644 --- a/clients/google-api-services-compute/v1/2.0.0/README.md +++ b/clients/google-api-services-compute/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-compute - v1-rev20260501-2.0.0 + v1-rev20260520-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-compute:v1-rev20260501-2.0.0' + implementation 'com.google.apis:google-api-services-compute:v1-rev20260520-2.0.0' } ``` diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/Compute.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/Compute.java index 108147debee..5627a0a1a95 100644 --- a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/Compute.java +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/Compute.java @@ -28607,6 +28607,21 @@ public Get setForwardingRule(java.lang.String 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; + return this; + } + @Override public Get set(String parameterName, Object value) { return (Get) super.set(parameterName, value); @@ -33973,6 +33988,21 @@ public Get setForwardingRule(java.lang.String 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; + return this; + } + @Override public Get set(String parameterName, Object value) { return (Get) super.set(parameterName, value); @@ -207597,6 +207627,237 @@ public Rollouts rollouts() { */ public class Rollouts { + /** + * Advances a Rollout to the next wave, or completes it if no waves remain. + * + * Create a request for the method "rollouts.advance". + * + * This request holds the parameters needed by the compute server. After setting any optional + * parameters, call the {@link Advance#execute()} method to invoke the remote operation. + * + * @param project Required. Project ID for this request. + * @param rollout Required. Name of the Rollout resource to advance. + * @return the request + */ + public Advance advance(java.lang.String project, java.lang.String rollout) throws java.io.IOException { + Advance result = new Advance(project, rollout); + initialize(result); + return result; + } + + public class Advance extends ComputeRequest { + + private static final String REST_PATH = "projects/{project}/global/rollouts/{rollout}/advance"; + + private final java.util.regex.Pattern PROJECT_PATTERN = + java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))"); + + private final java.util.regex.Pattern ROLLOUT_PATTERN = + java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}"); + + /** + * Advances a Rollout to the next wave, or completes it if no waves remain. + * + * Create a request for the method "rollouts.advance". + * + * This request holds the parameters needed by the the compute server. After setting any optional + * parameters, call the {@link Advance#execute()} method to invoke the remote operation.

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

+ * + * @param project Required. Project ID for this request. + * @param rollout Required. Name of the Rollout resource to advance. + * @since 1.13 + */ + protected Advance(java.lang.String project, java.lang.String rollout) { + super(Compute.this, "POST", REST_PATH, null, com.google.api.services.compute.model.Operation.class); + this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(), + "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.rollout = com.google.api.client.util.Preconditions.checkNotNull(rollout, "Required parameter rollout must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PATTERN.matcher(rollout).matches(), + "Parameter rollout must conform to the pattern " + + "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}"); + } + } + + @Override + public Advance set$Xgafv(java.lang.String $Xgafv) { + return (Advance) super.set$Xgafv($Xgafv); + } + + @Override + public Advance setAccessToken(java.lang.String accessToken) { + return (Advance) super.setAccessToken(accessToken); + } + + @Override + public Advance setAlt(java.lang.String alt) { + return (Advance) super.setAlt(alt); + } + + @Override + public Advance setCallback(java.lang.String callback) { + return (Advance) super.setCallback(callback); + } + + @Override + public Advance setFields(java.lang.String fields) { + return (Advance) super.setFields(fields); + } + + @Override + public Advance setKey(java.lang.String key) { + return (Advance) super.setKey(key); + } + + @Override + public Advance setOauthToken(java.lang.String oauthToken) { + return (Advance) super.setOauthToken(oauthToken); + } + + @Override + public Advance setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Advance) super.setPrettyPrint(prettyPrint); + } + + @Override + public Advance setQuotaUser(java.lang.String quotaUser) { + return (Advance) super.setQuotaUser(quotaUser); + } + + @Override + public Advance setUploadType(java.lang.String uploadType) { + return (Advance) super.setUploadType(uploadType); + } + + @Override + public Advance setUploadProtocol(java.lang.String uploadProtocol) { + return (Advance) super.setUploadProtocol(uploadProtocol); + } + + @Override + public Advance setUserIp(java.lang.String userIp) { + return (Advance) super.setUserIp(userIp); + } + + /** Required. Project ID for this request. */ + @com.google.api.client.util.Key + private java.lang.String project; + + /** Required. Project ID for this request. + */ + public java.lang.String getProject() { + return project; + } + + /** Required. Project ID for this request. */ + public Advance setProject(java.lang.String project) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(), + "Parameter project must conform to the pattern " + + "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))"); + } + this.project = project; + return this; + } + + /** Required. Name of the Rollout resource to advance. */ + @com.google.api.client.util.Key + private java.lang.String rollout; + + /** Required. Name of the Rollout resource to advance. + */ + public java.lang.String getRollout() { + return rollout; + } + + /** Required. Name of the Rollout resource to advance. */ + public Advance setRollout(java.lang.String rollout) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PATTERN.matcher(rollout).matches(), + "Parameter rollout must conform to the pattern " + + "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}"); + } + this.rollout = rollout; + return this; + } + + /** Required. Wave number of the current wave. */ + @com.google.api.client.util.Key + private java.lang.Long currentWaveNumber; + + /** Required. Wave number of the current wave. + */ + public java.lang.Long getCurrentWaveNumber() { + return currentWaveNumber; + } + + /** Required. Wave number of the current wave. */ + public Advance setCurrentWaveNumber(java.lang.Long currentWaveNumber) { + this.currentWaveNumber = currentWaveNumber; + return this; + } + + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you + * must retry your request, the server will know to ignore the request if it has already been + * completed. + * + * For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will ignore the second + * request. This prevents clients from accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry + your request, the server will know to ignore the request if it has already been completed. + + For example, consider a situation where you make an initial request and the request times out. If + you make the request again with the same request ID, the server can check if original operation + with the same request ID was received, and if so, will ignore the second request. This prevents + clients from accidentally creating duplicate commitments. + + The request ID must be a valid UUID with the exception that zero UUID is not supported + (00000000-0000-0000-0000-000000000000). + */ + public java.lang.String getRequestId() { + return requestId; + } + + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you + * must retry your request, the server will know to ignore the request if it has already been + * completed. + * + * For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will ignore the second + * request. This prevents clients from accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + public Advance setRequestId(java.lang.String requestId) { + this.requestId = requestId; + return this; + } + + @Override + public Advance set(String parameterName, Object value) { + return (Advance) super.set(parameterName, value); + } + } /** * Cancels a Rollout. * @@ -208633,6 +208894,480 @@ public List set(String parameterName, Object value) { return (List) super.set(parameterName, value); } } + /** + * Pauses a Rollout. + * + * Create a request for the method "rollouts.pause". + * + * This request holds the parameters needed by the compute server. After setting any optional + * parameters, call the {@link Pause#execute()} method to invoke the remote operation. + * + * @param project Required. Project ID for this request. + * @param rollout Required. Name of the Rollout resource to pause. + * @return the request + */ + public Pause pause(java.lang.String project, java.lang.String rollout) throws java.io.IOException { + Pause result = new Pause(project, rollout); + initialize(result); + return result; + } + + public class Pause extends ComputeRequest { + + private static final String REST_PATH = "projects/{project}/global/rollouts/{rollout}/pause"; + + private final java.util.regex.Pattern PROJECT_PATTERN = + java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))"); + + private final java.util.regex.Pattern ROLLOUT_PATTERN = + java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}"); + + /** + * Pauses a Rollout. + * + * Create a request for the method "rollouts.pause". + * + * This request holds the parameters needed by the the compute server. After setting any optional + * parameters, call the {@link Pause#execute()} method to invoke the remote operation.

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

+ * + * @param project Required. Project ID for this request. + * @param rollout Required. Name of the Rollout resource to pause. + * @since 1.13 + */ + protected Pause(java.lang.String project, java.lang.String rollout) { + super(Compute.this, "POST", REST_PATH, null, com.google.api.services.compute.model.Operation.class); + this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(), + "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.rollout = com.google.api.client.util.Preconditions.checkNotNull(rollout, "Required parameter rollout must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PATTERN.matcher(rollout).matches(), + "Parameter rollout must conform to the pattern " + + "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}"); + } + } + + @Override + public Pause set$Xgafv(java.lang.String $Xgafv) { + return (Pause) super.set$Xgafv($Xgafv); + } + + @Override + public Pause setAccessToken(java.lang.String accessToken) { + return (Pause) super.setAccessToken(accessToken); + } + + @Override + public Pause setAlt(java.lang.String alt) { + return (Pause) super.setAlt(alt); + } + + @Override + public Pause setCallback(java.lang.String callback) { + return (Pause) super.setCallback(callback); + } + + @Override + public Pause setFields(java.lang.String fields) { + return (Pause) super.setFields(fields); + } + + @Override + public Pause setKey(java.lang.String key) { + return (Pause) super.setKey(key); + } + + @Override + public Pause setOauthToken(java.lang.String oauthToken) { + return (Pause) super.setOauthToken(oauthToken); + } + + @Override + public Pause setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Pause) super.setPrettyPrint(prettyPrint); + } + + @Override + public Pause setQuotaUser(java.lang.String quotaUser) { + return (Pause) super.setQuotaUser(quotaUser); + } + + @Override + public Pause setUploadType(java.lang.String uploadType) { + return (Pause) super.setUploadType(uploadType); + } + + @Override + public Pause setUploadProtocol(java.lang.String uploadProtocol) { + return (Pause) super.setUploadProtocol(uploadProtocol); + } + + @Override + public Pause setUserIp(java.lang.String userIp) { + return (Pause) super.setUserIp(userIp); + } + + /** Required. Project ID for this request. */ + @com.google.api.client.util.Key + private java.lang.String project; + + /** Required. Project ID for this request. + */ + public java.lang.String getProject() { + return project; + } + + /** Required. Project ID for this request. */ + public Pause setProject(java.lang.String project) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(), + "Parameter project must conform to the pattern " + + "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))"); + } + this.project = project; + return this; + } + + /** Required. Name of the Rollout resource to pause. */ + @com.google.api.client.util.Key + private java.lang.String rollout; + + /** Required. Name of the Rollout resource to pause. + */ + public java.lang.String getRollout() { + return rollout; + } + + /** Required. Name of the Rollout resource to pause. */ + public Pause setRollout(java.lang.String rollout) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PATTERN.matcher(rollout).matches(), + "Parameter rollout must conform to the pattern " + + "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}"); + } + this.rollout = rollout; + return this; + } + + /** + * The etag of the Rollout. If this is provided, the request will only succeed if the etag + * matches the current etag of the Rollout. + */ + @com.google.api.client.util.Key + private java.lang.String etag; + + /** The etag of the Rollout. If this is provided, the request will only succeed if the etag matches the + current etag of the Rollout. + */ + public java.lang.String getEtag() { + return etag; + } + + /** + * The etag of the Rollout. If this is provided, the request will only succeed if the etag + * matches the current etag of the Rollout. + */ + public Pause setEtag(java.lang.String etag) { + this.etag = etag; + return this; + } + + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you + * must retry your request, the server will know to ignore the request if it has already been + * completed. + * + * For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will ignore the second + * request. This prevents clients from accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry + your request, the server will know to ignore the request if it has already been completed. + + For example, consider a situation where you make an initial request and the request times out. If + you make the request again with the same request ID, the server can check if original operation + with the same request ID was received, and if so, will ignore the second request. This prevents + clients from accidentally creating duplicate commitments. + + The request ID must be a valid UUID with the exception that zero UUID is not supported + (00000000-0000-0000-0000-000000000000). + */ + public java.lang.String getRequestId() { + return requestId; + } + + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you + * must retry your request, the server will know to ignore the request if it has already been + * completed. + * + * For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will ignore the second + * request. This prevents clients from accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + public Pause setRequestId(java.lang.String requestId) { + this.requestId = requestId; + return this; + } + + @Override + public Pause set(String parameterName, Object value) { + return (Pause) super.set(parameterName, value); + } + } + /** + * Resumes a Rollout. + * + * Create a request for the method "rollouts.resume". + * + * This request holds the parameters needed by the compute server. After setting any optional + * parameters, call the {@link Resume#execute()} method to invoke the remote operation. + * + * @param project Required. Project ID for this request. + * @param rollout Required. Name of the Rollout resource to resume. + * @return the request + */ + public Resume resume(java.lang.String project, java.lang.String rollout) throws java.io.IOException { + Resume result = new Resume(project, rollout); + initialize(result); + return result; + } + + public class Resume extends ComputeRequest { + + private static final String REST_PATH = "projects/{project}/global/rollouts/{rollout}/resume"; + + private final java.util.regex.Pattern PROJECT_PATTERN = + java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))"); + + private final java.util.regex.Pattern ROLLOUT_PATTERN = + java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}"); + + /** + * Resumes a Rollout. + * + * Create a request for the method "rollouts.resume". + * + * This request holds the parameters needed by the the compute server. After setting any optional + * parameters, call the {@link Resume#execute()} method to invoke the remote operation.

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

+ * + * @param project Required. Project ID for this request. + * @param rollout Required. Name of the Rollout resource to resume. + * @since 1.13 + */ + protected Resume(java.lang.String project, java.lang.String rollout) { + super(Compute.this, "POST", REST_PATH, null, com.google.api.services.compute.model.Operation.class); + this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(), + "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.rollout = com.google.api.client.util.Preconditions.checkNotNull(rollout, "Required parameter rollout must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PATTERN.matcher(rollout).matches(), + "Parameter rollout must conform to the pattern " + + "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}"); + } + } + + @Override + public Resume set$Xgafv(java.lang.String $Xgafv) { + return (Resume) super.set$Xgafv($Xgafv); + } + + @Override + public Resume setAccessToken(java.lang.String accessToken) { + return (Resume) super.setAccessToken(accessToken); + } + + @Override + public Resume setAlt(java.lang.String alt) { + return (Resume) super.setAlt(alt); + } + + @Override + public Resume setCallback(java.lang.String callback) { + return (Resume) super.setCallback(callback); + } + + @Override + public Resume setFields(java.lang.String fields) { + return (Resume) super.setFields(fields); + } + + @Override + public Resume setKey(java.lang.String key) { + return (Resume) super.setKey(key); + } + + @Override + public Resume setOauthToken(java.lang.String oauthToken) { + return (Resume) super.setOauthToken(oauthToken); + } + + @Override + public Resume setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Resume) super.setPrettyPrint(prettyPrint); + } + + @Override + public Resume setQuotaUser(java.lang.String quotaUser) { + return (Resume) super.setQuotaUser(quotaUser); + } + + @Override + public Resume setUploadType(java.lang.String uploadType) { + return (Resume) super.setUploadType(uploadType); + } + + @Override + public Resume setUploadProtocol(java.lang.String uploadProtocol) { + return (Resume) super.setUploadProtocol(uploadProtocol); + } + + @Override + public Resume setUserIp(java.lang.String userIp) { + return (Resume) super.setUserIp(userIp); + } + + /** Required. Project ID for this request. */ + @com.google.api.client.util.Key + private java.lang.String project; + + /** Required. Project ID for this request. + */ + public java.lang.String getProject() { + return project; + } + + /** Required. Project ID for this request. */ + public Resume setProject(java.lang.String project) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(), + "Parameter project must conform to the pattern " + + "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))"); + } + this.project = project; + return this; + } + + /** Required. Name of the Rollout resource to resume. */ + @com.google.api.client.util.Key + private java.lang.String rollout; + + /** Required. Name of the Rollout resource to resume. + */ + public java.lang.String getRollout() { + return rollout; + } + + /** Required. Name of the Rollout resource to resume. */ + public Resume setRollout(java.lang.String rollout) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PATTERN.matcher(rollout).matches(), + "Parameter rollout must conform to the pattern " + + "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}"); + } + this.rollout = rollout; + return this; + } + + /** + * The etag of the Rollout. If this is provided, the request will only succeed if the etag + * matches the current etag of the Rollout. + */ + @com.google.api.client.util.Key + private java.lang.String etag; + + /** The etag of the Rollout. If this is provided, the request will only succeed if the etag matches the + current etag of the Rollout. + */ + public java.lang.String getEtag() { + return etag; + } + + /** + * The etag of the Rollout. If this is provided, the request will only succeed if the etag + * matches the current etag of the Rollout. + */ + public Resume setEtag(java.lang.String etag) { + this.etag = etag; + return this; + } + + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you + * must retry your request, the server will know to ignore the request if it has already been + * completed. + * + * For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will ignore the second + * request. This prevents clients from accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry + your request, the server will know to ignore the request if it has already been completed. + + For example, consider a situation where you make an initial request and the request times out. If + you make the request again with the same request ID, the server can check if original operation + with the same request ID was received, and if so, will ignore the second request. This prevents + clients from accidentally creating duplicate commitments. + + The request ID must be a valid UUID with the exception that zero UUID is not supported + (00000000-0000-0000-0000-000000000000). + */ + public java.lang.String getRequestId() { + return requestId; + } + + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you + * must retry your request, the server will know to ignore the request if it has already been + * completed. + * + * For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will ignore the second + * request. This prevents clients from accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + public Resume setRequestId(java.lang.String requestId) { + this.requestId = requestId; + return this; + } + + @Override + public Resume set(String parameterName, Object value) { + return (Resume) super.set(parameterName, value); + } + } } diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/BackendServiceLogConfig.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/BackendServiceLogConfig.java index 9e51cf1085d..e5d74348cd0 100644 --- a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/BackendServiceLogConfig.java +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/BackendServiceLogConfig.java @@ -37,6 +37,20 @@ public final class BackendServiceLogConfig extends com.google.api.client.json.Ge @com.google.api.client.util.Key private java.lang.Boolean enable; + /** + * The list of request headers that will be logged to Stackdriver. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List loggingHttpRequestHeaders; + + /** + * The list of response headers that will be logged to Stackdriver. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List loggingHttpResponseHeaders; + /** * This field can only be specified if logging is enabled for this backend service and * "logConfig.optionalMode" was set to CUSTOM. Contains a list of optional fields you want to @@ -85,6 +99,40 @@ public BackendServiceLogConfig setEnable(java.lang.Boolean enable) { return this; } + /** + * The list of request headers that will be logged to Stackdriver. + * @return value or {@code null} for none + */ + public java.util.List getLoggingHttpRequestHeaders() { + return loggingHttpRequestHeaders; + } + + /** + * The list of request headers that will be logged to Stackdriver. + * @param loggingHttpRequestHeaders loggingHttpRequestHeaders or {@code null} for none + */ + public BackendServiceLogConfig setLoggingHttpRequestHeaders(java.util.List loggingHttpRequestHeaders) { + this.loggingHttpRequestHeaders = loggingHttpRequestHeaders; + return this; + } + + /** + * The list of response headers that will be logged to Stackdriver. + * @return value or {@code null} for none + */ + public java.util.List getLoggingHttpResponseHeaders() { + return loggingHttpResponseHeaders; + } + + /** + * The list of response headers that will be logged to Stackdriver. + * @param loggingHttpResponseHeaders loggingHttpResponseHeaders or {@code null} for none + */ + public BackendServiceLogConfig setLoggingHttpResponseHeaders(java.util.List loggingHttpResponseHeaders) { + this.loggingHttpResponseHeaders = loggingHttpResponseHeaders; + return this; + } + /** * This field can only be specified if logging is enabled for this backend service and * "logConfig.optionalMode" was set to CUSTOM. Contains a list of optional fields you want to diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/BackendServiceLogConfigLoggingHttpHeader.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/BackendServiceLogConfigLoggingHttpHeader.java new file mode 100644 index 00000000000..3eef0b3d3e2 --- /dev/null +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/BackendServiceLogConfigLoggingHttpHeader.java @@ -0,0 +1,66 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.compute.model; + +/** + * Determines which HTTP headers will be logged to Stackdriver. + * + *

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

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class BackendServiceLogConfigLoggingHttpHeader extends com.google.api.client.json.GenericJson { + + /** + * The name of the header to be logged. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String headerName; + + /** + * The name of the header to be logged. + * @return value or {@code null} for none + */ + public java.lang.String getHeaderName() { + return headerName; + } + + /** + * The name of the header to be logged. + * @param headerName headerName or {@code null} for none + */ + public BackendServiceLogConfigLoggingHttpHeader setHeaderName(java.lang.String headerName) { + this.headerName = headerName; + return this; + } + + @Override + public BackendServiceLogConfigLoggingHttpHeader set(String fieldName, Object value) { + return (BackendServiceLogConfigLoggingHttpHeader) super.set(fieldName, value); + } + + @Override + public BackendServiceLogConfigLoggingHttpHeader clone() { + return (BackendServiceLogConfigLoggingHttpHeader) super.clone(); + } + +} diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/DateTime.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/DateTime.java new file mode 100644 index 00000000000..a25410c20e5 --- /dev/null +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/DateTime.java @@ -0,0 +1,290 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.compute.model; + +/** + * Represents civil time (or occasionally physical time). + * + * This type can represent a civil time in one of a few possible ways: + * + * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a + * particular offset from UTC. When time_zone is set and utc_offset is unset: a civil time on a + * calendar day in a particular time zone. When neither time_zone nor utc_offset is set: a civil + * time on a calendar day in local time. + * + * The date is relative to the Proleptic Gregorian Calendar. + * + * If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or + * day respectively. + * + * This type may also be used to represent a physical time if all the date and time fields are set + * and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for + * physical time instead. If your use case also would like to store the user's timezone, that can be + * done in another field. + * + * This type is more flexible than some applications may want. Make sure to document and validate + * your application's limitations. + * + *

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

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class DateTime extends com.google.api.client.json.GenericJson { + + /** + * Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if + * specifying a datetime without a day. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer day; + + /** + * Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An + * API may choose to allow the value "24:00:00" for scenarios like business closing time. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer hours; + + /** + * Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer minutes; + + /** + * Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer month; + + /** + * Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer nanos; + + /** + * Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API + * may allow the value 60 if it allows leap-seconds. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer seconds; + + /** + * Time zone. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private TimeZone timeZone; + + /** + * UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset + * of -4:00 would be represented as { seconds: -14400 }. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String utcOffset; + + /** + * Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer year; + + /** + * Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if + * specifying a datetime without a day. + * @return value or {@code null} for none + */ + public java.lang.Integer getDay() { + return day; + } + + /** + * Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if + * specifying a datetime without a day. + * @param day day or {@code null} for none + */ + public DateTime setDay(java.lang.Integer day) { + this.day = day; + return this; + } + + /** + * Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An + * API may choose to allow the value "24:00:00" for scenarios like business closing time. + * @return value or {@code null} for none + */ + public java.lang.Integer getHours() { + return hours; + } + + /** + * Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An + * API may choose to allow the value "24:00:00" for scenarios like business closing time. + * @param hours hours or {@code null} for none + */ + public DateTime setHours(java.lang.Integer hours) { + this.hours = hours; + return this; + } + + /** + * Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0. + * @return value or {@code null} for none + */ + public java.lang.Integer getMinutes() { + return minutes; + } + + /** + * Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0. + * @param minutes minutes or {@code null} for none + */ + public DateTime setMinutes(java.lang.Integer minutes) { + this.minutes = minutes; + return this; + } + + /** + * Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month. + * @return value or {@code null} for none + */ + public java.lang.Integer getMonth() { + return month; + } + + /** + * Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month. + * @param month month or {@code null} for none + */ + public DateTime setMonth(java.lang.Integer month) { + this.month = month; + return this; + } + + /** + * Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0. + * @return value or {@code null} for none + */ + public java.lang.Integer getNanos() { + return nanos; + } + + /** + * Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0. + * @param nanos nanos or {@code null} for none + */ + public DateTime setNanos(java.lang.Integer nanos) { + this.nanos = nanos; + return this; + } + + /** + * Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API + * may allow the value 60 if it allows leap-seconds. + * @return value or {@code null} for none + */ + public java.lang.Integer getSeconds() { + return seconds; + } + + /** + * Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API + * may allow the value 60 if it allows leap-seconds. + * @param seconds seconds or {@code null} for none + */ + public DateTime setSeconds(java.lang.Integer seconds) { + this.seconds = seconds; + return this; + } + + /** + * Time zone. + * @return value or {@code null} for none + */ + public TimeZone getTimeZone() { + return timeZone; + } + + /** + * Time zone. + * @param timeZone timeZone or {@code null} for none + */ + public DateTime setTimeZone(TimeZone timeZone) { + this.timeZone = timeZone; + return this; + } + + /** + * UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset + * of -4:00 would be represented as { seconds: -14400 }. + * @return value or {@code null} for none + */ + public String getUtcOffset() { + return utcOffset; + } + + /** + * UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset + * of -4:00 would be represented as { seconds: -14400 }. + * @param utcOffset utcOffset or {@code null} for none + */ + public DateTime setUtcOffset(String utcOffset) { + this.utcOffset = utcOffset; + return this; + } + + /** + * Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year. + * @return value or {@code null} for none + */ + public java.lang.Integer getYear() { + return year; + } + + /** + * Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year. + * @param year year or {@code null} for none + */ + public DateTime setYear(java.lang.Integer year) { + this.year = year; + return this; + } + + @Override + public DateTime set(String fieldName, Object value) { + return (DateTime) super.set(fieldName, value); + } + + @Override + public DateTime clone() { + return (DateTime) super.clone(); + } + +} diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ForwardingRule.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ForwardingRule.java index bbf36ebfdf8..9339aace431 100644 --- a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ForwardingRule.java +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ForwardingRule.java @@ -123,6 +123,13 @@ public final class ForwardingRule extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private java.lang.Boolean allowPscGlobalAccess; + /** + * Output only. [Output Only]. The extensions that are attached to this ForwardingRule. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List attachedExtensions; + /** * Identifies the backend service to which the forwarding rule sends traffic. Required for * internal and external passthrough Network Load Balancers; must be omitted for all other load @@ -691,6 +698,23 @@ public ForwardingRule setAllowPscGlobalAccess(java.lang.Boolean allowPscGlobalAc return this; } + /** + * Output only. [Output Only]. The extensions that are attached to this ForwardingRule. + * @return value or {@code null} for none + */ + public java.util.List getAttachedExtensions() { + return attachedExtensions; + } + + /** + * Output only. [Output Only]. The extensions that are attached to this ForwardingRule. + * @param attachedExtensions attachedExtensions or {@code null} for none + */ + public ForwardingRule setAttachedExtensions(java.util.List attachedExtensions) { + this.attachedExtensions = attachedExtensions; + return this; + } + /** * Identifies the backend service to which the forwarding rule sends traffic. Required for * internal and external passthrough Network Load Balancers; must be omitted for all other load diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ForwardingRuleAttachedExtension.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ForwardingRuleAttachedExtension.java new file mode 100644 index 00000000000..b6bda2496c5 --- /dev/null +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ForwardingRuleAttachedExtension.java @@ -0,0 +1,66 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.compute.model; + +/** + * Reference to an extension resource that is attached to this ForwardingRule. + * + *

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

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ForwardingRuleAttachedExtension extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String reference; + + /** + * Output only. The resource name. + * @return value or {@code null} for none + */ + public java.lang.String getReference() { + return reference; + } + + /** + * Output only. The resource name. + * @param reference reference or {@code null} for none + */ + public ForwardingRuleAttachedExtension setReference(java.lang.String reference) { + this.reference = reference; + return this; + } + + @Override + public ForwardingRuleAttachedExtension set(String fieldName, Object value) { + return (ForwardingRuleAttachedExtension) super.set(fieldName, value); + } + + @Override + public ForwardingRuleAttachedExtension clone() { + return (ForwardingRuleAttachedExtension) super.clone(); + } + +} diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceManagedByIgmError.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceManagedByIgmError.java index 7d14a73c218..90c04f253ca 100644 --- a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceManagedByIgmError.java +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceManagedByIgmError.java @@ -30,30 +30,29 @@ public final class InstanceManagedByIgmError extends com.google.api.client.json.GenericJson { /** - * Output only. [Output Only] Contents of the error. + * Output only. Contents of the error. * The value may be {@code null}. */ @com.google.api.client.util.Key private InstanceManagedByIgmErrorManagedInstanceError error; /** - * Output only. [Output Only] Details of the instance action that triggered this error. May be - * null, if the error was not caused by an action on an instance. This field is optional. + * Output only. Details of the instance action that triggered this error. May be null, if the + * error was not caused by an action on an instance. This field is optional. * The value may be {@code null}. */ @com.google.api.client.util.Key private InstanceManagedByIgmErrorInstanceActionDetails instanceActionDetails; /** - * Output only. [Output Only] The time that this error occurred. This value is in RFC3339 text - * format. + * Output only. The time that this error occurred. This value is in RFC3339 text format. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String timestamp; /** - * Output only. [Output Only] Contents of the error. + * Output only. Contents of the error. * @return value or {@code null} for none */ public InstanceManagedByIgmErrorManagedInstanceError getError() { @@ -61,7 +60,7 @@ public InstanceManagedByIgmErrorManagedInstanceError getError() { } /** - * Output only. [Output Only] Contents of the error. + * Output only. Contents of the error. * @param error error or {@code null} for none */ public InstanceManagedByIgmError setError(InstanceManagedByIgmErrorManagedInstanceError error) { @@ -70,8 +69,8 @@ public InstanceManagedByIgmError setError(InstanceManagedByIgmErrorManagedInstan } /** - * Output only. [Output Only] Details of the instance action that triggered this error. May be - * null, if the error was not caused by an action on an instance. This field is optional. + * Output only. Details of the instance action that triggered this error. May be null, if the + * error was not caused by an action on an instance. This field is optional. * @return value or {@code null} for none */ public InstanceManagedByIgmErrorInstanceActionDetails getInstanceActionDetails() { @@ -79,8 +78,8 @@ public InstanceManagedByIgmErrorInstanceActionDetails getInstanceActionDetails() } /** - * Output only. [Output Only] Details of the instance action that triggered this error. May be - * null, if the error was not caused by an action on an instance. This field is optional. + * Output only. Details of the instance action that triggered this error. May be null, if the + * error was not caused by an action on an instance. This field is optional. * @param instanceActionDetails instanceActionDetails or {@code null} for none */ public InstanceManagedByIgmError setInstanceActionDetails(InstanceManagedByIgmErrorInstanceActionDetails instanceActionDetails) { @@ -89,8 +88,7 @@ public InstanceManagedByIgmError setInstanceActionDetails(InstanceManagedByIgmEr } /** - * Output only. [Output Only] The time that this error occurred. This value is in RFC3339 text - * format. + * Output only. The time that this error occurred. This value is in RFC3339 text format. * @return value or {@code null} for none */ public java.lang.String getTimestamp() { @@ -98,8 +96,7 @@ public java.lang.String getTimestamp() { } /** - * Output only. [Output Only] The time that this error occurred. This value is in RFC3339 text - * format. + * Output only. The time that this error occurred. This value is in RFC3339 text format. * @param timestamp timestamp or {@code null} for none */ public InstanceManagedByIgmError setTimestamp(java.lang.String timestamp) { diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceManagedByIgmErrorInstanceActionDetails.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceManagedByIgmErrorInstanceActionDetails.java index f92d0a732ed..b699c99ec32 100644 --- a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceManagedByIgmErrorInstanceActionDetails.java +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceManagedByIgmErrorInstanceActionDetails.java @@ -30,33 +30,33 @@ public final class InstanceManagedByIgmErrorInstanceActionDetails extends com.google.api.client.json.GenericJson { /** - * Output only. [Output Only] Action that managed instance group was executing on the instance - * when the error occurred. Possible values: + * Output only. Action that managed instance group was executing on the instance when the error + * occurred. Possible values: * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String action; /** - * Output only. [Output Only] The URL of the instance. The URL can be set even if the instance has - * not yet been created. + * Output only. The URL of the instance. The URL can be set even if the instance has not yet been + * created. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String instance; /** - * Output only. [Output Only] Version this instance was created from, or was being created from, - * but the creation failed. Corresponds to one of the versions that were set on the Instance Group - * Manager resource at the time this instance was being created. + * Output only. Version this instance was created from, or was being created from, but the + * creation failed. Corresponds to one of the versions that were set on the Instance Group Manager + * resource at the time this instance was being created. * The value may be {@code null}. */ @com.google.api.client.util.Key private ManagedInstanceVersion version; /** - * Output only. [Output Only] Action that managed instance group was executing on the instance - * when the error occurred. Possible values: + * Output only. Action that managed instance group was executing on the instance when the error + * occurred. Possible values: * @return value or {@code null} for none */ public java.lang.String getAction() { @@ -64,8 +64,8 @@ public java.lang.String getAction() { } /** - * Output only. [Output Only] Action that managed instance group was executing on the instance - * when the error occurred. Possible values: + * Output only. Action that managed instance group was executing on the instance when the error + * occurred. Possible values: * @param action action or {@code null} for none */ public InstanceManagedByIgmErrorInstanceActionDetails setAction(java.lang.String action) { @@ -74,8 +74,8 @@ public InstanceManagedByIgmErrorInstanceActionDetails setAction(java.lang.String } /** - * Output only. [Output Only] The URL of the instance. The URL can be set even if the instance has - * not yet been created. + * Output only. The URL of the instance. The URL can be set even if the instance has not yet been + * created. * @return value or {@code null} for none */ public java.lang.String getInstance() { @@ -83,8 +83,8 @@ public java.lang.String getInstance() { } /** - * Output only. [Output Only] The URL of the instance. The URL can be set even if the instance has - * not yet been created. + * Output only. The URL of the instance. The URL can be set even if the instance has not yet been + * created. * @param instance instance or {@code null} for none */ public InstanceManagedByIgmErrorInstanceActionDetails setInstance(java.lang.String instance) { @@ -93,9 +93,9 @@ public InstanceManagedByIgmErrorInstanceActionDetails setInstance(java.lang.Stri } /** - * Output only. [Output Only] Version this instance was created from, or was being created from, - * but the creation failed. Corresponds to one of the versions that were set on the Instance Group - * Manager resource at the time this instance was being created. + * Output only. Version this instance was created from, or was being created from, but the + * creation failed. Corresponds to one of the versions that were set on the Instance Group Manager + * resource at the time this instance was being created. * @return value or {@code null} for none */ public ManagedInstanceVersion getVersion() { @@ -103,9 +103,9 @@ public ManagedInstanceVersion getVersion() { } /** - * Output only. [Output Only] Version this instance was created from, or was being created from, - * but the creation failed. Corresponds to one of the versions that were set on the Instance Group - * Manager resource at the time this instance was being created. + * Output only. Version this instance was created from, or was being created from, but the + * creation failed. Corresponds to one of the versions that were set on the Instance Group Manager + * resource at the time this instance was being created. * @param version version or {@code null} for none */ public InstanceManagedByIgmErrorInstanceActionDetails setVersion(ManagedInstanceVersion version) { diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceManagedByIgmErrorManagedInstanceError.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceManagedByIgmErrorManagedInstanceError.java index 3006dd39ef3..6202587499a 100644 --- a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceManagedByIgmErrorManagedInstanceError.java +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceManagedByIgmErrorManagedInstanceError.java @@ -30,21 +30,21 @@ public final class InstanceManagedByIgmErrorManagedInstanceError extends com.google.api.client.json.GenericJson { /** - * Output only. [Output Only] Error code. + * Output only. Error code. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String code; /** - * Output only. [Output Only] Error message. + * Output only. Error message. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String message; /** - * Output only. [Output Only] Error code. + * Output only. Error code. * @return value or {@code null} for none */ public java.lang.String getCode() { @@ -52,7 +52,7 @@ public java.lang.String getCode() { } /** - * Output only. [Output Only] Error code. + * Output only. Error code. * @param code code or {@code null} for none */ public InstanceManagedByIgmErrorManagedInstanceError setCode(java.lang.String code) { @@ -61,7 +61,7 @@ public InstanceManagedByIgmErrorManagedInstanceError setCode(java.lang.String co } /** - * Output only. [Output Only] Error message. + * Output only. Error message. * @return value or {@code null} for none */ public java.lang.String getMessage() { @@ -69,7 +69,7 @@ public java.lang.String getMessage() { } /** - * Output only. [Output Only] Error message. + * Output only. Error message. * @param message message or {@code null} for none */ public InstanceManagedByIgmErrorManagedInstanceError setMessage(java.lang.String message) { diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/PeriodicPartialMaintenanceSchedule.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/PeriodicPartialMaintenanceSchedule.java new file mode 100644 index 00000000000..907653b9c79 --- /dev/null +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/PeriodicPartialMaintenanceSchedule.java @@ -0,0 +1,163 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.compute.model; + +/** + * The periodic partial maintenance schedule includes 52 weeks worth of maintenance windows. + * LINT.IfChange(PeriodicPartialMaintenanceSchedule) + * + *

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

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class PeriodicPartialMaintenanceSchedule extends com.google.api.client.json.GenericJson { + + /** + * The maintenance type in which the zone is during the given window. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String subType; + + /** + * The target resource that the maintenance window is for. For example, "projects/my- + * project/zones/us-central1-a". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String targetResource; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * The end civil timestamp of the window (not inclusive). This contains a time zone. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private DateTime windowEndTime; + + /** + * The start civil timestamp of the window. This contains a time zone. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private DateTime windowStartTime; + + /** + * The maintenance type in which the zone is during the given window. + * @return value or {@code null} for none + */ + public java.lang.String getSubType() { + return subType; + } + + /** + * The maintenance type in which the zone is during the given window. + * @param subType subType or {@code null} for none + */ + public PeriodicPartialMaintenanceSchedule setSubType(java.lang.String subType) { + this.subType = subType; + return this; + } + + /** + * The target resource that the maintenance window is for. For example, "projects/my- + * project/zones/us-central1-a". + * @return value or {@code null} for none + */ + public java.lang.String getTargetResource() { + return targetResource; + } + + /** + * The target resource that the maintenance window is for. For example, "projects/my- + * project/zones/us-central1-a". + * @param targetResource targetResource or {@code null} for none + */ + public PeriodicPartialMaintenanceSchedule setTargetResource(java.lang.String targetResource) { + this.targetResource = targetResource; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * @param type type or {@code null} for none + */ + public PeriodicPartialMaintenanceSchedule setType(java.lang.String type) { + this.type = type; + return this; + } + + /** + * The end civil timestamp of the window (not inclusive). This contains a time zone. + * @return value or {@code null} for none + */ + public DateTime getWindowEndTime() { + return windowEndTime; + } + + /** + * The end civil timestamp of the window (not inclusive). This contains a time zone. + * @param windowEndTime windowEndTime or {@code null} for none + */ + public PeriodicPartialMaintenanceSchedule setWindowEndTime(DateTime windowEndTime) { + this.windowEndTime = windowEndTime; + return this; + } + + /** + * The start civil timestamp of the window. This contains a time zone. + * @return value or {@code null} for none + */ + public DateTime getWindowStartTime() { + return windowStartTime; + } + + /** + * The start civil timestamp of the window. This contains a time zone. + * @param windowStartTime windowStartTime or {@code null} for none + */ + public PeriodicPartialMaintenanceSchedule setWindowStartTime(DateTime windowStartTime) { + this.windowStartTime = windowStartTime; + return this; + } + + @Override + public PeriodicPartialMaintenanceSchedule set(String fieldName, Object value) { + return (PeriodicPartialMaintenanceSchedule) super.set(fieldName, value); + } + + @Override + public PeriodicPartialMaintenanceSchedule clone() { + return (PeriodicPartialMaintenanceSchedule) super.clone(); + } + +} diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ResourceStatusPhysicalHostTopology.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ResourceStatusPhysicalHostTopology.java index 7c9c162c17b..d8b7c4199c9 100644 --- a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ResourceStatusPhysicalHostTopology.java +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ResourceStatusPhysicalHostTopology.java @@ -29,6 +29,13 @@ @SuppressWarnings("javadoc") public final class ResourceStatusPhysicalHostTopology extends com.google.api.client.json.GenericJson { + /** + * Output only. [Output Only] Additional location information of the running instance. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ResourceStatusPhysicalHostTopologyAdditionalAttributes additionalAttributes; + /** * [Output Only] The ID of the block in which the running instance is located. Instances within * the same block experience low network latency. @@ -61,6 +68,23 @@ public final class ResourceStatusPhysicalHostTopology extends com.google.api.cli @com.google.api.client.util.Key private java.lang.String subblock; + /** + * Output only. [Output Only] Additional location information of the running instance. + * @return value or {@code null} for none + */ + public ResourceStatusPhysicalHostTopologyAdditionalAttributes getAdditionalAttributes() { + return additionalAttributes; + } + + /** + * Output only. [Output Only] Additional location information of the running instance. + * @param additionalAttributes additionalAttributes or {@code null} for none + */ + public ResourceStatusPhysicalHostTopology setAdditionalAttributes(ResourceStatusPhysicalHostTopologyAdditionalAttributes additionalAttributes) { + this.additionalAttributes = additionalAttributes; + return this; + } + /** * [Output Only] The ID of the block in which the running instance is located. Instances within * the same block experience low network latency. diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ResourceStatusPhysicalHostTopologyAdditionalAttributes.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ResourceStatusPhysicalHostTopologyAdditionalAttributes.java new file mode 100644 index 00000000000..29b35d78c50 --- /dev/null +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ResourceStatusPhysicalHostTopologyAdditionalAttributes.java @@ -0,0 +1,69 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.compute.model; + +/** + * Additional location information of the running instance. + * + *

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

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ResourceStatusPhysicalHostTopologyAdditionalAttributes extends com.google.api.client.json.GenericJson { + + /** + * Output only. The IDs of the accelerator topologies the instance belongs to. For example The key + * will be topologies like "4x4", "2x2x2" and the value will be the location ID of the topologies. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map acceleratorTopologyIds; + + /** + * Output only. The IDs of the accelerator topologies the instance belongs to. For example The key + * will be topologies like "4x4", "2x2x2" and the value will be the location ID of the topologies. + * @return value or {@code null} for none + */ + public java.util.Map getAcceleratorTopologyIds() { + return acceleratorTopologyIds; + } + + /** + * Output only. The IDs of the accelerator topologies the instance belongs to. For example The key + * will be topologies like "4x4", "2x2x2" and the value will be the location ID of the topologies. + * @param acceleratorTopologyIds acceleratorTopologyIds or {@code null} for none + */ + public ResourceStatusPhysicalHostTopologyAdditionalAttributes setAcceleratorTopologyIds(java.util.Map acceleratorTopologyIds) { + this.acceleratorTopologyIds = acceleratorTopologyIds; + return this; + } + + @Override + public ResourceStatusPhysicalHostTopologyAdditionalAttributes set(String fieldName, Object value) { + return (ResourceStatusPhysicalHostTopologyAdditionalAttributes) super.set(fieldName, value); + } + + @Override + public ResourceStatusPhysicalHostTopologyAdditionalAttributes clone() { + return (ResourceStatusPhysicalHostTopologyAdditionalAttributes) super.clone(); + } + +} diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/Rollout.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/Rollout.java index 6f314a3a4c1..5475815f67a 100644 --- a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/Rollout.java +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/Rollout.java @@ -100,6 +100,20 @@ public final class Rollout extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String name; + /** + * Output only. The timestamp at which the Rollout was paused. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pauseTime; + + /** + * Output only. The timestamp at which the Rollout was resumed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resumeTime; + /** * Required. The resource being rolled out. * The value may be {@code null}. @@ -306,6 +320,40 @@ public Rollout setName(java.lang.String name) { return this; } + /** + * Output only. The timestamp at which the Rollout was paused. + * @return value or {@code null} for none + */ + public java.lang.String getPauseTime() { + return pauseTime; + } + + /** + * Output only. The timestamp at which the Rollout was paused. + * @param pauseTime pauseTime or {@code null} for none + */ + public Rollout setPauseTime(java.lang.String pauseTime) { + this.pauseTime = pauseTime; + return this; + } + + /** + * Output only. The timestamp at which the Rollout was resumed. + * @return value or {@code null} for none + */ + public java.lang.String getResumeTime() { + return resumeTime; + } + + /** + * Output only. The timestamp at which the Rollout was resumed. + * @param resumeTime resumeTime or {@code null} for none + */ + public Rollout setResumeTime(java.lang.String resumeTime) { + this.resumeTime = resumeTime; + return this; + } + /** * Required. The resource being rolled out. * @return value or {@code null} for none diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/Router.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/Router.java index 9ab67113af9..07fab3bd08e 100644 --- a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/Router.java +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/Router.java @@ -120,6 +120,13 @@ public final class Router extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.util.List nats; + /** + * URI of the ncc_gateway to which this router associated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nccGateway; + /** * URI of the network to which this router belongs. * The value may be {@code null}. @@ -361,6 +368,23 @@ public Router setNats(java.util.List nats) { return this; } + /** + * URI of the ncc_gateway to which this router associated. + * @return value or {@code null} for none + */ + public java.lang.String getNccGateway() { + return nccGateway; + } + + /** + * URI of the ncc_gateway to which this router associated. + * @param nccGateway nccGateway or {@code null} for none + */ + public Router setNccGateway(java.lang.String nccGateway) { + this.nccGateway = nccGateway; + return this; + } + /** * URI of the network to which this router belongs. * @return value or {@code null} for none diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/RouterStatus.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/RouterStatus.java index 6b6eede7b5c..a61298a80d8 100644 --- a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/RouterStatus.java +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/RouterStatus.java @@ -77,6 +77,13 @@ public final class RouterStatus extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.util.List natStatus; + /** + * URI of the ncc_gateway to which this router associated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nccGateway; + /** * URI of the network to which this router belongs. * The value may be {@code null}. @@ -168,6 +175,23 @@ public RouterStatus setNatStatus(java.util.List natStatus return this; } + /** + * URI of the ncc_gateway to which this router associated. + * @return value or {@code null} for none + */ + public java.lang.String getNccGateway() { + return nccGateway; + } + + /** + * URI of the ncc_gateway to which this router associated. + * @param nccGateway nccGateway or {@code null} for none + */ + public RouterStatus setNccGateway(java.lang.String nccGateway) { + this.nccGateway = nccGateway; + return this; + } + /** * URI of the network to which this router belongs. * @return value or {@code null} for none diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/TimeZone.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/TimeZone.java new file mode 100644 index 00000000000..8cbf258d49b --- /dev/null +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/TimeZone.java @@ -0,0 +1,90 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.compute.model; + +/** + * Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). + * + *

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

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class TimeZone extends com.google.api.client.json.GenericJson { + + /** + * IANA Time Zone Database time zone. For example "America/New_York". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String id; + + /** + * Optional. IANA Time Zone Database version number. For example "2019a". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String version; + + /** + * IANA Time Zone Database time zone. For example "America/New_York". + * @return value or {@code null} for none + */ + public java.lang.String getId() { + return id; + } + + /** + * IANA Time Zone Database time zone. For example "America/New_York". + * @param id id or {@code null} for none + */ + public TimeZone setId(java.lang.String id) { + this.id = id; + return this; + } + + /** + * Optional. IANA Time Zone Database version number. For example "2019a". + * @return value or {@code null} for none + */ + public java.lang.String getVersion() { + return version; + } + + /** + * Optional. IANA Time Zone Database version number. For example "2019a". + * @param version version or {@code null} for none + */ + public TimeZone setVersion(java.lang.String version) { + this.version = version; + return this; + } + + @Override + public TimeZone set(String fieldName, Object value) { + return (TimeZone) super.set(fieldName, value); + } + + @Override + public TimeZone clone() { + return (TimeZone) super.clone(); + } + +} diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/Zone.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/Zone.java index 156d6c6381a..75ab725815c 100644 --- a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/Zone.java +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/Zone.java @@ -88,6 +88,12 @@ public final class Zone extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String region; + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ZoneResourceStatus resourceStatus; + /** * [Output Only] Server-defined URL for the resource. * The value may be {@code null}. @@ -245,6 +251,21 @@ public Zone setRegion(java.lang.String region) { return this; } + /** + * @return value or {@code null} for none + */ + public ZoneResourceStatus getResourceStatus() { + return resourceStatus; + } + + /** + * @param resourceStatus resourceStatus or {@code null} for none + */ + public Zone setResourceStatus(ZoneResourceStatus resourceStatus) { + this.resourceStatus = resourceStatus; + return this; + } + /** * [Output Only] Server-defined URL for the resource. * @return value or {@code null} for none diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ZoneResourceStatus.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ZoneResourceStatus.java new file mode 100644 index 00000000000..fa29c63261b --- /dev/null +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ZoneResourceStatus.java @@ -0,0 +1,72 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.compute.model; + +/** + * Model definition for ZoneResourceStatus. + * + *

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

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ZoneResourceStatus extends com.google.api.client.json.GenericJson { + + /** + * Output only. [Output Only] The upcoming maintenance schedule. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List upcomingMaintenances; + + static { + // hack to force ProGuard to consider PeriodicPartialMaintenanceSchedule used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(PeriodicPartialMaintenanceSchedule.class); + } + + /** + * Output only. [Output Only] The upcoming maintenance schedule. + * @return value or {@code null} for none + */ + public java.util.List getUpcomingMaintenances() { + return upcomingMaintenances; + } + + /** + * Output only. [Output Only] The upcoming maintenance schedule. + * @param upcomingMaintenances upcomingMaintenances or {@code null} for none + */ + public ZoneResourceStatus setUpcomingMaintenances(java.util.List upcomingMaintenances) { + this.upcomingMaintenances = upcomingMaintenances; + return this; + } + + @Override + public ZoneResourceStatus set(String fieldName, Object value) { + return (ZoneResourceStatus) super.set(fieldName, value); + } + + @Override + public ZoneResourceStatus clone() { + return (ZoneResourceStatus) super.clone(); + } + +} diff --git a/clients/google-api-services-compute/v1/2.0.0/pom.xml b/clients/google-api-services-compute/v1/2.0.0/pom.xml index 887c6b589df..aa871d5e49a 100644 --- a/clients/google-api-services-compute/v1/2.0.0/pom.xml +++ b/clients/google-api-services-compute/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-compute - v1-rev20260501-2.0.0 - Compute Engine API v1-rev20260501-2.0.0 + v1-rev20260520-2.0.0 + Compute Engine API v1-rev20260520-2.0.0 jar 2011 diff --git a/clients/google-api-services-compute/v1/README.md b/clients/google-api-services-compute/v1/README.md index e2471c7b8d5..44c813012e3 100644 --- a/clients/google-api-services-compute/v1/README.md +++ b/clients/google-api-services-compute/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-compute - v1-rev20260501-2.0.0 + v1-rev20260520-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-compute:v1-rev20260501-2.0.0' + implementation 'com.google.apis:google-api-services-compute:v1-rev20260520-2.0.0' } ```