Skip to content

Commit

Permalink
chore: regenerate networkconnectivity client (#23585)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Oct 5, 2024
1 parent de249c6 commit 4f071d4
Show file tree
Hide file tree
Showing 8 changed files with 217 additions and 24 deletions.
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-networkconnectivity</artifactId>
<version>v1-rev20240911-2.0.0</version>
<version>v1-rev20240923-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-networkconnectivity:v1-rev20240911-2.0.0'
implementation 'com.google.apis:google-api-services-networkconnectivity:v1-rev20240923-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
public final class LinkedInterconnectAttachments extends com.google.api.client.json.GenericJson {

/**
* Optional. IP ranges allowed to be included during import from hub.(does not control transit
* connectivity) The only allowed value for now is "ALL_IPV4_RANGES".
* Optional. IP ranges allowed to be included during import from hub (does not control transit
* connectivity). The only allowed value for now is "ALL_IPV4_RANGES".
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -64,17 +64,17 @@ public final class LinkedInterconnectAttachments extends com.google.api.client.j
private java.lang.String vpcNetwork;

/**
* Optional. IP ranges allowed to be included during import from hub.(does not control transit
* connectivity) The only allowed value for now is "ALL_IPV4_RANGES".
* Optional. IP ranges allowed to be included during import from hub (does not control transit
* connectivity). The only allowed value for now is "ALL_IPV4_RANGES".
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getIncludeImportRanges() {
return includeImportRanges;
}

/**
* Optional. IP ranges allowed to be included during import from hub.(does not control transit
* connectivity) The only allowed value for now is "ALL_IPV4_RANGES".
* Optional. IP ranges allowed to be included during import from hub (does not control transit
* connectivity). The only allowed value for now is "ALL_IPV4_RANGES".
* @param includeImportRanges includeImportRanges or {@code null} for none
*/
public LinkedInterconnectAttachments setIncludeImportRanges(java.util.List<java.lang.String> includeImportRanges) {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
/*
* 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.networkconnectivity.v1.model;

/**
* Next ID: 7
*
* <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 Network Connectivity 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 LinkedProducerVpcNetwork extends com.google.api.client.json.GenericJson {

/**
* Optional. IP ranges encompassing the subnets to be excluded from peering.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> excludeExportRanges;

/**
* Immutable. The URI of the Service Consumer VPC that the Producer VPC is peered with.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String network;

/**
* Immutable. The name of the VPC peering between the Service Consumer VPC and the Producer VPC
* (defined in the Tenant project) which is added to the NCC hub. This peering must be in ACTIVE
* state.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String peering;

/**
* Output only. The URI of the Producer VPC.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String producerNetwork;

/**
* Output only. The Service Consumer Network spoke.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String serviceConsumerVpcSpoke;

/**
* Optional. IP ranges encompassing the subnets to be excluded from peering.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getExcludeExportRanges() {
return excludeExportRanges;
}

/**
* Optional. IP ranges encompassing the subnets to be excluded from peering.
* @param excludeExportRanges excludeExportRanges or {@code null} for none
*/
public LinkedProducerVpcNetwork setExcludeExportRanges(java.util.List<java.lang.String> excludeExportRanges) {
this.excludeExportRanges = excludeExportRanges;
return this;
}

/**
* Immutable. The URI of the Service Consumer VPC that the Producer VPC is peered with.
* @return value or {@code null} for none
*/
public java.lang.String getNetwork() {
return network;
}

/**
* Immutable. The URI of the Service Consumer VPC that the Producer VPC is peered with.
* @param network network or {@code null} for none
*/
public LinkedProducerVpcNetwork setNetwork(java.lang.String network) {
this.network = network;
return this;
}

/**
* Immutable. The name of the VPC peering between the Service Consumer VPC and the Producer VPC
* (defined in the Tenant project) which is added to the NCC hub. This peering must be in ACTIVE
* state.
* @return value or {@code null} for none
*/
public java.lang.String getPeering() {
return peering;
}

/**
* Immutable. The name of the VPC peering between the Service Consumer VPC and the Producer VPC
* (defined in the Tenant project) which is added to the NCC hub. This peering must be in ACTIVE
* state.
* @param peering peering or {@code null} for none
*/
public LinkedProducerVpcNetwork setPeering(java.lang.String peering) {
this.peering = peering;
return this;
}

/**
* Output only. The URI of the Producer VPC.
* @return value or {@code null} for none
*/
public java.lang.String getProducerNetwork() {
return producerNetwork;
}

/**
* Output only. The URI of the Producer VPC.
* @param producerNetwork producerNetwork or {@code null} for none
*/
public LinkedProducerVpcNetwork setProducerNetwork(java.lang.String producerNetwork) {
this.producerNetwork = producerNetwork;
return this;
}

/**
* Output only. The Service Consumer Network spoke.
* @return value or {@code null} for none
*/
public java.lang.String getServiceConsumerVpcSpoke() {
return serviceConsumerVpcSpoke;
}

/**
* Output only. The Service Consumer Network spoke.
* @param serviceConsumerVpcSpoke serviceConsumerVpcSpoke or {@code null} for none
*/
public LinkedProducerVpcNetwork setServiceConsumerVpcSpoke(java.lang.String serviceConsumerVpcSpoke) {
this.serviceConsumerVpcSpoke = serviceConsumerVpcSpoke;
return this;
}

@Override
public LinkedProducerVpcNetwork set(String fieldName, Object value) {
return (LinkedProducerVpcNetwork) super.set(fieldName, value);
}

@Override
public LinkedProducerVpcNetwork clone() {
return (LinkedProducerVpcNetwork) super.clone();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
public final class LinkedRouterApplianceInstances extends com.google.api.client.json.GenericJson {

/**
* Optional. IP ranges allowed to be included during import from hub.(does not control transit
* connectivity) The only allowed value for now is "ALL_IPV4_RANGES".
* Optional. IP ranges allowed to be included during import from hub (does not control transit
* connectivity). The only allowed value for now is "ALL_IPV4_RANGES".
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -64,17 +64,17 @@ public final class LinkedRouterApplianceInstances extends com.google.api.client.
private java.lang.String vpcNetwork;

/**
* Optional. IP ranges allowed to be included during import from hub.(does not control transit
* connectivity) The only allowed value for now is "ALL_IPV4_RANGES".
* Optional. IP ranges allowed to be included during import from hub (does not control transit
* connectivity). The only allowed value for now is "ALL_IPV4_RANGES".
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getIncludeImportRanges() {
return includeImportRanges;
}

/**
* Optional. IP ranges allowed to be included during import from hub.(does not control transit
* connectivity) The only allowed value for now is "ALL_IPV4_RANGES".
* Optional. IP ranges allowed to be included during import from hub (does not control transit
* connectivity). The only allowed value for now is "ALL_IPV4_RANGES".
* @param includeImportRanges includeImportRanges or {@code null} for none
*/
public LinkedRouterApplianceInstances setIncludeImportRanges(java.util.List<java.lang.String> includeImportRanges) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
public final class LinkedVpnTunnels extends com.google.api.client.json.GenericJson {

/**
* Optional. IP ranges allowed to be included during import from hub.(does not control transit
* connectivity) The only allowed value for now is "ALL_IPV4_RANGES".
* Optional. IP ranges allowed to be included during import from hub (does not control transit
* connectivity). The only allowed value for now is "ALL_IPV4_RANGES".
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -64,17 +64,17 @@ public final class LinkedVpnTunnels extends com.google.api.client.json.GenericJs
private java.lang.String vpcNetwork;

/**
* Optional. IP ranges allowed to be included during import from hub.(does not control transit
* connectivity) The only allowed value for now is "ALL_IPV4_RANGES".
* Optional. IP ranges allowed to be included during import from hub (does not control transit
* connectivity). The only allowed value for now is "ALL_IPV4_RANGES".
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getIncludeImportRanges() {
return includeImportRanges;
}

/**
* Optional. IP ranges allowed to be included during import from hub.(does not control transit
* connectivity) The only allowed value for now is "ALL_IPV4_RANGES".
* Optional. IP ranges allowed to be included during import from hub (does not control transit
* connectivity). The only allowed value for now is "ALL_IPV4_RANGES".
* @param includeImportRanges includeImportRanges or {@code null} for none
*/
public LinkedVpnTunnels setIncludeImportRanges(java.util.List<java.lang.String> includeImportRanges) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ public final class Spoke extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private LinkedInterconnectAttachments linkedInterconnectAttachments;

/**
* Optional. The linked producer VPC that is associated with the spoke.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private LinkedProducerVpcNetwork linkedProducerVpcNetwork;

/**
* Router appliance instances that are associated with the spoke.
* The value may be {@code null}.
Expand Down Expand Up @@ -250,6 +257,23 @@ public Spoke setLinkedInterconnectAttachments(LinkedInterconnectAttachments link
return this;
}

/**
* Optional. The linked producer VPC that is associated with the spoke.
* @return value or {@code null} for none
*/
public LinkedProducerVpcNetwork getLinkedProducerVpcNetwork() {
return linkedProducerVpcNetwork;
}

/**
* Optional. The linked producer VPC that is associated with the spoke.
* @param linkedProducerVpcNetwork linkedProducerVpcNetwork or {@code null} for none
*/
public Spoke setLinkedProducerVpcNetwork(LinkedProducerVpcNetwork linkedProducerVpcNetwork) {
this.linkedProducerVpcNetwork = linkedProducerVpcNetwork;
return this;
}

/**
* Router appliance instances that are associated with the spoke.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-networkconnectivity</artifactId>
<version>v1-rev20240911-2.0.0</version>
<name>Network Connectivity API v1-rev20240911-2.0.0</name>
<version>v1-rev20240923-2.0.0</version>
<name>Network Connectivity API v1-rev20240923-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-networkconnectivity/v1/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-networkconnectivity</artifactId>
<version>v1-rev20240911-2.0.0</version>
<version>v1-rev20240923-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-networkconnectivity:v1-rev20240911-2.0.0'
implementation 'com.google.apis:google-api-services-networkconnectivity:v1-rev20240923-2.0.0'
}
```

Expand Down

0 comments on commit 4f071d4

Please sign in to comment.