|
484 | 484 | * </td> |
485 | 485 | * </tr> |
486 | 486 | * <tr> |
| 487 | + * <td><p> ModifyEntry</td> |
| 488 | + * <td><p> Modifies an entry using the permission on the source system.</td> |
| 489 | + * <td> |
| 490 | + * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p> |
| 491 | + * <ul> |
| 492 | + * <li><p> modifyEntry(ModifyEntryRequest request) |
| 493 | + * </ul> |
| 494 | + * <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p> |
| 495 | + * <ul> |
| 496 | + * <li><p> modifyEntryCallable() |
| 497 | + * </ul> |
| 498 | + * </td> |
| 499 | + * </tr> |
| 500 | + * <tr> |
487 | 501 | * <td><p> SearchEntries</td> |
488 | 502 | * <td><p> Searches for Entries matching the given query and scope.</td> |
489 | 503 | * <td> |
|
786 | 800 | * </tr> |
787 | 801 | * <tr> |
788 | 802 | * <td><p> ListLocations</td> |
789 | | - * <td><p> Lists information about the supported locations for this service.This method can be called in two ways: |
790 | | - * <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> |
| 803 | + * <td><p> Lists information about the supported locations for this service. |
| 804 | + * <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. |
| 805 | + * <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> |
791 | 806 | * <td> |
792 | 807 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p> |
793 | 808 | * <ul> |
@@ -3881,6 +3896,69 @@ public final UnaryCallable<LookupEntryRequest, Entry> lookupEntryCallable() { |
3881 | 3896 | return stub.lookupEntryCallable(); |
3882 | 3897 | } |
3883 | 3898 |
|
| 3899 | + // AUTO-GENERATED DOCUMENTATION AND METHOD. |
| 3900 | + /** |
| 3901 | + * Modifies an entry using the permission on the source system. |
| 3902 | + * |
| 3903 | + * <p>Sample code: |
| 3904 | + * |
| 3905 | + * <pre>{@code |
| 3906 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 3907 | + * // It will require modifications to work: |
| 3908 | + * // - It may require correct/in-range values for request initialization. |
| 3909 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 3910 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
| 3911 | + * try (CatalogServiceClient catalogServiceClient = CatalogServiceClient.create()) { |
| 3912 | + * ModifyEntryRequest request = |
| 3913 | + * ModifyEntryRequest.newBuilder() |
| 3914 | + * .setName("name3373707") |
| 3915 | + * .setEntry(Entry.newBuilder().build()) |
| 3916 | + * .setUpdateMask(FieldMask.newBuilder().build()) |
| 3917 | + * .setDeleteMissingAspects(true) |
| 3918 | + * .addAllAspectKeys(new ArrayList<String>()) |
| 3919 | + * .build(); |
| 3920 | + * Entry response = catalogServiceClient.modifyEntry(request); |
| 3921 | + * } |
| 3922 | + * }</pre> |
| 3923 | + * |
| 3924 | + * @param request The request object containing all of the parameters for the API call. |
| 3925 | + * @throws com.google.api.gax.rpc.ApiException if the remote call fails |
| 3926 | + */ |
| 3927 | + public final Entry modifyEntry(ModifyEntryRequest request) { |
| 3928 | + return modifyEntryCallable().call(request); |
| 3929 | + } |
| 3930 | + |
| 3931 | + // AUTO-GENERATED DOCUMENTATION AND METHOD. |
| 3932 | + /** |
| 3933 | + * Modifies an entry using the permission on the source system. |
| 3934 | + * |
| 3935 | + * <p>Sample code: |
| 3936 | + * |
| 3937 | + * <pre>{@code |
| 3938 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 3939 | + * // It will require modifications to work: |
| 3940 | + * // - It may require correct/in-range values for request initialization. |
| 3941 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 3942 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
| 3943 | + * try (CatalogServiceClient catalogServiceClient = CatalogServiceClient.create()) { |
| 3944 | + * ModifyEntryRequest request = |
| 3945 | + * ModifyEntryRequest.newBuilder() |
| 3946 | + * .setName("name3373707") |
| 3947 | + * .setEntry(Entry.newBuilder().build()) |
| 3948 | + * .setUpdateMask(FieldMask.newBuilder().build()) |
| 3949 | + * .setDeleteMissingAspects(true) |
| 3950 | + * .addAllAspectKeys(new ArrayList<String>()) |
| 3951 | + * .build(); |
| 3952 | + * ApiFuture<Entry> future = catalogServiceClient.modifyEntryCallable().futureCall(request); |
| 3953 | + * // Do something. |
| 3954 | + * Entry response = future.get(); |
| 3955 | + * } |
| 3956 | + * }</pre> |
| 3957 | + */ |
| 3958 | + public final UnaryCallable<ModifyEntryRequest, Entry> modifyEntryCallable() { |
| 3959 | + return stub.modifyEntryCallable(); |
| 3960 | + } |
| 3961 | + |
3884 | 3962 | // AUTO-GENERATED DOCUMENTATION AND METHOD. |
3885 | 3963 | /** |
3886 | 3964 | * Searches for Entries matching the given query and scope. |
@@ -5144,6 +5222,7 @@ public final LookupEntryLinksPagedResponse lookupEntryLinks(LookupEntryLinksRequ |
5144 | 5222 | * LookupContextRequest.newBuilder() |
5145 | 5223 | * .setName("name3373707") |
5146 | 5224 | * .addAllResources(new ArrayList<String>()) |
| 5225 | + * .setContext("context951530927") |
5147 | 5226 | * .putAllOptions(new HashMap<String, String>()) |
5148 | 5227 | * .build(); |
5149 | 5228 | * LookupContextResponse response = catalogServiceClient.lookupContext(request); |
@@ -5174,6 +5253,7 @@ public final LookupContextResponse lookupContext(LookupContextRequest request) { |
5174 | 5253 | * LookupContextRequest.newBuilder() |
5175 | 5254 | * .setName("name3373707") |
5176 | 5255 | * .addAllResources(new ArrayList<String>()) |
| 5256 | + * .setContext("context951530927") |
5177 | 5257 | * .putAllOptions(new HashMap<String, String>()) |
5178 | 5258 | * .build(); |
5179 | 5259 | * ApiFuture<LookupContextResponse> future = |
@@ -6034,13 +6114,19 @@ public final UnaryCallable<UpdateMetadataFeedRequest, Operation> updateMetadataF |
6034 | 6114 |
|
6035 | 6115 | // AUTO-GENERATED DOCUMENTATION AND METHOD. |
6036 | 6116 | /** |
6037 | | - * Lists information about the supported locations for this service.This method can be called in |
6038 | | - * two ways: |
| 6117 | + * Lists information about the supported locations for this service. |
| 6118 | + * |
| 6119 | + * <p>This method lists locations based on the resource scope provided inthe |
| 6120 | + * [ListLocationsRequest.name][google.cloud.location.ListLocationsRequest.name] field: |
| 6121 | + * ***Global locations**: If `name` is empty, the method lists thepublic |
| 6122 | + * locations available to all projects. * **Project-specificlocations**: If |
| 6123 | + * `name` follows the format`projects/{project}`, the method lists locations visible to |
| 6124 | + * thatspecific project. This includes public, private, or otherproject-specific locations enabled |
| 6125 | + * for the project. |
6039 | 6126 | * |
6040 | | - * <p>* **List all public locations:** Use the path `GET /v1/locations`.* |
6041 | | - * **List project-visible locations:** Use the path`GET |
6042 | | - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or |
6043 | | - * other locations specifically visibleto the project. |
| 6127 | + * <p>For gRPC and client library implementations, the resource name ispassed as the `name` field. |
| 6128 | + * For direct service calls, the resourcename isincorporated into the request path based on the |
| 6129 | + * specific serviceimplementation and version. |
6044 | 6130 | * |
6045 | 6131 | * <p>Sample code: |
6046 | 6132 | * |
@@ -6073,13 +6159,19 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque |
6073 | 6159 |
|
6074 | 6160 | // AUTO-GENERATED DOCUMENTATION AND METHOD. |
6075 | 6161 | /** |
6076 | | - * Lists information about the supported locations for this service.This method can be called in |
6077 | | - * two ways: |
| 6162 | + * Lists information about the supported locations for this service. |
6078 | 6163 | * |
6079 | | - * <p>* **List all public locations:** Use the path `GET /v1/locations`.* |
6080 | | - * **List project-visible locations:** Use the path`GET |
6081 | | - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or |
6082 | | - * other locations specifically visibleto the project. |
| 6164 | + * <p>This method lists locations based on the resource scope provided inthe |
| 6165 | + * [ListLocationsRequest.name][google.cloud.location.ListLocationsRequest.name] field: |
| 6166 | + * ***Global locations**: If `name` is empty, the method lists thepublic |
| 6167 | + * locations available to all projects. * **Project-specificlocations**: If |
| 6168 | + * `name` follows the format`projects/{project}`, the method lists locations visible to |
| 6169 | + * thatspecific project. This includes public, private, or otherproject-specific locations enabled |
| 6170 | + * for the project. |
| 6171 | + * |
| 6172 | + * <p>For gRPC and client library implementations, the resource name ispassed as the `name` field. |
| 6173 | + * For direct service calls, the resourcename isincorporated into the request path based on the |
| 6174 | + * specific serviceimplementation and version. |
6083 | 6175 | * |
6084 | 6176 | * <p>Sample code: |
6085 | 6177 | * |
@@ -6113,13 +6205,19 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque |
6113 | 6205 |
|
6114 | 6206 | // AUTO-GENERATED DOCUMENTATION AND METHOD. |
6115 | 6207 | /** |
6116 | | - * Lists information about the supported locations for this service.This method can be called in |
6117 | | - * two ways: |
| 6208 | + * Lists information about the supported locations for this service. |
| 6209 | + * |
| 6210 | + * <p>This method lists locations based on the resource scope provided inthe |
| 6211 | + * [ListLocationsRequest.name][google.cloud.location.ListLocationsRequest.name] field: |
| 6212 | + * ***Global locations**: If `name` is empty, the method lists thepublic |
| 6213 | + * locations available to all projects. * **Project-specificlocations**: If |
| 6214 | + * `name` follows the format`projects/{project}`, the method lists locations visible to |
| 6215 | + * thatspecific project. This includes public, private, or otherproject-specific locations enabled |
| 6216 | + * for the project. |
6118 | 6217 | * |
6119 | | - * <p>* **List all public locations:** Use the path `GET /v1/locations`.* |
6120 | | - * **List project-visible locations:** Use the path`GET |
6121 | | - * /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or |
6122 | | - * other locations specifically visibleto the project. |
| 6218 | + * <p>For gRPC and client library implementations, the resource name ispassed as the `name` field. |
| 6219 | + * For direct service calls, the resourcename isincorporated into the request path based on the |
| 6220 | + * specific serviceimplementation and version. |
6123 | 6221 | * |
6124 | 6222 | * <p>Sample code: |
6125 | 6223 | * |
|
0 commit comments