Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-compute/alpha/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-compute</artifactId>
<version>alpha-rev20260501-2.0.0</version>
<version>alpha-rev20260520-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-compute:alpha-rev20260501-2.0.0'
implementation 'com.google.apis:google-api-services-compute:alpha-rev20260520-2.0.0'
}
```

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -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<BackendServiceLogConfigLoggingHttpHeader> 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<BackendServiceLogConfigLoggingHttpHeader> loggingHttpResponseHeaders;

/**
* Deprecated in favor of optionalMode. This field can only be specified if logging is enabled for
* this backend service. Configures whether all, none or a subset of optional fields should be
Expand Down Expand Up @@ -95,6 +109,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<BackendServiceLogConfigLoggingHttpHeader> 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<BackendServiceLogConfigLoggingHttpHeader> 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<BackendServiceLogConfigLoggingHttpHeader> 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<BackendServiceLogConfigLoggingHttpHeader> loggingHttpResponseHeaders) {
this.loggingHttpResponseHeaders = loggingHttpResponseHeaders;
return this;
}

/**
* Deprecated in favor of optionalMode. This field can only be specified if logging is enabled for
* this backend service. Configures whether all, none or a subset of optional fields should be
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @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();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,6 @@ public final class HaControllersFailoverRequest extends com.google.api.client.js
@com.google.api.client.util.Key
private java.lang.String failoverToZone;

/**
* Name of the destination zone for the failover. Deprecated: use failover_to_zone instead.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String primaryZone;

/**
* Name of the destination zone for the failover.
* @return value or {@code null} for none
Expand All @@ -60,23 +53,6 @@ public HaControllersFailoverRequest setFailoverToZone(java.lang.String failoverT
return this;
}

/**
* Name of the destination zone for the failover. Deprecated: use failover_to_zone instead.
* @return value or {@code null} for none
*/
public java.lang.String getPrimaryZone() {
return primaryZone;
}

/**
* Name of the destination zone for the failover. Deprecated: use failover_to_zone instead.
* @param primaryZone primaryZone or {@code null} for none
*/
public HaControllersFailoverRequest setPrimaryZone(java.lang.String primaryZone) {
this.primaryZone = primaryZone;
return this;
}

@Override
public HaControllersFailoverRequest set(String fieldName, Object value) {
return (HaControllersFailoverRequest) super.set(fieldName, value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@
@SuppressWarnings("javadoc")
public final class InstanceGroupManagerUpdatePolicy extends com.google.api.client.json.GenericJson {

/**
* Actions that are allowed to update instances within MIG.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> allowedActions;

/**
* Whether the boot disk is allowed to be updated with restart.
* The value may be {@code null}.
Expand Down Expand Up @@ -131,6 +138,23 @@ public final class InstanceGroupManagerUpdatePolicy extends com.google.api.clien
@com.google.api.client.util.Key
private java.lang.String type;

/**
* Actions that are allowed to update instances within MIG.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getAllowedActions() {
return allowedActions;
}

/**
* Actions that are allowed to update instances within MIG.
* @param allowedActions allowedActions or {@code null} for none
*/
public InstanceGroupManagerUpdatePolicy setAllowedActions(java.util.List<java.lang.String> allowedActions) {
this.allowedActions = allowedActions;
return this;
}

/**
* Whether the boot disk is allowed to be updated with restart.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ public final class InstanceGroupManagersApplyUpdatesRequest extends com.google.a
@com.google.api.client.util.Key
private java.lang.Boolean allInstances;

/**
* Actions that are allowed to update instances within MIG.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> allowedActions;

/**
* Whether the boot disk is allowed to be updated with restart.
* The value may be {@code null}.
Expand Down Expand Up @@ -105,6 +112,23 @@ public InstanceGroupManagersApplyUpdatesRequest setAllInstances(java.lang.Boolea
return this;
}

/**
* Actions that are allowed to update instances within MIG.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getAllowedActions() {
return allowedActions;
}

/**
* Actions that are allowed to update instances within MIG.
* @param allowedActions allowedActions or {@code null} for none
*/
public InstanceGroupManagersApplyUpdatesRequest setAllowedActions(java.util.List<java.lang.String> allowedActions) {
this.allowedActions = allowedActions;
return this;
}

/**
* Whether the boot disk is allowed to be updated with restart.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,38 +30,37 @@
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() {
return error;
}

/**
* 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) {
Expand All @@ -70,17 +69,17 @@ 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() {
return instanceActionDetails;
}

/**
* 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) {
Expand All @@ -89,17 +88,15 @@ 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() {
return timestamp;
}

/**
* 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) {
Expand Down
Loading