|
2908 | 2908 | * </tr> |
2909 | 2909 | * <tr> |
2910 | 2910 | * <td><p> GetReportingIdentitySettings</td> |
2911 | | - * <td><p> Returns the singleton data retention settings for this property.</td> |
| 2911 | + * <td><p> Returns the reporting identity settings for this property.</td> |
2912 | 2912 | * <td> |
2913 | 2913 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p> |
2914 | 2914 | * <ul> |
|
2925 | 2925 | * </ul> |
2926 | 2926 | * </td> |
2927 | 2927 | * </tr> |
| 2928 | + * <tr> |
| 2929 | + * <td><p> GetUserProvidedDataSettings</td> |
| 2930 | + * <td><p> Looks up settings related to user-provided data for a property.</td> |
| 2931 | + * <td> |
| 2932 | + * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p> |
| 2933 | + * <ul> |
| 2934 | + * <li><p> getUserProvidedDataSettings(GetUserProvidedDataSettingsRequest request) |
| 2935 | + * </ul> |
| 2936 | + * <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p> |
| 2937 | + * <ul> |
| 2938 | + * <li><p> getUserProvidedDataSettings(UserProvidedDataSettingsName name) |
| 2939 | + * <li><p> getUserProvidedDataSettings(String name) |
| 2940 | + * </ul> |
| 2941 | + * <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> |
| 2942 | + * <ul> |
| 2943 | + * <li><p> getUserProvidedDataSettingsCallable() |
| 2944 | + * </ul> |
| 2945 | + * </td> |
| 2946 | + * </tr> |
2928 | 2947 | * </table> |
2929 | 2948 | * |
2930 | 2949 | * <p>See the individual methods for example code. |
@@ -22198,7 +22217,7 @@ public final SubpropertySyncConfig getSubpropertySyncConfig( |
22198 | 22217 |
|
22199 | 22218 | // AUTO-GENERATED DOCUMENTATION AND METHOD. |
22200 | 22219 | /** |
22201 | | - * Returns the singleton data retention settings for this property. |
| 22220 | + * Returns the reporting identity settings for this property. |
22202 | 22221 | * |
22203 | 22222 | * <p>Sample code: |
22204 | 22223 | * |
@@ -22232,7 +22251,7 @@ public final ReportingIdentitySettings getReportingIdentitySettings( |
22232 | 22251 |
|
22233 | 22252 | // AUTO-GENERATED DOCUMENTATION AND METHOD. |
22234 | 22253 | /** |
22235 | | - * Returns the singleton data retention settings for this property. |
| 22254 | + * Returns the reporting identity settings for this property. |
22236 | 22255 | * |
22237 | 22256 | * <p>Sample code: |
22238 | 22257 | * |
@@ -22263,7 +22282,7 @@ public final ReportingIdentitySettings getReportingIdentitySettings(String name) |
22263 | 22282 |
|
22264 | 22283 | // AUTO-GENERATED DOCUMENTATION AND METHOD. |
22265 | 22284 | /** |
22266 | | - * Returns the singleton data retention settings for this property. |
| 22285 | + * Returns the reporting identity settings for this property. |
22267 | 22286 | * |
22268 | 22287 | * <p>Sample code: |
22269 | 22288 | * |
@@ -22294,7 +22313,7 @@ public final ReportingIdentitySettings getReportingIdentitySettings( |
22294 | 22313 |
|
22295 | 22314 | // AUTO-GENERATED DOCUMENTATION AND METHOD. |
22296 | 22315 | /** |
22297 | | - * Returns the singleton data retention settings for this property. |
| 22316 | + * Returns the reporting identity settings for this property. |
22298 | 22317 | * |
22299 | 22318 | * <p>Sample code: |
22300 | 22319 | * |
@@ -22322,6 +22341,130 @@ public final ReportingIdentitySettings getReportingIdentitySettings( |
22322 | 22341 | return stub.getReportingIdentitySettingsCallable(); |
22323 | 22342 | } |
22324 | 22343 |
|
| 22344 | + // AUTO-GENERATED DOCUMENTATION AND METHOD. |
| 22345 | + /** |
| 22346 | + * Looks up settings related to user-provided data for a property. |
| 22347 | + * |
| 22348 | + * <p>Sample code: |
| 22349 | + * |
| 22350 | + * <pre>{@code |
| 22351 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 22352 | + * // It will require modifications to work: |
| 22353 | + * // - It may require correct/in-range values for request initialization. |
| 22354 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 22355 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
| 22356 | + * try (AnalyticsAdminServiceClient analyticsAdminServiceClient = |
| 22357 | + * AnalyticsAdminServiceClient.create()) { |
| 22358 | + * UserProvidedDataSettingsName name = UserProvidedDataSettingsName.of("[PROPERTY]"); |
| 22359 | + * UserProvidedDataSettings response = |
| 22360 | + * analyticsAdminServiceClient.getUserProvidedDataSettings(name); |
| 22361 | + * } |
| 22362 | + * }</pre> |
| 22363 | + * |
| 22364 | + * @param name Required. The name of the user provided data settings to retrieve. Format: |
| 22365 | + * properties/{property}/userProvidedDataSettings |
| 22366 | + * @throws com.google.api.gax.rpc.ApiException if the remote call fails |
| 22367 | + */ |
| 22368 | + public final UserProvidedDataSettings getUserProvidedDataSettings( |
| 22369 | + UserProvidedDataSettingsName name) { |
| 22370 | + GetUserProvidedDataSettingsRequest request = |
| 22371 | + GetUserProvidedDataSettingsRequest.newBuilder() |
| 22372 | + .setName(name == null ? null : name.toString()) |
| 22373 | + .build(); |
| 22374 | + return getUserProvidedDataSettings(request); |
| 22375 | + } |
| 22376 | + |
| 22377 | + // AUTO-GENERATED DOCUMENTATION AND METHOD. |
| 22378 | + /** |
| 22379 | + * Looks up settings related to user-provided data for a property. |
| 22380 | + * |
| 22381 | + * <p>Sample code: |
| 22382 | + * |
| 22383 | + * <pre>{@code |
| 22384 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 22385 | + * // It will require modifications to work: |
| 22386 | + * // - It may require correct/in-range values for request initialization. |
| 22387 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 22388 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
| 22389 | + * try (AnalyticsAdminServiceClient analyticsAdminServiceClient = |
| 22390 | + * AnalyticsAdminServiceClient.create()) { |
| 22391 | + * String name = UserProvidedDataSettingsName.of("[PROPERTY]").toString(); |
| 22392 | + * UserProvidedDataSettings response = |
| 22393 | + * analyticsAdminServiceClient.getUserProvidedDataSettings(name); |
| 22394 | + * } |
| 22395 | + * }</pre> |
| 22396 | + * |
| 22397 | + * @param name Required. The name of the user provided data settings to retrieve. Format: |
| 22398 | + * properties/{property}/userProvidedDataSettings |
| 22399 | + * @throws com.google.api.gax.rpc.ApiException if the remote call fails |
| 22400 | + */ |
| 22401 | + public final UserProvidedDataSettings getUserProvidedDataSettings(String name) { |
| 22402 | + GetUserProvidedDataSettingsRequest request = |
| 22403 | + GetUserProvidedDataSettingsRequest.newBuilder().setName(name).build(); |
| 22404 | + return getUserProvidedDataSettings(request); |
| 22405 | + } |
| 22406 | + |
| 22407 | + // AUTO-GENERATED DOCUMENTATION AND METHOD. |
| 22408 | + /** |
| 22409 | + * Looks up settings related to user-provided data for a property. |
| 22410 | + * |
| 22411 | + * <p>Sample code: |
| 22412 | + * |
| 22413 | + * <pre>{@code |
| 22414 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 22415 | + * // It will require modifications to work: |
| 22416 | + * // - It may require correct/in-range values for request initialization. |
| 22417 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 22418 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
| 22419 | + * try (AnalyticsAdminServiceClient analyticsAdminServiceClient = |
| 22420 | + * AnalyticsAdminServiceClient.create()) { |
| 22421 | + * GetUserProvidedDataSettingsRequest request = |
| 22422 | + * GetUserProvidedDataSettingsRequest.newBuilder() |
| 22423 | + * .setName(UserProvidedDataSettingsName.of("[PROPERTY]").toString()) |
| 22424 | + * .build(); |
| 22425 | + * UserProvidedDataSettings response = |
| 22426 | + * analyticsAdminServiceClient.getUserProvidedDataSettings(request); |
| 22427 | + * } |
| 22428 | + * }</pre> |
| 22429 | + * |
| 22430 | + * @param request The request object containing all of the parameters for the API call. |
| 22431 | + * @throws com.google.api.gax.rpc.ApiException if the remote call fails |
| 22432 | + */ |
| 22433 | + public final UserProvidedDataSettings getUserProvidedDataSettings( |
| 22434 | + GetUserProvidedDataSettingsRequest request) { |
| 22435 | + return getUserProvidedDataSettingsCallable().call(request); |
| 22436 | + } |
| 22437 | + |
| 22438 | + // AUTO-GENERATED DOCUMENTATION AND METHOD. |
| 22439 | + /** |
| 22440 | + * Looks up settings related to user-provided data for a property. |
| 22441 | + * |
| 22442 | + * <p>Sample code: |
| 22443 | + * |
| 22444 | + * <pre>{@code |
| 22445 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 22446 | + * // It will require modifications to work: |
| 22447 | + * // - It may require correct/in-range values for request initialization. |
| 22448 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 22449 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
| 22450 | + * try (AnalyticsAdminServiceClient analyticsAdminServiceClient = |
| 22451 | + * AnalyticsAdminServiceClient.create()) { |
| 22452 | + * GetUserProvidedDataSettingsRequest request = |
| 22453 | + * GetUserProvidedDataSettingsRequest.newBuilder() |
| 22454 | + * .setName(UserProvidedDataSettingsName.of("[PROPERTY]").toString()) |
| 22455 | + * .build(); |
| 22456 | + * ApiFuture<UserProvidedDataSettings> future = |
| 22457 | + * analyticsAdminServiceClient.getUserProvidedDataSettingsCallable().futureCall(request); |
| 22458 | + * // Do something. |
| 22459 | + * UserProvidedDataSettings response = future.get(); |
| 22460 | + * } |
| 22461 | + * }</pre> |
| 22462 | + */ |
| 22463 | + public final UnaryCallable<GetUserProvidedDataSettingsRequest, UserProvidedDataSettings> |
| 22464 | + getUserProvidedDataSettingsCallable() { |
| 22465 | + return stub.getUserProvidedDataSettingsCallable(); |
| 22466 | + } |
| 22467 | + |
22325 | 22468 | @Override |
22326 | 22469 | public final void close() { |
22327 | 22470 | stub.close(); |
|
0 commit comments