Skip to content

Commit 7044b6c

Browse files
feat: [aiplatform] add disable_container_logging to BatchPredictionJob in aiplatform v1,v1beta1 batch_prediction_job.proto (#9184)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 513711185 Source-Link: https://togithub.com/googleapis/googleapis/commit/4a6262fbc835a4937d1246a925e88547a4bfc1f3 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/e1c1bb65dd0beb795343d0bb9678d5f25658a692 Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiJlMWMxYmI2NWRkMGJlYjc5NTM0M2QwYmI5Njc4ZDVmMjU2NThhNjkyIn0= BEGIN_NESTED_COMMIT feat: [aiplatform] add TPU_V4_POD to AcceleratorType in aiplatform v1 accelerator_type.proto feat: add split to ExportDataConfig in aiplatform v1 dataset.proto feat: add offline_storage_ttl_days to EntityType in aiplatform v1 entity_type.proto feat: add evaluated_annotation.proto to aiplatform v1 feat: add cpu_utilization_target to Featurestore.OnlineServingConfig.Scaling in aiplatform v1 featurestore.proto feat: add online_storage_ttl_days to Featurestore in aiplatform v1 featurestore.proto feat: add slice_spec to ModelEvaluationSlice in aiplatform v1 model_evaluation_slice.proto feat: add BatchImportEvaluatedAnnotations rpc to aiplatform v1 model_service.proto PiperOrigin-RevId: 513671267 Source-Link: https://togithub.com/googleapis/googleapis/commit/daccff8b0feca06e4b380966d65db78b6e53e917 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/9ff0226910f2166a60bb920219dc77e6be70bd5c Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiI5ZmYwMjI2OTEwZjIxNjZhNjBiYjkyMDIxOWRjNzdlNmJlNzBiZDVjIn0= END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [aiplatform] add TPU_V4_POD to AcceleratorType in aiplatform v1beta1 accelerator_type.proto feat: add split to ExportDataConfig in aiplatform v1beta1 dataset.proto feat: add evaluated_annotation.proto to aiplatform v1beta1 feat: add cpu_utilization_target to Featurestore.OnlineServingConfig.Scaling in aiplatform v1beta1 featurestore.proto feat: add large_model_reference to Model in aiplatform v1beta1 model.proto feat: add slice_spec to ModelEvaluationSlice in aiplatform v1beta1 model_evaluation_slice.proto feat: add BatchImportEvaluatedAnnotations rpc to aiplatform v1beta1 model_service.proto docs: deprecated enable_restricted_image_training in NasJob in aiplatform v1beta1 nas_job.proto PiperOrigin-RevId: 513669538 Source-Link: https://togithub.com/googleapis/googleapis/commit/01293cf2c0b8f25fb7feb06e33947b5a581adbb5 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/b79c29acef2e53d3c513c51b64e9b759a6ce5233 Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiJiNzljMjlhY2VmMmU1M2QzYzUxM2M1MWI2NGU5Yjc1OWE2Y2U1MjMzIn0= END_NESTED_COMMIT
1 parent aa813d5 commit 7044b6c

File tree

194 files changed

+55398
-5154
lines changed

Some content is hidden

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

194 files changed

+55398
-5154
lines changed

java-aiplatform/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Java idiomatic client for [Vertex AI][product-docs].
1414

1515
If you are using Maven, add this to your pom.xml file:
1616

17-
<!--- {x-version-update-start:google-cloud-aiplatform:released} -->
1817

1918
```xml
2019
<dependency>
@@ -35,7 +34,6 @@ If you are using SBT, add this to your dependencies:
3534
```Scala
3635
libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "3.13.0"
3736
```
38-
<!--- {x-version-update-end} -->
3937

4038
## Authentication
4139

java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClient.java

Lines changed: 203 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3575,6 +3575,209 @@ public final UnaryCallable<ExportFeatureValuesRequest, Operation> exportFeatureV
35753575
return stub.exportFeatureValuesCallable();
35763576
}
35773577

3578+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
3579+
/**
3580+
* Delete Feature values from Featurestore.
3581+
*
3582+
* <p>The progress of the deletion is tracked by the returned operation. The deleted feature
3583+
* values are guaranteed to be invisible to subsequent read operations after the operation is
3584+
* marked as successfully done.
3585+
*
3586+
* <p>If a delete feature values operation fails, the feature values returned from reads and
3587+
* exports may be inconsistent. If consistency is required, the caller must retry the same delete
3588+
* request again and wait till the new operation returned is marked as successfully done.
3589+
*
3590+
* <p>Sample code:
3591+
*
3592+
* <pre>{@code
3593+
* // This snippet has been automatically generated and should be regarded as a code template only.
3594+
* // It will require modifications to work:
3595+
* // - It may require correct/in-range values for request initialization.
3596+
* // - It may require specifying regional endpoints when creating the service client as shown in
3597+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3598+
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
3599+
* EntityTypeName entityType =
3600+
* EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
3601+
* DeleteFeatureValuesResponse response =
3602+
* featurestoreServiceClient.deleteFeatureValuesAsync(entityType).get();
3603+
* }
3604+
* }</pre>
3605+
*
3606+
* @param entityType Required. The resource name of the EntityType grouping the Features for which
3607+
* values are being deleted from. Format:
3608+
* `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
3609+
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
3610+
*/
3611+
public final OperationFuture<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata>
3612+
deleteFeatureValuesAsync(EntityTypeName entityType) {
3613+
DeleteFeatureValuesRequest request =
3614+
DeleteFeatureValuesRequest.newBuilder()
3615+
.setEntityType(entityType == null ? null : entityType.toString())
3616+
.build();
3617+
return deleteFeatureValuesAsync(request);
3618+
}
3619+
3620+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
3621+
/**
3622+
* Delete Feature values from Featurestore.
3623+
*
3624+
* <p>The progress of the deletion is tracked by the returned operation. The deleted feature
3625+
* values are guaranteed to be invisible to subsequent read operations after the operation is
3626+
* marked as successfully done.
3627+
*
3628+
* <p>If a delete feature values operation fails, the feature values returned from reads and
3629+
* exports may be inconsistent. If consistency is required, the caller must retry the same delete
3630+
* request again and wait till the new operation returned is marked as successfully done.
3631+
*
3632+
* <p>Sample code:
3633+
*
3634+
* <pre>{@code
3635+
* // This snippet has been automatically generated and should be regarded as a code template only.
3636+
* // It will require modifications to work:
3637+
* // - It may require correct/in-range values for request initialization.
3638+
* // - It may require specifying regional endpoints when creating the service client as shown in
3639+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3640+
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
3641+
* String entityType =
3642+
* EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
3643+
* .toString();
3644+
* DeleteFeatureValuesResponse response =
3645+
* featurestoreServiceClient.deleteFeatureValuesAsync(entityType).get();
3646+
* }
3647+
* }</pre>
3648+
*
3649+
* @param entityType Required. The resource name of the EntityType grouping the Features for which
3650+
* values are being deleted from. Format:
3651+
* `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
3652+
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
3653+
*/
3654+
public final OperationFuture<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata>
3655+
deleteFeatureValuesAsync(String entityType) {
3656+
DeleteFeatureValuesRequest request =
3657+
DeleteFeatureValuesRequest.newBuilder().setEntityType(entityType).build();
3658+
return deleteFeatureValuesAsync(request);
3659+
}
3660+
3661+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
3662+
/**
3663+
* Delete Feature values from Featurestore.
3664+
*
3665+
* <p>The progress of the deletion is tracked by the returned operation. The deleted feature
3666+
* values are guaranteed to be invisible to subsequent read operations after the operation is
3667+
* marked as successfully done.
3668+
*
3669+
* <p>If a delete feature values operation fails, the feature values returned from reads and
3670+
* exports may be inconsistent. If consistency is required, the caller must retry the same delete
3671+
* request again and wait till the new operation returned is marked as successfully done.
3672+
*
3673+
* <p>Sample code:
3674+
*
3675+
* <pre>{@code
3676+
* // This snippet has been automatically generated and should be regarded as a code template only.
3677+
* // It will require modifications to work:
3678+
* // - It may require correct/in-range values for request initialization.
3679+
* // - It may require specifying regional endpoints when creating the service client as shown in
3680+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3681+
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
3682+
* DeleteFeatureValuesRequest request =
3683+
* DeleteFeatureValuesRequest.newBuilder()
3684+
* .setEntityType(
3685+
* EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
3686+
* .toString())
3687+
* .build();
3688+
* DeleteFeatureValuesResponse response =
3689+
* featurestoreServiceClient.deleteFeatureValuesAsync(request).get();
3690+
* }
3691+
* }</pre>
3692+
*
3693+
* @param request The request object containing all of the parameters for the API call.
3694+
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
3695+
*/
3696+
public final OperationFuture<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata>
3697+
deleteFeatureValuesAsync(DeleteFeatureValuesRequest request) {
3698+
return deleteFeatureValuesOperationCallable().futureCall(request);
3699+
}
3700+
3701+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
3702+
/**
3703+
* Delete Feature values from Featurestore.
3704+
*
3705+
* <p>The progress of the deletion is tracked by the returned operation. The deleted feature
3706+
* values are guaranteed to be invisible to subsequent read operations after the operation is
3707+
* marked as successfully done.
3708+
*
3709+
* <p>If a delete feature values operation fails, the feature values returned from reads and
3710+
* exports may be inconsistent. If consistency is required, the caller must retry the same delete
3711+
* request again and wait till the new operation returned is marked as successfully done.
3712+
*
3713+
* <p>Sample code:
3714+
*
3715+
* <pre>{@code
3716+
* // This snippet has been automatically generated and should be regarded as a code template only.
3717+
* // It will require modifications to work:
3718+
* // - It may require correct/in-range values for request initialization.
3719+
* // - It may require specifying regional endpoints when creating the service client as shown in
3720+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3721+
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
3722+
* DeleteFeatureValuesRequest request =
3723+
* DeleteFeatureValuesRequest.newBuilder()
3724+
* .setEntityType(
3725+
* EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
3726+
* .toString())
3727+
* .build();
3728+
* OperationFuture<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> future =
3729+
* featurestoreServiceClient.deleteFeatureValuesOperationCallable().futureCall(request);
3730+
* // Do something.
3731+
* DeleteFeatureValuesResponse response = future.get();
3732+
* }
3733+
* }</pre>
3734+
*/
3735+
public final OperationCallable<
3736+
DeleteFeatureValuesRequest,
3737+
DeleteFeatureValuesResponse,
3738+
DeleteFeatureValuesOperationMetadata>
3739+
deleteFeatureValuesOperationCallable() {
3740+
return stub.deleteFeatureValuesOperationCallable();
3741+
}
3742+
3743+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
3744+
/**
3745+
* Delete Feature values from Featurestore.
3746+
*
3747+
* <p>The progress of the deletion is tracked by the returned operation. The deleted feature
3748+
* values are guaranteed to be invisible to subsequent read operations after the operation is
3749+
* marked as successfully done.
3750+
*
3751+
* <p>If a delete feature values operation fails, the feature values returned from reads and
3752+
* exports may be inconsistent. If consistency is required, the caller must retry the same delete
3753+
* request again and wait till the new operation returned is marked as successfully done.
3754+
*
3755+
* <p>Sample code:
3756+
*
3757+
* <pre>{@code
3758+
* // This snippet has been automatically generated and should be regarded as a code template only.
3759+
* // It will require modifications to work:
3760+
* // - It may require correct/in-range values for request initialization.
3761+
* // - It may require specifying regional endpoints when creating the service client as shown in
3762+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3763+
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
3764+
* DeleteFeatureValuesRequest request =
3765+
* DeleteFeatureValuesRequest.newBuilder()
3766+
* .setEntityType(
3767+
* EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
3768+
* .toString())
3769+
* .build();
3770+
* ApiFuture<Operation> future =
3771+
* featurestoreServiceClient.deleteFeatureValuesCallable().futureCall(request);
3772+
* // Do something.
3773+
* Operation response = future.get();
3774+
* }
3775+
* }</pre>
3776+
*/
3777+
public final UnaryCallable<DeleteFeatureValuesRequest, Operation> deleteFeatureValuesCallable() {
3778+
return stub.deleteFeatureValuesCallable();
3779+
}
3780+
35783781
// AUTO-GENERATED DOCUMENTATION AND METHOD.
35793782
/**
35803783
* Searches Features matching a query in a given project.

java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceSettings.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,21 @@ public UnaryCallSettings<ExportFeatureValuesRequest, Operation> exportFeatureVal
282282
.exportFeatureValuesOperationSettings();
283283
}
284284

285+
/** Returns the object with the settings used for calls to deleteFeatureValues. */
286+
public UnaryCallSettings<DeleteFeatureValuesRequest, Operation> deleteFeatureValuesSettings() {
287+
return ((FeaturestoreServiceStubSettings) getStubSettings()).deleteFeatureValuesSettings();
288+
}
289+
290+
/** Returns the object with the settings used for calls to deleteFeatureValues. */
291+
public OperationCallSettings<
292+
DeleteFeatureValuesRequest,
293+
DeleteFeatureValuesResponse,
294+
DeleteFeatureValuesOperationMetadata>
295+
deleteFeatureValuesOperationSettings() {
296+
return ((FeaturestoreServiceStubSettings) getStubSettings())
297+
.deleteFeatureValuesOperationSettings();
298+
}
299+
285300
/** Returns the object with the settings used for calls to searchFeatures. */
286301
public PagedCallSettings<
287302
SearchFeaturesRequest, SearchFeaturesResponse, SearchFeaturesPagedResponse>
@@ -607,6 +622,21 @@ public UnaryCallSettings.Builder<DeleteFeatureRequest, Operation> deleteFeatureS
607622
return getStubSettingsBuilder().exportFeatureValuesOperationSettings();
608623
}
609624

625+
/** Returns the builder for the settings used for calls to deleteFeatureValues. */
626+
public UnaryCallSettings.Builder<DeleteFeatureValuesRequest, Operation>
627+
deleteFeatureValuesSettings() {
628+
return getStubSettingsBuilder().deleteFeatureValuesSettings();
629+
}
630+
631+
/** Returns the builder for the settings used for calls to deleteFeatureValues. */
632+
public OperationCallSettings.Builder<
633+
DeleteFeatureValuesRequest,
634+
DeleteFeatureValuesResponse,
635+
DeleteFeatureValuesOperationMetadata>
636+
deleteFeatureValuesOperationSettings() {
637+
return getStubSettingsBuilder().deleteFeatureValuesOperationSettings();
638+
}
639+
610640
/** Returns the builder for the settings used for calls to searchFeatures. */
611641
public PagedCallSettings.Builder<
612642
SearchFeaturesRequest, SearchFeaturesResponse, SearchFeaturesPagedResponse>

0 commit comments

Comments
 (0)