Skip to content

Commit ebff87a

Browse files
1 parent 29fc890 commit ebff87a

File tree

16 files changed

+624
-72
lines changed

16 files changed

+624
-72
lines changed

clients/google-api-services-compute/beta/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-compute</artifactId>
25-
<version>beta-rev20250807-2.0.0</version>
25+
<version>beta-rev20250810-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-compute:beta-rev20250807-2.0.0'
38+
implementation 'com.google.apis:google-api-services-compute:beta-rev20250810-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ResourceStatus.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@
3030
@SuppressWarnings("javadoc")
3131
public final class ResourceStatus extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* [Output Only] Effective metadata is a field that consolidates project, zonal instance settings,
35+
* and instance-level predefined metadata keys to provide the overridden value for those metadata
36+
* keys at the instance level.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private ResourceStatusEffectiveInstanceMetadata effectiveInstanceMetadata;
41+
3342
/**
3443
* [Output Only] The precise location of your instance within the zone's data center, including
3544
* the block, sub-block, and host. The field is formatted as follows: blockId/subBlockId/hostId.
@@ -65,6 +74,27 @@ public final class ResourceStatus extends com.google.api.client.json.GenericJson
6574
@com.google.api.client.util.Key
6675
private UpcomingMaintenance upcomingMaintenance;
6776

77+
/**
78+
* [Output Only] Effective metadata is a field that consolidates project, zonal instance settings,
79+
* and instance-level predefined metadata keys to provide the overridden value for those metadata
80+
* keys at the instance level.
81+
* @return value or {@code null} for none
82+
*/
83+
public ResourceStatusEffectiveInstanceMetadata getEffectiveInstanceMetadata() {
84+
return effectiveInstanceMetadata;
85+
}
86+
87+
/**
88+
* [Output Only] Effective metadata is a field that consolidates project, zonal instance settings,
89+
* and instance-level predefined metadata keys to provide the overridden value for those metadata
90+
* keys at the instance level.
91+
* @param effectiveInstanceMetadata effectiveInstanceMetadata or {@code null} for none
92+
*/
93+
public ResourceStatus setEffectiveInstanceMetadata(ResourceStatusEffectiveInstanceMetadata effectiveInstanceMetadata) {
94+
this.effectiveInstanceMetadata = effectiveInstanceMetadata;
95+
return this;
96+
}
97+
6898
/**
6999
* [Output Only] The precise location of your instance within the zone's data center, including
70100
* the block, sub-block, and host. The field is formatted as follows: blockId/subBlockId/hostId.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,234 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.compute.model;
18+
19+
/**
20+
* Effective values of predefined metadata keys for an instance.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class ResourceStatusEffectiveInstanceMetadata extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Effective block-project-ssh-keys value at Instance level.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Boolean blockProjectSshKeysMetadataValue;
38+
39+
/**
40+
* Effective enable-guest-attributes value at Instance level.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.Boolean enableGuestAttributesMetadataValue;
45+
46+
/**
47+
* Effective enable-os-inventory value at Instance level.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.Boolean enableOsInventoryMetadataValue;
52+
53+
/**
54+
* Effective enable-osconfig value at Instance level.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private java.lang.Boolean enableOsconfigMetadataValue;
59+
60+
/**
61+
* Effective enable-oslogin value at Instance level.
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private java.lang.Boolean enableOsloginMetadataValue;
66+
67+
/**
68+
* Effective serial-port-enable value at Instance level.
69+
* The value may be {@code null}.
70+
*/
71+
@com.google.api.client.util.Key
72+
private java.lang.Boolean serialPortEnableMetadataValue;
73+
74+
/**
75+
* Effective serial-port-logging-enable value at Instance level.
76+
* The value may be {@code null}.
77+
*/
78+
@com.google.api.client.util.Key
79+
private java.lang.Boolean serialPortLoggingEnableMetadataValue;
80+
81+
/**
82+
* Effective VM DNS setting at Instance level.
83+
* The value may be {@code null}.
84+
*/
85+
@com.google.api.client.util.Key
86+
private java.lang.String vmDnsSettingMetadataValue;
87+
88+
/**
89+
* Effective block-project-ssh-keys value at Instance level.
90+
* @return value or {@code null} for none
91+
*/
92+
public java.lang.Boolean getBlockProjectSshKeysMetadataValue() {
93+
return blockProjectSshKeysMetadataValue;
94+
}
95+
96+
/**
97+
* Effective block-project-ssh-keys value at Instance level.
98+
* @param blockProjectSshKeysMetadataValue blockProjectSshKeysMetadataValue or {@code null} for none
99+
*/
100+
public ResourceStatusEffectiveInstanceMetadata setBlockProjectSshKeysMetadataValue(java.lang.Boolean blockProjectSshKeysMetadataValue) {
101+
this.blockProjectSshKeysMetadataValue = blockProjectSshKeysMetadataValue;
102+
return this;
103+
}
104+
105+
/**
106+
* Effective enable-guest-attributes value at Instance level.
107+
* @return value or {@code null} for none
108+
*/
109+
public java.lang.Boolean getEnableGuestAttributesMetadataValue() {
110+
return enableGuestAttributesMetadataValue;
111+
}
112+
113+
/**
114+
* Effective enable-guest-attributes value at Instance level.
115+
* @param enableGuestAttributesMetadataValue enableGuestAttributesMetadataValue or {@code null} for none
116+
*/
117+
public ResourceStatusEffectiveInstanceMetadata setEnableGuestAttributesMetadataValue(java.lang.Boolean enableGuestAttributesMetadataValue) {
118+
this.enableGuestAttributesMetadataValue = enableGuestAttributesMetadataValue;
119+
return this;
120+
}
121+
122+
/**
123+
* Effective enable-os-inventory value at Instance level.
124+
* @return value or {@code null} for none
125+
*/
126+
public java.lang.Boolean getEnableOsInventoryMetadataValue() {
127+
return enableOsInventoryMetadataValue;
128+
}
129+
130+
/**
131+
* Effective enable-os-inventory value at Instance level.
132+
* @param enableOsInventoryMetadataValue enableOsInventoryMetadataValue or {@code null} for none
133+
*/
134+
public ResourceStatusEffectiveInstanceMetadata setEnableOsInventoryMetadataValue(java.lang.Boolean enableOsInventoryMetadataValue) {
135+
this.enableOsInventoryMetadataValue = enableOsInventoryMetadataValue;
136+
return this;
137+
}
138+
139+
/**
140+
* Effective enable-osconfig value at Instance level.
141+
* @return value or {@code null} for none
142+
*/
143+
public java.lang.Boolean getEnableOsconfigMetadataValue() {
144+
return enableOsconfigMetadataValue;
145+
}
146+
147+
/**
148+
* Effective enable-osconfig value at Instance level.
149+
* @param enableOsconfigMetadataValue enableOsconfigMetadataValue or {@code null} for none
150+
*/
151+
public ResourceStatusEffectiveInstanceMetadata setEnableOsconfigMetadataValue(java.lang.Boolean enableOsconfigMetadataValue) {
152+
this.enableOsconfigMetadataValue = enableOsconfigMetadataValue;
153+
return this;
154+
}
155+
156+
/**
157+
* Effective enable-oslogin value at Instance level.
158+
* @return value or {@code null} for none
159+
*/
160+
public java.lang.Boolean getEnableOsloginMetadataValue() {
161+
return enableOsloginMetadataValue;
162+
}
163+
164+
/**
165+
* Effective enable-oslogin value at Instance level.
166+
* @param enableOsloginMetadataValue enableOsloginMetadataValue or {@code null} for none
167+
*/
168+
public ResourceStatusEffectiveInstanceMetadata setEnableOsloginMetadataValue(java.lang.Boolean enableOsloginMetadataValue) {
169+
this.enableOsloginMetadataValue = enableOsloginMetadataValue;
170+
return this;
171+
}
172+
173+
/**
174+
* Effective serial-port-enable value at Instance level.
175+
* @return value or {@code null} for none
176+
*/
177+
public java.lang.Boolean getSerialPortEnableMetadataValue() {
178+
return serialPortEnableMetadataValue;
179+
}
180+
181+
/**
182+
* Effective serial-port-enable value at Instance level.
183+
* @param serialPortEnableMetadataValue serialPortEnableMetadataValue or {@code null} for none
184+
*/
185+
public ResourceStatusEffectiveInstanceMetadata setSerialPortEnableMetadataValue(java.lang.Boolean serialPortEnableMetadataValue) {
186+
this.serialPortEnableMetadataValue = serialPortEnableMetadataValue;
187+
return this;
188+
}
189+
190+
/**
191+
* Effective serial-port-logging-enable value at Instance level.
192+
* @return value or {@code null} for none
193+
*/
194+
public java.lang.Boolean getSerialPortLoggingEnableMetadataValue() {
195+
return serialPortLoggingEnableMetadataValue;
196+
}
197+
198+
/**
199+
* Effective serial-port-logging-enable value at Instance level.
200+
* @param serialPortLoggingEnableMetadataValue serialPortLoggingEnableMetadataValue or {@code null} for none
201+
*/
202+
public ResourceStatusEffectiveInstanceMetadata setSerialPortLoggingEnableMetadataValue(java.lang.Boolean serialPortLoggingEnableMetadataValue) {
203+
this.serialPortLoggingEnableMetadataValue = serialPortLoggingEnableMetadataValue;
204+
return this;
205+
}
206+
207+
/**
208+
* Effective VM DNS setting at Instance level.
209+
* @return value or {@code null} for none
210+
*/
211+
public java.lang.String getVmDnsSettingMetadataValue() {
212+
return vmDnsSettingMetadataValue;
213+
}
214+
215+
/**
216+
* Effective VM DNS setting at Instance level.
217+
* @param vmDnsSettingMetadataValue vmDnsSettingMetadataValue or {@code null} for none
218+
*/
219+
public ResourceStatusEffectiveInstanceMetadata setVmDnsSettingMetadataValue(java.lang.String vmDnsSettingMetadataValue) {
220+
this.vmDnsSettingMetadataValue = vmDnsSettingMetadataValue;
221+
return this;
222+
}
223+
224+
@Override
225+
public ResourceStatusEffectiveInstanceMetadata set(String fieldName, Object value) {
226+
return (ResourceStatusEffectiveInstanceMetadata) super.set(fieldName, value);
227+
}
228+
229+
@Override
230+
public ResourceStatusEffectiveInstanceMetadata clone() {
231+
return (ResourceStatusEffectiveInstanceMetadata) super.clone();
232+
}
233+
234+
}

clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/SecurityPolicy.java

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -213,13 +213,13 @@ public final class SecurityPolicy extends com.google.api.client.json.GenericJson
213213
* Armor edge security policies can be configured to filter incoming HTTP requests targeting
214214
* backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They
215215
* filter requests before the request is served from Google's cache. -
216-
* CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter
217-
* HTTP requests targeting services managed by Traffic Director in a service mesh. They filter
218-
* requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor
219-
* network policies can be configured to filter packets targeting network load balancing resources
220-
* such as backend services, target pools, target instances, and instances with external IPs. They
221-
* filter requests before the request is served from the application. This field can be set only
222-
* at resource creation time.
216+
* CLOUD_ARMOR_INTERNAL_SERVICE (preview only): Cloud Armor internal service policies can be
217+
* configured to filter HTTP requests targeting services managed by Traffic Director in a service
218+
* mesh. They filter requests before the request is served from the application. -
219+
* CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting
220+
* network load balancing resources such as backend services, target pools, target instances, and
221+
* instances with external IPs. They filter requests before the request is served from the
222+
* application. This field can be set only at resource creation time.
223223
* The value may be {@code null}.
224224
*/
225225
@com.google.api.client.util.Key
@@ -730,13 +730,13 @@ public SecurityPolicy setShortName(java.lang.String shortName) {
730730
* Armor edge security policies can be configured to filter incoming HTTP requests targeting
731731
* backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They
732732
* filter requests before the request is served from Google's cache. -
733-
* CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter
734-
* HTTP requests targeting services managed by Traffic Director in a service mesh. They filter
735-
* requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor
736-
* network policies can be configured to filter packets targeting network load balancing resources
737-
* such as backend services, target pools, target instances, and instances with external IPs. They
738-
* filter requests before the request is served from the application. This field can be set only
739-
* at resource creation time.
733+
* CLOUD_ARMOR_INTERNAL_SERVICE (preview only): Cloud Armor internal service policies can be
734+
* configured to filter HTTP requests targeting services managed by Traffic Director in a service
735+
* mesh. They filter requests before the request is served from the application. -
736+
* CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting
737+
* network load balancing resources such as backend services, target pools, target instances, and
738+
* instances with external IPs. They filter requests before the request is served from the
739+
* application. This field can be set only at resource creation time.
740740
* @return value or {@code null} for none
741741
*/
742742
public java.lang.String getType() {
@@ -750,13 +750,13 @@ public java.lang.String getType() {
750750
* Armor edge security policies can be configured to filter incoming HTTP requests targeting
751751
* backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They
752752
* filter requests before the request is served from Google's cache. -
753-
* CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter
754-
* HTTP requests targeting services managed by Traffic Director in a service mesh. They filter
755-
* requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor
756-
* network policies can be configured to filter packets targeting network load balancing resources
757-
* such as backend services, target pools, target instances, and instances with external IPs. They
758-
* filter requests before the request is served from the application. This field can be set only
759-
* at resource creation time.
753+
* CLOUD_ARMOR_INTERNAL_SERVICE (preview only): Cloud Armor internal service policies can be
754+
* configured to filter HTTP requests targeting services managed by Traffic Director in a service
755+
* mesh. They filter requests before the request is served from the application. -
756+
* CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting
757+
* network load balancing resources such as backend services, target pools, target instances, and
758+
* instances with external IPs. They filter requests before the request is served from the
759+
* application. This field can be set only at resource creation time.
760760
* @param type type or {@code null} for none
761761
*/
762762
public SecurityPolicy setType(java.lang.String type) {

0 commit comments

Comments
 (0)