Skip to content

Commit

Permalink
feat: [aiplatform] add disable_container_logging to BatchPredictionJo…
Browse files Browse the repository at this point in the history
…b 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
  • Loading branch information
gcf-owl-bot[bot] committed Mar 13, 2023
1 parent aa813d5 commit 7044b6c
Show file tree
Hide file tree
Showing 194 changed files with 55,398 additions and 5,154 deletions.
2 changes: 0 additions & 2 deletions java-aiplatform/README.md
Expand Up @@ -14,7 +14,6 @@ Java idiomatic client for [Vertex AI][product-docs].

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

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

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

## Authentication

Expand Down
Expand Up @@ -3575,6 +3575,209 @@ public final UnaryCallable<ExportFeatureValuesRequest, Operation> exportFeatureV
return stub.exportFeatureValuesCallable();
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Delete Feature values from Featurestore.
*
* <p>The progress of the deletion is tracked by the returned operation. The deleted feature
* values are guaranteed to be invisible to subsequent read operations after the operation is
* marked as successfully done.
*
* <p>If a delete feature values operation fails, the feature values returned from reads and
* exports may be inconsistent. If consistency is required, the caller must retry the same delete
* request again and wait till the new operation returned is marked as successfully done.
*
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
* EntityTypeName entityType =
* EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
* DeleteFeatureValuesResponse response =
* featurestoreServiceClient.deleteFeatureValuesAsync(entityType).get();
* }
* }</pre>
*
* @param entityType Required. The resource name of the EntityType grouping the Features for which
* values are being deleted from. Format:
* `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final OperationFuture<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata>
deleteFeatureValuesAsync(EntityTypeName entityType) {
DeleteFeatureValuesRequest request =
DeleteFeatureValuesRequest.newBuilder()
.setEntityType(entityType == null ? null : entityType.toString())
.build();
return deleteFeatureValuesAsync(request);
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Delete Feature values from Featurestore.
*
* <p>The progress of the deletion is tracked by the returned operation. The deleted feature
* values are guaranteed to be invisible to subsequent read operations after the operation is
* marked as successfully done.
*
* <p>If a delete feature values operation fails, the feature values returned from reads and
* exports may be inconsistent. If consistency is required, the caller must retry the same delete
* request again and wait till the new operation returned is marked as successfully done.
*
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
* String entityType =
* EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
* .toString();
* DeleteFeatureValuesResponse response =
* featurestoreServiceClient.deleteFeatureValuesAsync(entityType).get();
* }
* }</pre>
*
* @param entityType Required. The resource name of the EntityType grouping the Features for which
* values are being deleted from. Format:
* `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final OperationFuture<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata>
deleteFeatureValuesAsync(String entityType) {
DeleteFeatureValuesRequest request =
DeleteFeatureValuesRequest.newBuilder().setEntityType(entityType).build();
return deleteFeatureValuesAsync(request);
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Delete Feature values from Featurestore.
*
* <p>The progress of the deletion is tracked by the returned operation. The deleted feature
* values are guaranteed to be invisible to subsequent read operations after the operation is
* marked as successfully done.
*
* <p>If a delete feature values operation fails, the feature values returned from reads and
* exports may be inconsistent. If consistency is required, the caller must retry the same delete
* request again and wait till the new operation returned is marked as successfully done.
*
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
* DeleteFeatureValuesRequest request =
* DeleteFeatureValuesRequest.newBuilder()
* .setEntityType(
* EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
* .toString())
* .build();
* DeleteFeatureValuesResponse response =
* featurestoreServiceClient.deleteFeatureValuesAsync(request).get();
* }
* }</pre>
*
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final OperationFuture<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata>
deleteFeatureValuesAsync(DeleteFeatureValuesRequest request) {
return deleteFeatureValuesOperationCallable().futureCall(request);
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Delete Feature values from Featurestore.
*
* <p>The progress of the deletion is tracked by the returned operation. The deleted feature
* values are guaranteed to be invisible to subsequent read operations after the operation is
* marked as successfully done.
*
* <p>If a delete feature values operation fails, the feature values returned from reads and
* exports may be inconsistent. If consistency is required, the caller must retry the same delete
* request again and wait till the new operation returned is marked as successfully done.
*
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
* DeleteFeatureValuesRequest request =
* DeleteFeatureValuesRequest.newBuilder()
* .setEntityType(
* EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
* .toString())
* .build();
* OperationFuture<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> future =
* featurestoreServiceClient.deleteFeatureValuesOperationCallable().futureCall(request);
* // Do something.
* DeleteFeatureValuesResponse response = future.get();
* }
* }</pre>
*/
public final OperationCallable<
DeleteFeatureValuesRequest,
DeleteFeatureValuesResponse,
DeleteFeatureValuesOperationMetadata>
deleteFeatureValuesOperationCallable() {
return stub.deleteFeatureValuesOperationCallable();
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Delete Feature values from Featurestore.
*
* <p>The progress of the deletion is tracked by the returned operation. The deleted feature
* values are guaranteed to be invisible to subsequent read operations after the operation is
* marked as successfully done.
*
* <p>If a delete feature values operation fails, the feature values returned from reads and
* exports may be inconsistent. If consistency is required, the caller must retry the same delete
* request again and wait till the new operation returned is marked as successfully done.
*
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
* DeleteFeatureValuesRequest request =
* DeleteFeatureValuesRequest.newBuilder()
* .setEntityType(
* EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
* .toString())
* .build();
* ApiFuture<Operation> future =
* featurestoreServiceClient.deleteFeatureValuesCallable().futureCall(request);
* // Do something.
* Operation response = future.get();
* }
* }</pre>
*/
public final UnaryCallable<DeleteFeatureValuesRequest, Operation> deleteFeatureValuesCallable() {
return stub.deleteFeatureValuesCallable();
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Searches Features matching a query in a given project.
Expand Down
Expand Up @@ -282,6 +282,21 @@ public UnaryCallSettings<ExportFeatureValuesRequest, Operation> exportFeatureVal
.exportFeatureValuesOperationSettings();
}

/** Returns the object with the settings used for calls to deleteFeatureValues. */
public UnaryCallSettings<DeleteFeatureValuesRequest, Operation> deleteFeatureValuesSettings() {
return ((FeaturestoreServiceStubSettings) getStubSettings()).deleteFeatureValuesSettings();
}

/** Returns the object with the settings used for calls to deleteFeatureValues. */
public OperationCallSettings<
DeleteFeatureValuesRequest,
DeleteFeatureValuesResponse,
DeleteFeatureValuesOperationMetadata>
deleteFeatureValuesOperationSettings() {
return ((FeaturestoreServiceStubSettings) getStubSettings())
.deleteFeatureValuesOperationSettings();
}

/** Returns the object with the settings used for calls to searchFeatures. */
public PagedCallSettings<
SearchFeaturesRequest, SearchFeaturesResponse, SearchFeaturesPagedResponse>
Expand Down Expand Up @@ -607,6 +622,21 @@ public UnaryCallSettings.Builder<DeleteFeatureRequest, Operation> deleteFeatureS
return getStubSettingsBuilder().exportFeatureValuesOperationSettings();
}

/** Returns the builder for the settings used for calls to deleteFeatureValues. */
public UnaryCallSettings.Builder<DeleteFeatureValuesRequest, Operation>
deleteFeatureValuesSettings() {
return getStubSettingsBuilder().deleteFeatureValuesSettings();
}

/** Returns the builder for the settings used for calls to deleteFeatureValues. */
public OperationCallSettings.Builder<
DeleteFeatureValuesRequest,
DeleteFeatureValuesResponse,
DeleteFeatureValuesOperationMetadata>
deleteFeatureValuesOperationSettings() {
return getStubSettingsBuilder().deleteFeatureValuesOperationSettings();
}

/** Returns the builder for the settings used for calls to searchFeatures. */
public PagedCallSettings.Builder<
SearchFeaturesRequest, SearchFeaturesResponse, SearchFeaturesPagedResponse>
Expand Down

0 comments on commit 7044b6c

Please sign in to comment.