Skip to content

Commit b6a0013

Browse files
1 parent c3d506c commit b6a0013

File tree

7 files changed

+84
-75
lines changed

7 files changed

+84
-75
lines changed

clients/google-api-services-compute/v1/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>v1-rev20241231-2.0.0</version>
25+
<version>v1-rev20250107-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:v1-rev20241231-2.0.0'
38+
implementation 'com.google.apis:google-api-services-compute:v1-rev20250107-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceGroup.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ public final class InstanceGroup extends com.google.api.client.json.GenericJson
7878
private java.lang.String name;
7979

8080
/**
81-
* Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system
82-
* to reference ports by the assigned name instead of a port number. Named ports can also contain
83-
* multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name:
84-
* "app2", port: 8082}] Named ports apply to all instances in this instance group.
81+
* Optional. Assigns a name to a port number. For example: {name: "http", port: 80} This allows
82+
* the system to reference ports by the assigned name instead of a port number. Named ports can
83+
* also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port:
84+
* 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
8585
* The value may be {@code null}.
8686
*/
8787
@com.google.api.client.util.Key
@@ -269,21 +269,21 @@ public InstanceGroup setName(java.lang.String name) {
269269
}
270270

271271
/**
272-
* Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system
273-
* to reference ports by the assigned name instead of a port number. Named ports can also contain
274-
* multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name:
275-
* "app2", port: 8082}] Named ports apply to all instances in this instance group.
272+
* Optional. Assigns a name to a port number. For example: {name: "http", port: 80} This allows
273+
* the system to reference ports by the assigned name instead of a port number. Named ports can
274+
* also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port:
275+
* 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
276276
* @return value or {@code null} for none
277277
*/
278278
public java.util.List<NamedPort> getNamedPorts() {
279279
return namedPorts;
280280
}
281281

282282
/**
283-
* Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system
284-
* to reference ports by the assigned name instead of a port number. Named ports can also contain
285-
* multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name:
286-
* "app2", port: 8082}] Named ports apply to all instances in this instance group.
283+
* Optional. Assigns a name to a port number. For example: {name: "http", port: 80} This allows
284+
* the system to reference ports by the assigned name instead of a port number. Named ports can
285+
* also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port:
286+
* 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
287287
* @param namedPorts namedPorts or {@code null} for none
288288
*/
289289
public InstanceGroup setNamedPorts(java.util.List<NamedPort> namedPorts) {

clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/NetworkEndpoint.java

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@
3030
public final class NetworkEndpoint extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* Metadata defined as annotations on the network endpoint.
33+
* Optional metadata defined as annotations on the network endpoint.
3434
* The value may be {@code null}.
3535
*/
3636
@com.google.api.client.util.Key
3737
private java.util.Map<String, java.lang.String> annotations;
3838

3939
/**
40-
* Represents the port number to which PSC consumer sends packets. Only valid for network endpoint
41-
* groups created with GCE_VM_IP_PORTMAP endpoint type.
40+
* Represents the port number to which PSC consumer sends packets. Optional. Only valid for
41+
* network endpoint groups created with GCE_VM_IP_PORTMAP endpoint type.
4242
* The value may be {@code null}.
4343
*/
4444
@com.google.api.client.util.Key
@@ -53,12 +53,12 @@ public final class NetworkEndpoint extends com.google.api.client.json.GenericJso
5353
private java.lang.String fqdn;
5454

5555
/**
56-
* The name or a URL of VM instance of this network endpoint. This field is required for network
57-
* endpoints of type GCE_VM_IP and GCE_VM_IP_PORT. The instance must be in the same zone of
58-
* network endpoint group (for zonal NEGs) or in the zone within the region of the NEG (for
59-
* regional NEGs). If the ipAddress is specified, it must belongs to the VM instance. The name
60-
* must be 1-63 characters long, and comply with RFC1035 or be a valid URL pointing to an existing
61-
* instance.
56+
* The name or a URL of VM instance of this network endpoint. Optional, the field presence depends
57+
* on the network endpoint type. The field is required for network endpoints of type GCE_VM_IP and
58+
* GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group (for zonal
59+
* NEGs) or in the zone within the region of the NEG (for regional NEGs). If the ipAddress is
60+
* specified, it must belongs to the VM instance. The name must be 1-63 characters long, and
61+
* comply with RFC1035 or be a valid URL pointing to an existing instance.
6262
* The value may be {@code null}.
6363
*/
6464
@com.google.api.client.util.Key
@@ -93,15 +93,15 @@ public final class NetworkEndpoint extends com.google.api.client.json.GenericJso
9393
private java.lang.Integer port;
9494

9595
/**
96-
* Metadata defined as annotations on the network endpoint.
96+
* Optional metadata defined as annotations on the network endpoint.
9797
* @return value or {@code null} for none
9898
*/
9999
public java.util.Map<String, java.lang.String> getAnnotations() {
100100
return annotations;
101101
}
102102

103103
/**
104-
* Metadata defined as annotations on the network endpoint.
104+
* Optional metadata defined as annotations on the network endpoint.
105105
* @param annotations annotations or {@code null} for none
106106
*/
107107
public NetworkEndpoint setAnnotations(java.util.Map<String, java.lang.String> annotations) {
@@ -110,17 +110,17 @@ public NetworkEndpoint setAnnotations(java.util.Map<String, java.lang.String> an
110110
}
111111

112112
/**
113-
* Represents the port number to which PSC consumer sends packets. Only valid for network endpoint
114-
* groups created with GCE_VM_IP_PORTMAP endpoint type.
113+
* Represents the port number to which PSC consumer sends packets. Optional. Only valid for
114+
* network endpoint groups created with GCE_VM_IP_PORTMAP endpoint type.
115115
* @return value or {@code null} for none
116116
*/
117117
public java.lang.Integer getClientDestinationPort() {
118118
return clientDestinationPort;
119119
}
120120

121121
/**
122-
* Represents the port number to which PSC consumer sends packets. Only valid for network endpoint
123-
* groups created with GCE_VM_IP_PORTMAP endpoint type.
122+
* Represents the port number to which PSC consumer sends packets. Optional. Only valid for
123+
* network endpoint groups created with GCE_VM_IP_PORTMAP endpoint type.
124124
* @param clientDestinationPort clientDestinationPort or {@code null} for none
125125
*/
126126
public NetworkEndpoint setClientDestinationPort(java.lang.Integer clientDestinationPort) {
@@ -148,25 +148,25 @@ public NetworkEndpoint setFqdn(java.lang.String fqdn) {
148148
}
149149

150150
/**
151-
* The name or a URL of VM instance of this network endpoint. This field is required for network
152-
* endpoints of type GCE_VM_IP and GCE_VM_IP_PORT. The instance must be in the same zone of
153-
* network endpoint group (for zonal NEGs) or in the zone within the region of the NEG (for
154-
* regional NEGs). If the ipAddress is specified, it must belongs to the VM instance. The name
155-
* must be 1-63 characters long, and comply with RFC1035 or be a valid URL pointing to an existing
156-
* instance.
151+
* The name or a URL of VM instance of this network endpoint. Optional, the field presence depends
152+
* on the network endpoint type. The field is required for network endpoints of type GCE_VM_IP and
153+
* GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group (for zonal
154+
* NEGs) or in the zone within the region of the NEG (for regional NEGs). If the ipAddress is
155+
* specified, it must belongs to the VM instance. The name must be 1-63 characters long, and
156+
* comply with RFC1035 or be a valid URL pointing to an existing instance.
157157
* @return value or {@code null} for none
158158
*/
159159
public java.lang.String getInstance() {
160160
return instance;
161161
}
162162

163163
/**
164-
* The name or a URL of VM instance of this network endpoint. This field is required for network
165-
* endpoints of type GCE_VM_IP and GCE_VM_IP_PORT. The instance must be in the same zone of
166-
* network endpoint group (for zonal NEGs) or in the zone within the region of the NEG (for
167-
* regional NEGs). If the ipAddress is specified, it must belongs to the VM instance. The name
168-
* must be 1-63 characters long, and comply with RFC1035 or be a valid URL pointing to an existing
169-
* instance.
164+
* The name or a URL of VM instance of this network endpoint. Optional, the field presence depends
165+
* on the network endpoint type. The field is required for network endpoints of type GCE_VM_IP and
166+
* GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group (for zonal
167+
* NEGs) or in the zone within the region of the NEG (for regional NEGs). If the ipAddress is
168+
* specified, it must belongs to the VM instance. The name must be 1-63 characters long, and
169+
* comply with RFC1035 or be a valid URL pointing to an existing instance.
170170
* @param instance instance or {@code null} for none
171171
*/
172172
public NetworkEndpoint setInstance(java.lang.String instance) {

clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/NetworkEndpointGroup.java

Lines changed: 30 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -32,30 +32,30 @@
3232
public final class NetworkEndpointGroup extends com.google.api.client.json.GenericJson {
3333

3434
/**
35-
* Metadata defined as annotations on the network endpoint group.
35+
* Optional. Metadata defined as annotations on the network endpoint group.
3636
* The value may be {@code null}.
3737
*/
3838
@com.google.api.client.util.Key
3939
private java.util.Map<String, java.lang.String> annotations;
4040

4141
/**
42-
* Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or
42+
* Optional. Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or
4343
* cloudFunction may be set.
4444
* The value may be {@code null}.
4545
*/
4646
@com.google.api.client.util.Key
4747
private NetworkEndpointGroupAppEngine appEngine;
4848

4949
/**
50-
* Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or
50+
* Optional. Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or
5151
* cloudFunction may be set.
5252
* The value may be {@code null}.
5353
*/
5454
@com.google.api.client.util.Key
5555
private NetworkEndpointGroupCloudFunction cloudFunction;
5656

5757
/**
58-
* Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or
58+
* Optional. Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or
5959
* cloudFunction may be set.
6060
* The value may be {@code null}.
6161
*/
@@ -70,9 +70,9 @@ public final class NetworkEndpointGroup extends com.google.api.client.json.Gener
7070
private java.lang.String creationTimestamp;
7171

7272
/**
73-
* The default port used if the port number is not specified in the network endpoint. If the
74-
* network endpoint type is either GCE_VM_IP, SERVERLESS or PRIVATE_SERVICE_CONNECT, this field
75-
* must not be specified.
73+
* The default port used if the port number is not specified in the network endpoint. Optional. If
74+
* the network endpoint type is either GCE_VM_IP, SERVERLESS or PRIVATE_SERVICE_CONNECT, this
75+
* field must not be specified.
7676
* The value may be {@code null}.
7777
*/
7878
@com.google.api.client.util.Key
@@ -129,14 +129,16 @@ public final class NetworkEndpointGroup extends com.google.api.client.json.Gener
129129
private java.lang.String networkEndpointType;
130130

131131
/**
132+
* Optional. Only valid when networkEndpointType is PRIVATE_SERVICE_CONNECT.
132133
* The value may be {@code null}.
133134
*/
134135
@com.google.api.client.util.Key
135136
private NetworkEndpointGroupPscData pscData;
136137

137138
/**
138139
* The target service url used to set up private service connection to a Google API or a PSC
139-
* Producer Service Attachment. An example value is: asia-northeast3-cloudkms.googleapis.com
140+
* Producer Service Attachment. An example value is: asia-northeast3-cloudkms.googleapis.com.
141+
* Optional. Only valid when networkEndpointType is PRIVATE_SERVICE_CONNECT.
140142
* The value may be {@code null}.
141143
*/
142144
@com.google.api.client.util.Key
@@ -178,15 +180,15 @@ public final class NetworkEndpointGroup extends com.google.api.client.json.Gener
178180
private java.lang.String zone;
179181

180182
/**
181-
* Metadata defined as annotations on the network endpoint group.
183+
* Optional. Metadata defined as annotations on the network endpoint group.
182184
* @return value or {@code null} for none
183185
*/
184186
public java.util.Map<String, java.lang.String> getAnnotations() {
185187
return annotations;
186188
}
187189

188190
/**
189-
* Metadata defined as annotations on the network endpoint group.
191+
* Optional. Metadata defined as annotations on the network endpoint group.
190192
* @param annotations annotations or {@code null} for none
191193
*/
192194
public NetworkEndpointGroup setAnnotations(java.util.Map<String, java.lang.String> annotations) {
@@ -195,7 +197,7 @@ public NetworkEndpointGroup setAnnotations(java.util.Map<String, java.lang.Strin
195197
}
196198

197199
/**
198-
* Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or
200+
* Optional. Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or
199201
* cloudFunction may be set.
200202
* @return value or {@code null} for none
201203
*/
@@ -204,7 +206,7 @@ public NetworkEndpointGroupAppEngine getAppEngine() {
204206
}
205207

206208
/**
207-
* Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or
209+
* Optional. Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or
208210
* cloudFunction may be set.
209211
* @param appEngine appEngine or {@code null} for none
210212
*/
@@ -214,7 +216,7 @@ public NetworkEndpointGroup setAppEngine(NetworkEndpointGroupAppEngine appEngine
214216
}
215217

216218
/**
217-
* Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or
219+
* Optional. Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or
218220
* cloudFunction may be set.
219221
* @return value or {@code null} for none
220222
*/
@@ -223,7 +225,7 @@ public NetworkEndpointGroupCloudFunction getCloudFunction() {
223225
}
224226

225227
/**
226-
* Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or
228+
* Optional. Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or
227229
* cloudFunction may be set.
228230
* @param cloudFunction cloudFunction or {@code null} for none
229231
*/
@@ -233,7 +235,7 @@ public NetworkEndpointGroup setCloudFunction(NetworkEndpointGroupCloudFunction c
233235
}
234236

235237
/**
236-
* Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or
238+
* Optional. Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or
237239
* cloudFunction may be set.
238240
* @return value or {@code null} for none
239241
*/
@@ -242,7 +244,7 @@ public NetworkEndpointGroupCloudRun getCloudRun() {
242244
}
243245

244246
/**
245-
* Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or
247+
* Optional. Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or
246248
* cloudFunction may be set.
247249
* @param cloudRun cloudRun or {@code null} for none
248250
*/
@@ -269,19 +271,19 @@ public NetworkEndpointGroup setCreationTimestamp(java.lang.String creationTimest
269271
}
270272

271273
/**
272-
* The default port used if the port number is not specified in the network endpoint. If the
273-
* network endpoint type is either GCE_VM_IP, SERVERLESS or PRIVATE_SERVICE_CONNECT, this field
274-
* must not be specified.
274+
* The default port used if the port number is not specified in the network endpoint. Optional. If
275+
* the network endpoint type is either GCE_VM_IP, SERVERLESS or PRIVATE_SERVICE_CONNECT, this
276+
* field must not be specified.
275277
* @return value or {@code null} for none
276278
*/
277279
public java.lang.Integer getDefaultPort() {
278280
return defaultPort;
279281
}
280282

281283
/**
282-
* The default port used if the port number is not specified in the network endpoint. If the
283-
* network endpoint type is either GCE_VM_IP, SERVERLESS or PRIVATE_SERVICE_CONNECT, this field
284-
* must not be specified.
284+
* The default port used if the port number is not specified in the network endpoint. Optional. If
285+
* the network endpoint type is either GCE_VM_IP, SERVERLESS or PRIVATE_SERVICE_CONNECT, this
286+
* field must not be specified.
285287
* @param defaultPort defaultPort or {@code null} for none
286288
*/
287289
public NetworkEndpointGroup setDefaultPort(java.lang.Integer defaultPort) {
@@ -408,13 +410,15 @@ public NetworkEndpointGroup setNetworkEndpointType(java.lang.String networkEndpo
408410
}
409411

410412
/**
413+
* Optional. Only valid when networkEndpointType is PRIVATE_SERVICE_CONNECT.
411414
* @return value or {@code null} for none
412415
*/
413416
public NetworkEndpointGroupPscData getPscData() {
414417
return pscData;
415418
}
416419

417420
/**
421+
* Optional. Only valid when networkEndpointType is PRIVATE_SERVICE_CONNECT.
418422
* @param pscData pscData or {@code null} for none
419423
*/
420424
public NetworkEndpointGroup setPscData(NetworkEndpointGroupPscData pscData) {
@@ -424,7 +428,8 @@ public NetworkEndpointGroup setPscData(NetworkEndpointGroupPscData pscData) {
424428

425429
/**
426430
* The target service url used to set up private service connection to a Google API or a PSC
427-
* Producer Service Attachment. An example value is: asia-northeast3-cloudkms.googleapis.com
431+
* Producer Service Attachment. An example value is: asia-northeast3-cloudkms.googleapis.com.
432+
* Optional. Only valid when networkEndpointType is PRIVATE_SERVICE_CONNECT.
428433
* @return value or {@code null} for none
429434
*/
430435
public java.lang.String getPscTargetService() {
@@ -433,7 +438,8 @@ public java.lang.String getPscTargetService() {
433438

434439
/**
435440
* The target service url used to set up private service connection to a Google API or a PSC
436-
* Producer Service Attachment. An example value is: asia-northeast3-cloudkms.googleapis.com
441+
* Producer Service Attachment. An example value is: asia-northeast3-cloudkms.googleapis.com.
442+
* Optional. Only valid when networkEndpointType is PRIVATE_SERVICE_CONNECT.
437443
* @param pscTargetService pscTargetService or {@code null} for none
438444
*/
439445
public NetworkEndpointGroup setPscTargetService(java.lang.String pscTargetService) {

0 commit comments

Comments
 (0)