-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: regenerate networkconnectivity client (#23585)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
- Loading branch information
1 parent
de249c6
commit 4f071d4
Showing
8 changed files
with
217 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
169 changes: 169 additions & 0 deletions
169
.../2.0.0/com/google/api/services/networkconnectivity/v1/model/LinkedProducerVpcNetwork.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters