Skip to content

Commit 134b78e

Browse files
chore: update googleapis commitish to 00bb3db (#13410)
This pull request is generated with proto changes between [googleapis/googleapis@05c4b6d](googleapis/googleapis@05c4b6d) (exclusive) and [googleapis/googleapis@00bb3db](googleapis/googleapis@00bb3db) (inclusive). BEGIN_COMMIT_OVERRIDE BEGIN_NESTED_COMMIT feat: [confidentialcomputing] add instance field to VerifyAttestationRequest PiperOrigin-RevId: 929538916 Source Link: [googleapis/googleapis@00bb3db](googleapis/googleapis@00bb3db) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [alloydb] add POSTGRES_18 to supported database versions PiperOrigin-RevId: 929464697 Source Link: [googleapis/googleapis@08f4bdd](googleapis/googleapis@08f4bdd) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [firestore] expose the 'auto_commit_transaction' option for the ExecutePipeline API feat: [firestore] expose the 'concurrency_mode' option for the Cloud Firestore API chore: [firestore] Firestore.executePipeline to not retry on `DEADLINE_EXCEEDED` docs: [firestore] A comment for message `TransactionOptions` is changed to better detail the new 'concurrency_mode' option. docs: [firestore] A comment for field `parent` in message `.google.firestore.v1.ListCollectionIdsRequest` is changed to describe how to list top-level collections. docs: [firestore] A comment for field `order_by` in message `.google.firestore.v1.StructuredQuery` is updated to describe default behavior for ENTERPRISE edition databases PiperOrigin-RevId: 929318392 Source Link: [googleapis/googleapis@465f309](googleapis/googleapis@465f309) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [modelarmor] add streaming methods StreamSanitizeUserPrompt and StreamSanitizeModelResponse feat: [modelarmor] add StreamingMode enum and field to sanitize requests PiperOrigin-RevId: 929062585 Source Link: [googleapis/googleapis@591ae02](googleapis/googleapis@591ae02) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [oracledatabase] add v1 client libraries for Oracle Database Goldengate PiperOrigin-RevId: 928949466 Source Link: [googleapis/googleapis@7131ffe](googleapis/googleapis@7131ffe) END_NESTED_COMMIT END_COMMIT_OVERRIDE
1 parent db22477 commit 134b78e

440 files changed

Lines changed: 252006 additions & 5611 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

generation_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
googleapis_commitish: 05c4b6d37258ab81054529451cdf804f2918441f
1+
googleapis_commitish: 00bb3db8a8cc88f0755e872856462b902d6dd8c4
22
libraries_bom_version: 26.83.0
33
is_monorepo: true
44
libraries:

java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Cluster.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6627,7 +6627,7 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConf
66276627
* </code>
66286628
*
66296629
* @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See
6630-
* google/cloud/alloydb/v1/resources.proto;l=682
6630+
* google/cloud/alloydb/v1/resources.proto;l=687
66316631
* @return The network.
66326632
*/
66336633
@java.lang.Override
@@ -6660,7 +6660,7 @@ public java.lang.String getNetwork() {
66606660
* </code>
66616661
*
66626662
* @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See
6663-
* google/cloud/alloydb/v1/resources.proto;l=682
6663+
* google/cloud/alloydb/v1/resources.proto;l=687
66646664
* @return The bytes for network.
66656665
*/
66666666
@java.lang.Override
@@ -7016,7 +7016,7 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy getAutomatedBackupPolic
70167016
* <code>.google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true];</code>
70177017
*
70187018
* @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See
7019-
* google/cloud/alloydb/v1/resources.proto;l=717
7019+
* google/cloud/alloydb/v1/resources.proto;l=722
70207020
* @return Whether the sslConfig field is set.
70217021
*/
70227022
@java.lang.Override
@@ -7035,7 +7035,7 @@ public boolean hasSslConfig() {
70357035
* <code>.google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true];</code>
70367036
*
70377037
* @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See
7038-
* google/cloud/alloydb/v1/resources.proto;l=717
7038+
* google/cloud/alloydb/v1/resources.proto;l=722
70397039
* @return The sslConfig.
70407040
*/
70417041
@java.lang.Override
@@ -11812,7 +11812,7 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConf
1181211812
* </code>
1181311813
*
1181411814
* @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See
11815-
* google/cloud/alloydb/v1/resources.proto;l=682
11815+
* google/cloud/alloydb/v1/resources.proto;l=687
1181611816
* @return The network.
1181711817
*/
1181811818
@java.lang.Deprecated
@@ -11844,7 +11844,7 @@ public java.lang.String getNetwork() {
1184411844
* </code>
1184511845
*
1184611846
* @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See
11847-
* google/cloud/alloydb/v1/resources.proto;l=682
11847+
* google/cloud/alloydb/v1/resources.proto;l=687
1184811848
* @return The bytes for network.
1184911849
*/
1185011850
@java.lang.Deprecated
@@ -11876,7 +11876,7 @@ public com.google.protobuf.ByteString getNetworkBytes() {
1187611876
* </code>
1187711877
*
1187811878
* @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See
11879-
* google/cloud/alloydb/v1/resources.proto;l=682
11879+
* google/cloud/alloydb/v1/resources.proto;l=687
1188011880
* @param value The network to set.
1188111881
* @return This builder for chaining.
1188211882
*/
@@ -11907,7 +11907,7 @@ public Builder setNetwork(java.lang.String value) {
1190711907
* </code>
1190811908
*
1190911909
* @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See
11910-
* google/cloud/alloydb/v1/resources.proto;l=682
11910+
* google/cloud/alloydb/v1/resources.proto;l=687
1191111911
* @return This builder for chaining.
1191211912
*/
1191311913
@java.lang.Deprecated
@@ -11934,7 +11934,7 @@ public Builder clearNetwork() {
1193411934
* </code>
1193511935
*
1193611936
* @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See
11937-
* google/cloud/alloydb/v1/resources.proto;l=682
11937+
* google/cloud/alloydb/v1/resources.proto;l=687
1193811938
* @param value The bytes for network to set.
1193911939
* @return This builder for chaining.
1194011940
*/
@@ -12811,7 +12811,7 @@ public Builder clearAutomatedBackupPolicy() {
1281112811
* <code>.google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true];</code>
1281212812
*
1281312813
* @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See
12814-
* google/cloud/alloydb/v1/resources.proto;l=717
12814+
* google/cloud/alloydb/v1/resources.proto;l=722
1281512815
* @return Whether the sslConfig field is set.
1281612816
*/
1281712817
@java.lang.Deprecated
@@ -12829,7 +12829,7 @@ public boolean hasSslConfig() {
1282912829
* <code>.google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true];</code>
1283012830
*
1283112831
* @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See
12832-
* google/cloud/alloydb/v1/resources.proto;l=717
12832+
* google/cloud/alloydb/v1/resources.proto;l=722
1283312833
* @return The sslConfig.
1283412834
*/
1283512835
@java.lang.Deprecated

java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterOrBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ java.lang.String getLabelsOrDefault(
572572
* </code>
573573
*
574574
* @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See
575-
* google/cloud/alloydb/v1/resources.proto;l=682
575+
* google/cloud/alloydb/v1/resources.proto;l=687
576576
* @return The network.
577577
*/
578578
@java.lang.Deprecated
@@ -594,7 +594,7 @@ java.lang.String getLabelsOrDefault(
594594
* </code>
595595
*
596596
* @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See
597-
* google/cloud/alloydb/v1/resources.proto;l=682
597+
* google/cloud/alloydb/v1/resources.proto;l=687
598598
* @return The bytes for network.
599599
*/
600600
@java.lang.Deprecated
@@ -827,7 +827,7 @@ java.lang.String getAnnotationsOrDefault(
827827
* <code>.google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true];</code>
828828
*
829829
* @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See
830-
* google/cloud/alloydb/v1/resources.proto;l=717
830+
* google/cloud/alloydb/v1/resources.proto;l=722
831831
* @return Whether the sslConfig field is set.
832832
*/
833833
@java.lang.Deprecated
@@ -843,7 +843,7 @@ java.lang.String getAnnotationsOrDefault(
843843
* <code>.google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true];</code>
844844
*
845845
* @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See
846-
* google/cloud/alloydb/v1/resources.proto;l=717
846+
* google/cloud/alloydb/v1/resources.proto;l=722
847847
* @return The sslConfig.
848848
*/
849849
@java.lang.Deprecated

java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DatabaseVersion.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,16 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum {
9292
* <code>POSTGRES_17 = 5;</code>
9393
*/
9494
POSTGRES_17(5),
95+
/**
96+
*
97+
*
98+
* <pre>
99+
* The database version is Postgres 18.
100+
* </pre>
101+
*
102+
* <code>POSTGRES_18 = 6;</code>
103+
*/
104+
POSTGRES_18(6),
95105
UNRECOGNIZED(-1),
96106
;
97107

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

184+
/**
185+
*
186+
*
187+
* <pre>
188+
* The database version is Postgres 18.
189+
* </pre>
190+
*
191+
* <code>POSTGRES_18 = 6;</code>
192+
*/
193+
public static final int POSTGRES_18_VALUE = 6;
194+
174195
public final int getNumber() {
175196
if (this == UNRECOGNIZED) {
176197
throw new java.lang.IllegalArgumentException(
@@ -207,6 +228,8 @@ public static DatabaseVersion forNumber(int value) {
207228
return POSTGRES_16;
208229
case 5:
209230
return POSTGRES_17;
231+
case 6:
232+
return POSTGRES_18;
210233
default:
211234
return null;
212235
}

java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ResourcesProto.java

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -793,34 +793,36 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
793793
+ "\013ClusterView\022\034\n"
794794
+ "\030CLUSTER_VIEW_UNSPECIFIED\020\000\022\026\n"
795795
+ "\022CLUSTER_VIEW_BASIC\020\001\022\"\n"
796-
+ "\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020\002*\214\001\n"
796+
+ "\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020\002*\235\001\n"
797797
+ "\017DatabaseVersion\022 \n"
798798
+ "\034DATABASE_VERSION_UNSPECIFIED\020\000\022\023\n"
799799
+ "\013POSTGRES_13\020\001\032\002\010\001\022\017\n"
800800
+ "\013POSTGRES_14\020\002\022\017\n"
801801
+ "\013POSTGRES_15\020\003\022\017\n"
802802
+ "\013POSTGRES_16\020\004\022\017\n"
803-
+ "\013POSTGRES_17\020\005*N\n"
803+
+ "\013POSTGRES_17\020\005\022\017\n"
804+
+ "\013POSTGRES_18\020\006*N\n"
804805
+ "\020SubscriptionType\022!\n"
805806
+ "\035SUBSCRIPTION_TYPE_UNSPECIFIED\020\000\022\014\n"
806807
+ "\010STANDARD\020\001\022\t\n"
807808
+ "\005TRIAL\020\002B\247\005\n"
808-
+ "\033com.google.cloud.alloydb.v1B\016ResourcesProtoP\001Z5cloud.google.com/go/allo"
809-
+ "ydb/apiv1/alloydbpb;alloydbpb\252\002\027Google.C"
810-
+ "loud.AlloyDb.V1\312\002\027Google\\Cloud\\AlloyDb\\V1\352\002\032Google::Cloud::AlloyDB::V1\352A\246\001\n"
811-
+ "(cloudkms.googleapis.com/CryptoKeyVersion\022zpr",
812-
"ojects/{project}/locations/{location}/ke"
813-
+ "yRings/{key_ring}/cryptoKeys/{crypto_key"
814-
+ "}/cryptoKeyVersions/{crypto_key_version}"
815-
+ "\352AN\n\036compute.googleapis.com/Network\022,pro"
816-
+ "jects/{project}/global/networks/{network"
817-
+ "}\352Ax\n!cloudkms.googleapis.com/CryptoKey\022"
818-
+ "Sprojects/{project}/locations/{location}"
819-
+ "/keyRings/{key_ring}/cryptoKeys/{crypto_"
820-
+ "key}\352Aw\n(compute.googleapis.com/ServiceA"
821-
+ "ttachment\022Kprojects/{project}/regions/{r"
822-
+ "egion}/serviceAttachments/{service_attac"
823-
+ "hment}b\006proto3"
809+
+ "\033com.google.cloud.alloydb.v1B\016ResourcesProtoP\001Z5cloud.g"
810+
+ "oogle.com/go/alloydb/apiv1/alloydbpb;all"
811+
+ "oydbpb\252\002\027Google.Cloud.AlloyDb.V1\312\002\027Googl"
812+
+ "e\\Cloud\\AlloyDb\\V1\352\002\032Google::Cloud::AlloyDB::V1\352A\246\001\n"
813+
+ "(cloudkms.googleapis.com/Cry",
814+
"ptoKeyVersion\022zprojects/{project}/locati"
815+
+ "ons/{location}/keyRings/{key_ring}/crypt"
816+
+ "oKeys/{crypto_key}/cryptoKeyVersions/{cr"
817+
+ "ypto_key_version}\352AN\n\036compute.googleapis"
818+
+ ".com/Network\022,projects/{project}/global/"
819+
+ "networks/{network}\352Ax\n!cloudkms.googleap"
820+
+ "is.com/CryptoKey\022Sprojects/{project}/loc"
821+
+ "ations/{location}/keyRings/{key_ring}/cr"
822+
+ "yptoKeys/{crypto_key}\352Aw\n(compute.google"
823+
+ "apis.com/ServiceAttachment\022Kprojects/{pr"
824+
+ "oject}/regions/{region}/serviceAttachmen"
825+
+ "ts/{service_attachment}b\006proto3"
824826
};
825827
descriptor =
826828
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(

java-alloydb/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/resources.proto

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
// LINT: LEGACY_NAMES
1415

1516
syntax = "proto3";
1617

@@ -103,6 +104,10 @@ enum DatabaseVersion {
103104

104105
// The database version is Postgres 17.
105106
POSTGRES_17 = 5;
107+
108+
// The database version is Postgres 18.
109+
POSTGRES_18 = 6;
110+
106111
}
107112

108113
// Subscription_type added to distinguish between Standard and Trial

java-confidentialcomputing/google-cloud-confidentialcomputing/src/main/java/com/google/cloud/confidentialcomputing/v1/ConfidentialComputingClient.java

Lines changed: 42 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,9 @@
131131
* </tr>
132132
* <tr>
133133
* <td><p> ListLocations</td>
134-
* <td><p> Lists information about the supported locations for this service.This method can be called in two ways:
135-
* <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>
134+
* <td><p> Lists information about the supported locations for this service.
135+
* <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.
136+
* <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>
136137
* <td>
137138
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
138139
* <ul>
@@ -416,6 +417,7 @@ public final UnaryCallable<CreateChallengeRequest, Challenge> createChallengeCal
416417
* .setConfidentialSpaceInfo(ConfidentialSpaceInfo.newBuilder().build())
417418
* .setTokenOptions(TokenOptions.newBuilder().build())
418419
* .setAttester("attester542920370")
420+
* .setInstance(InstanceName.of("[PROJECT]", "[ZONE]", "[INSTANCE]").toString())
419421
* .build();
420422
* VerifyAttestationResponse response = confidentialComputingClient.verifyAttestation(request);
421423
* }
@@ -450,6 +452,7 @@ public final VerifyAttestationResponse verifyAttestation(VerifyAttestationReques
450452
* .setConfidentialSpaceInfo(ConfidentialSpaceInfo.newBuilder().build())
451453
* .setTokenOptions(TokenOptions.newBuilder().build())
452454
* .setAttester("attester542920370")
455+
* .setInstance(InstanceName.of("[PROJECT]", "[ZONE]", "[INSTANCE]").toString())
453456
* .build();
454457
* ApiFuture<VerifyAttestationResponse> future =
455458
* confidentialComputingClient.verifyAttestationCallable().futureCall(request);
@@ -603,13 +606,19 @@ public final VerifyConfidentialGkeResponse verifyConfidentialGke(
603606

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

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

685700
// AUTO-GENERATED DOCUMENTATION AND METHOD.
686701
/**
687-
* Lists information about the supported locations for this service.This method can be called in
688-
* two ways:
689-
*
690-
* <p>&#42; &#42;&#42;List all public locations:&#42;&#42; Use the path `GET /v1/locations`.&#42;
691-
* &#42;&#42;List project-visible locations:&#42;&#42; Use the path`GET
692-
* /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or
693-
* other locations specifically visibleto the project.
702+
* Lists information about the supported locations for this service.
703+
*
704+
* <p>This method lists locations based on the resource scope provided inthe
705+
* [ListLocationsRequest.name][google.cloud.location.ListLocationsRequest.name] field:
706+
* &#42;&#42;&#42;Global locations&#42;&#42;: If `name` is empty, the method lists thepublic
707+
* locations available to all projects. &#42; &#42;&#42;Project-specificlocations&#42;&#42;: If
708+
* `name` follows the format`projects/{project}`, the method lists locations visible to
709+
* thatspecific project. This includes public, private, or otherproject-specific locations enabled
710+
* for the project.
711+
*
712+
* <p>For gRPC and client library implementations, the resource name ispassed as the `name` field.
713+
* For direct service calls, the resourcename isincorporated into the request path based on the
714+
* specific serviceimplementation and version.
694715
*
695716
* <p>Sample code:
696717
*

java-confidentialcomputing/google-cloud-confidentialcomputing/src/test/java/com/google/cloud/confidentialcomputing/v1/ConfidentialComputingClientHttpJsonTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ public void verifyAttestationTest() throws Exception {
201201
.setConfidentialSpaceInfo(ConfidentialSpaceInfo.newBuilder().build())
202202
.setTokenOptions(TokenOptions.newBuilder().build())
203203
.setAttester("attester542920370")
204+
.setInstance(InstanceName.of("[PROJECT]", "[ZONE]", "[INSTANCE]").toString())
204205
.build();
205206

206207
VerifyAttestationResponse actualResponse = client.verifyAttestation(request);
@@ -237,6 +238,7 @@ public void verifyAttestationExceptionTest() throws Exception {
237238
.setConfidentialSpaceInfo(ConfidentialSpaceInfo.newBuilder().build())
238239
.setTokenOptions(TokenOptions.newBuilder().build())
239240
.setAttester("attester542920370")
241+
.setInstance(InstanceName.of("[PROJECT]", "[ZONE]", "[INSTANCE]").toString())
240242
.build();
241243
client.verifyAttestation(request);
242244
Assert.fail("No exception raised");

0 commit comments

Comments
 (0)