|
131 | 131 | * </tr> |
132 | 132 | * <tr> |
133 | 133 | * <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> * **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** 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: ***Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: 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> |
136 | 137 | * <td> |
137 | 138 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p> |
138 | 139 | * <ul> |
@@ -416,6 +417,7 @@ public final UnaryCallable<CreateChallengeRequest, Challenge> createChallengeCal |
416 | 417 | * .setConfidentialSpaceInfo(ConfidentialSpaceInfo.newBuilder().build()) |
417 | 418 | * .setTokenOptions(TokenOptions.newBuilder().build()) |
418 | 419 | * .setAttester("attester542920370") |
| 420 | + * .setInstance(InstanceName.of("[PROJECT]", "[ZONE]", "[INSTANCE]").toString()) |
419 | 421 | * .build(); |
420 | 422 | * VerifyAttestationResponse response = confidentialComputingClient.verifyAttestation(request); |
421 | 423 | * } |
@@ -450,6 +452,7 @@ public final VerifyAttestationResponse verifyAttestation(VerifyAttestationReques |
450 | 452 | * .setConfidentialSpaceInfo(ConfidentialSpaceInfo.newBuilder().build()) |
451 | 453 | * .setTokenOptions(TokenOptions.newBuilder().build()) |
452 | 454 | * .setAttester("attester542920370") |
| 455 | + * .setInstance(InstanceName.of("[PROJECT]", "[ZONE]", "[INSTANCE]").toString()) |
453 | 456 | * .build(); |
454 | 457 | * ApiFuture<VerifyAttestationResponse> future = |
455 | 458 | * confidentialComputingClient.verifyAttestationCallable().futureCall(request); |
@@ -603,13 +606,19 @@ public final VerifyConfidentialGkeResponse verifyConfidentialGke( |
603 | 606 |
|
604 | 607 | // AUTO-GENERATED DOCUMENTATION AND METHOD. |
605 | 608 | /** |
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. |
608 | 610 | * |
609 | | - * <p>* **List all public locations:** Use the path `GET /v1/locations`.* |
610 | | - * **List project-visible locations:** 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 | + * ***Global locations**: If `name` is empty, the method lists thepublic |
| 614 | + * locations available to all projects. * **Project-specificlocations**: 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. |
613 | 622 | * |
614 | 623 | * <p>Sample code: |
615 | 624 | * |
@@ -643,13 +652,19 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque |
643 | 652 |
|
644 | 653 | // AUTO-GENERATED DOCUMENTATION AND METHOD. |
645 | 654 | /** |
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 | + * ***Global locations**: If `name` is empty, the method lists thepublic |
| 660 | + * locations available to all projects. * **Project-specificlocations**: 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. |
648 | 664 | * |
649 | | - * <p>* **List all public locations:** Use the path `GET /v1/locations`.* |
650 | | - * **List project-visible locations:** 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. |
653 | 668 | * |
654 | 669 | * <p>Sample code: |
655 | 670 | * |
@@ -684,13 +699,19 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque |
684 | 699 |
|
685 | 700 | // AUTO-GENERATED DOCUMENTATION AND METHOD. |
686 | 701 | /** |
687 | | - * Lists information about the supported locations for this service.This method can be called in |
688 | | - * two ways: |
689 | | - * |
690 | | - * <p>* **List all public locations:** Use the path `GET /v1/locations`.* |
691 | | - * **List project-visible locations:** 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 | + * ***Global locations**: If `name` is empty, the method lists thepublic |
| 707 | + * locations available to all projects. * **Project-specificlocations**: 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. |
694 | 715 | * |
695 | 716 | * <p>Sample code: |
696 | 717 | * |
|
0 commit comments