Skip to content

Commit 43103e3

Browse files
1 parent f66f53a commit 43103e3

File tree

9 files changed

+169
-12
lines changed

9 files changed

+169
-12
lines changed

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

clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/LinkedVpcNetwork.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,15 @@ public final class LinkedVpcNetwork extends com.google.api.client.json.GenericJs
4444
@com.google.api.client.util.Key
4545
private java.util.List<java.lang.String> includeExportRanges;
4646

47+
/**
48+
* Output only. The list of Producer VPC spokes that this VPC spoke is a service consumer VPC
49+
* spoke for. These producer VPCs are connected through VPC peering to this spoke's backing VPC
50+
* network.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.util.List<java.lang.String> producerVpcSpokes;
55+
4756
/**
4857
* Required. The URI of the VPC network resource.
4958
* The value may be {@code null}.
@@ -85,6 +94,27 @@ public LinkedVpcNetwork setIncludeExportRanges(java.util.List<java.lang.String>
8594
return this;
8695
}
8796

97+
/**
98+
* Output only. The list of Producer VPC spokes that this VPC spoke is a service consumer VPC
99+
* spoke for. These producer VPCs are connected through VPC peering to this spoke's backing VPC
100+
* network.
101+
* @return value or {@code null} for none
102+
*/
103+
public java.util.List<java.lang.String> getProducerVpcSpokes() {
104+
return producerVpcSpokes;
105+
}
106+
107+
/**
108+
* Output only. The list of Producer VPC spokes that this VPC spoke is a service consumer VPC
109+
* spoke for. These producer VPCs are connected through VPC peering to this spoke's backing VPC
110+
* network.
111+
* @param producerVpcSpokes producerVpcSpokes or {@code null} for none
112+
*/
113+
public LinkedVpcNetwork setProducerVpcSpokes(java.util.List<java.lang.String> producerVpcSpokes) {
114+
this.producerVpcSpokes = producerVpcSpokes;
115+
return this;
116+
}
117+
88118
/**
89119
* Required. The URI of the VPC network resource.
90120
* @return value or {@code null} for none

clients/google-api-services-networkconnectivity/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-networkconnectivity</artifactId>
11-
<version>v1-rev20240717-2.0.0</version>
12-
<name>Network Connectivity API v1-rev20240717-2.0.0</name>
11+
<version>v1-rev20240807-2.0.0</version>
12+
<name>Network Connectivity API v1-rev20240807-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

clients/google-api-services-networkconnectivity/v1alpha1/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-networkconnectivity</artifactId>
25-
<version>v1alpha1-rev20240423-2.0.0</version>
25+
<version>v1alpha1-rev20240807-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-networkconnectivity:v1alpha1-rev20240423-2.0.0'
38+
implementation 'com.google.apis:google-api-services-networkconnectivity:v1alpha1-rev20240807-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-networkconnectivity/v1alpha1/2.0.0/com/google/api/services/networkconnectivity/v1alpha1/model/InternalRange.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ public final class InternalRange extends com.google.api.client.json.GenericJson
6060
@com.google.api.client.util.Key
6161
private java.util.Map<String, java.lang.String> labels;
6262

63+
/**
64+
* Optional. Should be present if usage is set to FOR_MIGRATION.
65+
* The value may be {@code null}.
66+
*/
67+
@com.google.api.client.util.Key
68+
private Migration migration;
69+
6370
/**
6471
* Immutable. The name of an internal range. Format:
6572
* projects/{project}/locations/{location}/internalRanges/{internal_range} See:
@@ -207,6 +214,23 @@ public InternalRange setLabels(java.util.Map<String, java.lang.String> labels) {
207214
return this;
208215
}
209216

217+
/**
218+
* Optional. Should be present if usage is set to FOR_MIGRATION.
219+
* @return value or {@code null} for none
220+
*/
221+
public Migration getMigration() {
222+
return migration;
223+
}
224+
225+
/**
226+
* Optional. Should be present if usage is set to FOR_MIGRATION.
227+
* @param migration migration or {@code null} for none
228+
*/
229+
public InternalRange setMigration(Migration migration) {
230+
this.migration = migration;
231+
return this;
232+
}
233+
210234
/**
211235
* Immutable. The name of an internal range. Format:
212236
* projects/{project}/locations/{location}/internalRanges/{internal_range} See:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
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.networkconnectivity.v1alpha1.model;
18+
19+
/**
20+
* Specification for migration with source and target resource names.
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 Network Connectivity API. For a detailed explanation
24+
* see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class Migration extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Immutable. Resource path as an URI of the source resource, for example a subnet. The project
35+
* for the source resource should match the project for the InternalRange. An example:
36+
* /projects/{project}/regions/{region}/subnetworks/{subnet}
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String source;
41+
42+
/**
43+
* Immutable. Resource path of the target resource. The target project can be different, as in the
44+
* cases when migrating to peer networks. The resource For example:
45+
* /projects/{project}/regions/{region}/subnetworks/{subnet}
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private java.lang.String target;
50+
51+
/**
52+
* Immutable. Resource path as an URI of the source resource, for example a subnet. The project
53+
* for the source resource should match the project for the InternalRange. An example:
54+
* /projects/{project}/regions/{region}/subnetworks/{subnet}
55+
* @return value or {@code null} for none
56+
*/
57+
public java.lang.String getSource() {
58+
return source;
59+
}
60+
61+
/**
62+
* Immutable. Resource path as an URI of the source resource, for example a subnet. The project
63+
* for the source resource should match the project for the InternalRange. An example:
64+
* /projects/{project}/regions/{region}/subnetworks/{subnet}
65+
* @param source source or {@code null} for none
66+
*/
67+
public Migration setSource(java.lang.String source) {
68+
this.source = source;
69+
return this;
70+
}
71+
72+
/**
73+
* Immutable. Resource path of the target resource. The target project can be different, as in the
74+
* cases when migrating to peer networks. The resource For example:
75+
* /projects/{project}/regions/{region}/subnetworks/{subnet}
76+
* @return value or {@code null} for none
77+
*/
78+
public java.lang.String getTarget() {
79+
return target;
80+
}
81+
82+
/**
83+
* Immutable. Resource path of the target resource. The target project can be different, as in the
84+
* cases when migrating to peer networks. The resource For example:
85+
* /projects/{project}/regions/{region}/subnetworks/{subnet}
86+
* @param target target or {@code null} for none
87+
*/
88+
public Migration setTarget(java.lang.String target) {
89+
this.target = target;
90+
return this;
91+
}
92+
93+
@Override
94+
public Migration set(String fieldName, Object value) {
95+
return (Migration) super.set(fieldName, value);
96+
}
97+
98+
@Override
99+
public Migration clone() {
100+
return (Migration) super.clone();
101+
}
102+
103+
}

clients/google-api-services-networkconnectivity/v1alpha1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-networkconnectivity</artifactId>
11-
<version>v1alpha1-rev20240423-2.0.0</version>
12-
<name>Network Connectivity API v1alpha1-rev20240423-2.0.0</name>
11+
<version>v1alpha1-rev20240807-2.0.0</version>
12+
<name>Network Connectivity API v1alpha1-rev20240807-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-networkconnectivity/v1alpha1/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-networkconnectivity</artifactId>
25-
<version>v1alpha1-rev20240423-2.0.0</version>
25+
<version>v1alpha1-rev20240807-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-networkconnectivity:v1alpha1-rev20240423-2.0.0'
38+
implementation 'com.google.apis:google-api-services-networkconnectivity:v1alpha1-rev20240807-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)