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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion generation_config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
googleapis_commitish: 05c4b6d37258ab81054529451cdf804f2918441f
googleapis_commitish: 00bb3db8a8cc88f0755e872856462b902d6dd8c4
libraries_bom_version: 26.83.0
is_monorepo: true
libraries:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6627,7 +6627,7 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConf
* </code>
*
* @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See
* google/cloud/alloydb/v1/resources.proto;l=682
* google/cloud/alloydb/v1/resources.proto;l=687
* @return The network.
*/
@java.lang.Override
Expand Down Expand Up @@ -6660,7 +6660,7 @@ public java.lang.String getNetwork() {
* </code>
*
* @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See
* google/cloud/alloydb/v1/resources.proto;l=682
* google/cloud/alloydb/v1/resources.proto;l=687
* @return The bytes for network.
*/
@java.lang.Override
Expand Down Expand Up @@ -7016,7 +7016,7 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy getAutomatedBackupPolic
* <code>.google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true];</code>
*
* @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See
* google/cloud/alloydb/v1/resources.proto;l=717
* google/cloud/alloydb/v1/resources.proto;l=722
* @return Whether the sslConfig field is set.
*/
@java.lang.Override
Expand All @@ -7035,7 +7035,7 @@ public boolean hasSslConfig() {
* <code>.google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true];</code>
*
* @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See
* google/cloud/alloydb/v1/resources.proto;l=717
* google/cloud/alloydb/v1/resources.proto;l=722
* @return The sslConfig.
*/
@java.lang.Override
Expand Down Expand Up @@ -11812,7 +11812,7 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConf
* </code>
*
* @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See
* google/cloud/alloydb/v1/resources.proto;l=682
* google/cloud/alloydb/v1/resources.proto;l=687
* @return The network.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -11844,7 +11844,7 @@ public java.lang.String getNetwork() {
* </code>
*
* @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See
* google/cloud/alloydb/v1/resources.proto;l=682
* google/cloud/alloydb/v1/resources.proto;l=687
* @return The bytes for network.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -11876,7 +11876,7 @@ public com.google.protobuf.ByteString getNetworkBytes() {
* </code>
*
* @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See
* google/cloud/alloydb/v1/resources.proto;l=682
* google/cloud/alloydb/v1/resources.proto;l=687
* @param value The network to set.
* @return This builder for chaining.
*/
Expand Down Expand Up @@ -11907,7 +11907,7 @@ public Builder setNetwork(java.lang.String value) {
* </code>
*
* @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See
* google/cloud/alloydb/v1/resources.proto;l=682
* google/cloud/alloydb/v1/resources.proto;l=687
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand All @@ -11934,7 +11934,7 @@ public Builder clearNetwork() {
* </code>
*
* @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See
* google/cloud/alloydb/v1/resources.proto;l=682
* google/cloud/alloydb/v1/resources.proto;l=687
* @param value The bytes for network to set.
* @return This builder for chaining.
*/
Expand Down Expand Up @@ -12811,7 +12811,7 @@ public Builder clearAutomatedBackupPolicy() {
* <code>.google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true];</code>
*
* @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See
* google/cloud/alloydb/v1/resources.proto;l=717
* google/cloud/alloydb/v1/resources.proto;l=722
* @return Whether the sslConfig field is set.
*/
@java.lang.Deprecated
Expand All @@ -12829,7 +12829,7 @@ public boolean hasSslConfig() {
* <code>.google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true];</code>
*
* @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See
* google/cloud/alloydb/v1/resources.proto;l=717
* google/cloud/alloydb/v1/resources.proto;l=722
* @return The sslConfig.
*/
@java.lang.Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ java.lang.String getLabelsOrDefault(
* </code>
*
* @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See
* google/cloud/alloydb/v1/resources.proto;l=682
* google/cloud/alloydb/v1/resources.proto;l=687
* @return The network.
*/
@java.lang.Deprecated
Expand All @@ -594,7 +594,7 @@ java.lang.String getLabelsOrDefault(
* </code>
*
* @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See
* google/cloud/alloydb/v1/resources.proto;l=682
* google/cloud/alloydb/v1/resources.proto;l=687
* @return The bytes for network.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -827,7 +827,7 @@ java.lang.String getAnnotationsOrDefault(
* <code>.google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true];</code>
*
* @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See
* google/cloud/alloydb/v1/resources.proto;l=717
* google/cloud/alloydb/v1/resources.proto;l=722
* @return Whether the sslConfig field is set.
*/
@java.lang.Deprecated
Expand All @@ -843,7 +843,7 @@ java.lang.String getAnnotationsOrDefault(
* <code>.google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true];</code>
*
* @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See
* google/cloud/alloydb/v1/resources.proto;l=717
* google/cloud/alloydb/v1/resources.proto;l=722
* @return The sslConfig.
*/
@java.lang.Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,16 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum {
* <code>POSTGRES_17 = 5;</code>
*/
POSTGRES_17(5),
/**
*
*
* <pre>
* The database version is Postgres 18.
* </pre>
*
* <code>POSTGRES_18 = 6;</code>
*/
POSTGRES_18(6),
UNRECOGNIZED(-1),
;

Expand Down Expand Up @@ -171,6 +181,17 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum {
*/
public static final int POSTGRES_17_VALUE = 5;

/**
*
*
* <pre>
* The database version is Postgres 18.
* </pre>
*
* <code>POSTGRES_18 = 6;</code>
*/
public static final int POSTGRES_18_VALUE = 6;

public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
Expand Down Expand Up @@ -207,6 +228,8 @@ public static DatabaseVersion forNumber(int value) {
return POSTGRES_16;
case 5:
return POSTGRES_17;
case 6:
return POSTGRES_18;
default:
return null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -793,34 +793,36 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\013ClusterView\022\034\n"
+ "\030CLUSTER_VIEW_UNSPECIFIED\020\000\022\026\n"
+ "\022CLUSTER_VIEW_BASIC\020\001\022\"\n"
+ "\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020\002*\214\001\n"
+ "\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020\002*\235\001\n"
+ "\017DatabaseVersion\022 \n"
+ "\034DATABASE_VERSION_UNSPECIFIED\020\000\022\023\n"
+ "\013POSTGRES_13\020\001\032\002\010\001\022\017\n"
+ "\013POSTGRES_14\020\002\022\017\n"
+ "\013POSTGRES_15\020\003\022\017\n"
+ "\013POSTGRES_16\020\004\022\017\n"
+ "\013POSTGRES_17\020\005*N\n"
+ "\013POSTGRES_17\020\005\022\017\n"
+ "\013POSTGRES_18\020\006*N\n"
+ "\020SubscriptionType\022!\n"
+ "\035SUBSCRIPTION_TYPE_UNSPECIFIED\020\000\022\014\n"
+ "\010STANDARD\020\001\022\t\n"
+ "\005TRIAL\020\002B\247\005\n"
+ "\033com.google.cloud.alloydb.v1B\016ResourcesProtoP\001Z5cloud.google.com/go/allo"
+ "ydb/apiv1/alloydbpb;alloydbpb\252\002\027Google.C"
+ "loud.AlloyDb.V1\312\002\027Google\\Cloud\\AlloyDb\\V1\352\002\032Google::Cloud::AlloyDB::V1\352A\246\001\n"
+ "(cloudkms.googleapis.com/CryptoKeyVersion\022zpr",
"ojects/{project}/locations/{location}/ke"
+ "yRings/{key_ring}/cryptoKeys/{crypto_key"
+ "}/cryptoKeyVersions/{crypto_key_version}"
+ "\352AN\n\036compute.googleapis.com/Network\022,pro"
+ "jects/{project}/global/networks/{network"
+ "}\352Ax\n!cloudkms.googleapis.com/CryptoKey\022"
+ "Sprojects/{project}/locations/{location}"
+ "/keyRings/{key_ring}/cryptoKeys/{crypto_"
+ "key}\352Aw\n(compute.googleapis.com/ServiceA"
+ "ttachment\022Kprojects/{project}/regions/{r"
+ "egion}/serviceAttachments/{service_attac"
+ "hment}b\006proto3"
+ "\033com.google.cloud.alloydb.v1B\016ResourcesProtoP\001Z5cloud.g"
+ "oogle.com/go/alloydb/apiv1/alloydbpb;all"
+ "oydbpb\252\002\027Google.Cloud.AlloyDb.V1\312\002\027Googl"
+ "e\\Cloud\\AlloyDb\\V1\352\002\032Google::Cloud::AlloyDB::V1\352A\246\001\n"
+ "(cloudkms.googleapis.com/Cry",
"ptoKeyVersion\022zprojects/{project}/locati"
+ "ons/{location}/keyRings/{key_ring}/crypt"
+ "oKeys/{crypto_key}/cryptoKeyVersions/{cr"
+ "ypto_key_version}\352AN\n\036compute.googleapis"
+ ".com/Network\022,projects/{project}/global/"
+ "networks/{network}\352Ax\n!cloudkms.googleap"
+ "is.com/CryptoKey\022Sprojects/{project}/loc"
+ "ations/{location}/keyRings/{key_ring}/cr"
+ "yptoKeys/{crypto_key}\352Aw\n(compute.google"
+ "apis.com/ServiceAttachment\022Kprojects/{pr"
+ "oject}/regions/{region}/serviceAttachmen"
+ "ts/{service_attachment}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
// 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.
// LINT: LEGACY_NAMES

syntax = "proto3";

Expand Down Expand Up @@ -103,6 +104,10 @@ enum DatabaseVersion {

// The database version is Postgres 17.
POSTGRES_17 = 5;

// The database version is Postgres 18.
POSTGRES_18 = 6;

}

// Subscription_type added to distinguish between Standard and Trial
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,9 @@
* </tr>
* <tr>
* <td><p> ListLocations</td>
* <td><p> Lists information about the supported locations for this service.This method can be called in two ways:
* <p> &#42; &#42;&#42;List all public locations:&#42;&#42; Use the path `GET /v1/locations`.&#42; &#42;&#42;List project-visible locations:&#42;&#42; Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.</td>
* <td><p> Lists information about the supported locations for this service.
* <p> This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name][google.cloud.location.ListLocationsRequest.name] field: &#42;&#42;&#42;Global locations&#42;&#42;: If `name` is empty, the method lists thepublic locations available to all projects. &#42; &#42;&#42;Project-specificlocations&#42;&#42;: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project.
* <p> For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
Expand Down Expand Up @@ -416,6 +417,7 @@ public final UnaryCallable<CreateChallengeRequest, Challenge> createChallengeCal
* .setConfidentialSpaceInfo(ConfidentialSpaceInfo.newBuilder().build())
* .setTokenOptions(TokenOptions.newBuilder().build())
* .setAttester("attester542920370")
* .setInstance(InstanceName.of("[PROJECT]", "[ZONE]", "[INSTANCE]").toString())
* .build();
* VerifyAttestationResponse response = confidentialComputingClient.verifyAttestation(request);
* }
Expand Down Expand Up @@ -450,6 +452,7 @@ public final VerifyAttestationResponse verifyAttestation(VerifyAttestationReques
* .setConfidentialSpaceInfo(ConfidentialSpaceInfo.newBuilder().build())
* .setTokenOptions(TokenOptions.newBuilder().build())
* .setAttester("attester542920370")
* .setInstance(InstanceName.of("[PROJECT]", "[ZONE]", "[INSTANCE]").toString())
* .build();
* ApiFuture<VerifyAttestationResponse> future =
* confidentialComputingClient.verifyAttestationCallable().futureCall(request);
Expand Down Expand Up @@ -603,13 +606,19 @@ public final VerifyConfidentialGkeResponse verifyConfidentialGke(

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Lists information about the supported locations for this service.This method can be called in
* two ways:
* Lists information about the supported locations for this service.
*
* <p>&#42; &#42;&#42;List all public locations:&#42;&#42; Use the path `GET /v1/locations`.&#42;
* &#42;&#42;List project-visible locations:&#42;&#42; Use the path`GET
* /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or
* other locations specifically visibleto the project.
* <p>This method lists locations based on the resource scope provided inthe
* [ListLocationsRequest.name][google.cloud.location.ListLocationsRequest.name] field:
* &#42;&#42;&#42;Global locations&#42;&#42;: If `name` is empty, the method lists thepublic
* locations available to all projects. &#42; &#42;&#42;Project-specificlocations&#42;&#42;: If
* `name` follows the format`projects/{project}`, the method lists locations visible to
* thatspecific project. This includes public, private, or otherproject-specific locations enabled
* for the project.
*
* <p>For gRPC and client library implementations, the resource name ispassed as the `name` field.
* For direct service calls, the resourcename isincorporated into the request path based on the
* specific serviceimplementation and version.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -643,13 +652,19 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Lists information about the supported locations for this service.This method can be called in
* two ways:
* Lists information about the supported locations for this service.
*
* <p>This method lists locations based on the resource scope provided inthe
* [ListLocationsRequest.name][google.cloud.location.ListLocationsRequest.name] field:
* &#42;&#42;&#42;Global locations&#42;&#42;: If `name` is empty, the method lists thepublic
* locations available to all projects. &#42; &#42;&#42;Project-specificlocations&#42;&#42;: If
* `name` follows the format`projects/{project}`, the method lists locations visible to
* thatspecific project. This includes public, private, or otherproject-specific locations enabled
* for the project.
*
* <p>&#42; &#42;&#42;List all public locations:&#42;&#42; Use the path `GET /v1/locations`.&#42;
* &#42;&#42;List project-visible locations:&#42;&#42; Use the path`GET
* /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or
* other locations specifically visibleto the project.
* <p>For gRPC and client library implementations, the resource name ispassed as the `name` field.
* For direct service calls, the resourcename isincorporated into the request path based on the
* specific serviceimplementation and version.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -684,13 +699,19 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Lists information about the supported locations for this service.This method can be called in
* two ways:
*
* <p>&#42; &#42;&#42;List all public locations:&#42;&#42; Use the path `GET /v1/locations`.&#42;
* &#42;&#42;List project-visible locations:&#42;&#42; Use the path`GET
* /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or
* other locations specifically visibleto the project.
* Lists information about the supported locations for this service.
*
* <p>This method lists locations based on the resource scope provided inthe
* [ListLocationsRequest.name][google.cloud.location.ListLocationsRequest.name] field:
* &#42;&#42;&#42;Global locations&#42;&#42;: If `name` is empty, the method lists thepublic
* locations available to all projects. &#42; &#42;&#42;Project-specificlocations&#42;&#42;: If
* `name` follows the format`projects/{project}`, the method lists locations visible to
* thatspecific project. This includes public, private, or otherproject-specific locations enabled
* for the project.
*
* <p>For gRPC and client library implementations, the resource name ispassed as the `name` field.
* For direct service calls, the resourcename isincorporated into the request path based on the
* specific serviceimplementation and version.
*
* <p>Sample code:
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ public void verifyAttestationTest() throws Exception {
.setConfidentialSpaceInfo(ConfidentialSpaceInfo.newBuilder().build())
.setTokenOptions(TokenOptions.newBuilder().build())
.setAttester("attester542920370")
.setInstance(InstanceName.of("[PROJECT]", "[ZONE]", "[INSTANCE]").toString())
.build();

VerifyAttestationResponse actualResponse = client.verifyAttestation(request);
Expand Down Expand Up @@ -237,6 +238,7 @@ public void verifyAttestationExceptionTest() throws Exception {
.setConfidentialSpaceInfo(ConfidentialSpaceInfo.newBuilder().build())
.setTokenOptions(TokenOptions.newBuilder().build())
.setAttester("attester542920370")
.setInstance(InstanceName.of("[PROJECT]", "[ZONE]", "[INSTANCE]").toString())
.build();
client.verifyAttestation(request);
Assert.fail("No exception raised");
Expand Down
Loading
Loading