Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-rev20261008-2.9.2</version>
<version>v1-rev20261022-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-networkconnectivity:v1-rev20261008-2.9.2'
implementation 'com.google.apis:google-api-services-networkconnectivity:v1-rev20261022-2.9.2'
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
/*
* 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;

/**
* Configuration for more granular control of Private Service Connect connection propagation. This
* allows enabling or disabling connection propagation for specific types of Private Service Connect
* endpoints.
*
* <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 ExportPscConfig extends com.google.api.client.json.GenericJson {

/**
* Optional. Controls whether Private Service Connect endpoints for global Google APIs should be
* propagated. The default value is false.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean globalGoogleApis;

/**
* Optional. Controls whether Private Service Connect endpoints for regional ILBs and regional
* Google APIs should be propagated. Default value is true if export_psc is true. Otherwise, the
* default value is false.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean publishedServicesAndRegionalGoogleApis;

/**
* Optional. Controls whether Private Service Connect endpoints for global Google APIs should be
* propagated. The default value is false.
* @return value or {@code null} for none
*/
public java.lang.Boolean getGlobalGoogleApis() {
return globalGoogleApis;
}

/**
* Optional. Controls whether Private Service Connect endpoints for global Google APIs should be
* propagated. The default value is false.
* @param globalGoogleApis globalGoogleApis or {@code null} for none
*/
public ExportPscConfig setGlobalGoogleApis(java.lang.Boolean globalGoogleApis) {
this.globalGoogleApis = globalGoogleApis;
return this;
}

/**
* Optional. Controls whether Private Service Connect endpoints for regional ILBs and regional
* Google APIs should be propagated. Default value is true if export_psc is true. Otherwise, the
* default value is false.
* @return value or {@code null} for none
*/
public java.lang.Boolean getPublishedServicesAndRegionalGoogleApis() {
return publishedServicesAndRegionalGoogleApis;
}

/**
* Optional. Controls whether Private Service Connect endpoints for regional ILBs and regional
* Google APIs should be propagated. Default value is true if export_psc is true. Otherwise, the
* default value is false.
* @param publishedServicesAndRegionalGoogleApis publishedServicesAndRegionalGoogleApis or {@code null} for none
*/
public ExportPscConfig setPublishedServicesAndRegionalGoogleApis(java.lang.Boolean publishedServicesAndRegionalGoogleApis) {
this.publishedServicesAndRegionalGoogleApis = publishedServicesAndRegionalGoogleApis;
return this;
}

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

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ public final class Hub extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.Boolean exportPsc;

/**
* Optional. Config for more granular control of Private Service Connect transitivity.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private ExportPscConfig exportPscConfig;

/**
* Optional labels in key-value pair format. For more information about labels, see [Requirements
* for labels](https://cloud.google.com/resource-manager/docs/creating-managing-
Expand Down Expand Up @@ -198,6 +205,23 @@ public Hub setExportPsc(java.lang.Boolean exportPsc) {
return this;
}

/**
* Optional. Config for more granular control of Private Service Connect transitivity.
* @return value or {@code null} for none
*/
public ExportPscConfig getExportPscConfig() {
return exportPscConfig;
}

/**
* Optional. Config for more granular control of Private Service Connect transitivity.
* @param exportPscConfig exportPscConfig or {@code null} for none
*/
public Hub setExportPscConfig(ExportPscConfig exportPscConfig) {
this.exportPscConfig = exportPscConfig;
return this;
}

/**
* Optional labels in key-value pair format. For more information about labels, see [Requirements
* for labels](https://cloud.google.com/resource-manager/docs/creating-managing-
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-rev20261008-2.9.2</version>
<name>Network Connectivity API v1-rev20261008-2.9.2</name>
<version>v1-rev20261022-2.9.2</version>
<name>Network Connectivity API v1-rev20261022-2.9.2</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
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-rev20261008-2.9.2</version>
<version>v1-rev20261022-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-networkconnectivity:v1-rev20261008-2.9.2'
implementation 'com.google.apis:google-api-services-networkconnectivity:v1-rev20261022-2.9.2'
}
```

Expand Down
Loading