Content-Length: 754228 | pFad | http://github.com/googleapis/java-aiplatform/pull/830/files

4F feat: add monitoring_config to EntityType in aiplatform v1 entity_type.proto by gcf-owl-bot[bot] · Pull Request #830 · googleapis/java-aiplatform · GitHub
Skip to content
This repository was archived by the owner on Sep 9, 2023. It is now read-only.

feat: add monitoring_config to EntityType in aiplatform v1 entity_type.proto #830

Merged
merged 4 commits into from
Mar 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,20 @@ If you are using Maven without BOM, add this to your dependencies:
If you are using Gradle 5.x or later, add this to your dependencies

```Groovy
implementation platform('com.google.cloud:libraries-bom:24.4.0')
implementation platform('com.google.cloud:libraries-bom:25.0.0')

implementation 'com.google.cloud:google-cloud-aiplatform'
```
If you are using Gradle without BOM, add this to your dependencies

```Groovy
implementation 'com.google.cloud:google-cloud-aiplatform:2.7.3'
implementation 'com.google.cloud:google-cloud-aiplatform:2.7.4'
```

If you are using SBT, add this to your dependencies

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "2.7.3"
libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "2.7.4"
```

## Authentication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1413,7 +1413,12 @@ public final ListEntityTypesPagedResponse listEntityTypes(ListEntityTypesRequest
* overwritten. Set the update_mask to `*` to override all fields.
* <p>Updatable fields:
* <p>&#42; `description` &#42; `labels` &#42; `monitoring_config.snapshot_analysis.disabled`
* &#42; `monitoring_config.snapshot_analysis.monitoring_interval`
* &#42; `monitoring_config.snapshot_analysis.monitoring_interval_days` &#42;
* `monitoring_config.snapshot_analysis.staleness_days` &#42;
* `monitoring_config.import_features_analysis.state` &#42;
* `monitoring_config.import_features_analysis.anomaly_detection_baseline` &#42;
* `monitoring_config.numerical_threshold_config.value` &#42;
* `monitoring_config.categorical_threshold_config.value`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final EntityType updateEntityType(EntityType entityType, FieldMask updateMask) {
Expand Down Expand Up @@ -2323,8 +2328,7 @@ public final UnaryCallable<ListFeaturesRequest, ListFeaturesResponse> listFeatur
* user does not provide a mask then only the non-empty fields present in the request will be
* overwritten. Set the update_mask to `&#42;` to override all fields.
* <p>Updatable fields:
* <p>&#42; `description` &#42; `labels` &#42; `monitoring_config.snapshot_analysis.disabled`
* &#42; `monitoring_config.snapshot_analysis.monitoring_interval`
* <p>&#42; `description` &#42; `labels` &#42; `disable_monitoring`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Feature updateFeature(Feature feature, FieldMask updateMask) {
Expand Down Expand Up @@ -2632,6 +2636,7 @@ public final UnaryCallable<DeleteFeatureRequest, Operation> deleteFeatureCallabl
* .addAllFeatureSpecs(new ArrayList<ImportFeatureValuesRequest.FeatureSpec>())
* .setDisableOnlineServing(true)
* .setWorkerCount(372044046)
* .setDisableIngestionAnalysis(true)
* .build();
* ImportFeatureValuesResponse response =
* featurestoreServiceClient.importFeatureValuesAsync(request).get();
Expand Down Expand Up @@ -2679,6 +2684,7 @@ public final UnaryCallable<DeleteFeatureRequest, Operation> deleteFeatureCallabl
* .addAllFeatureSpecs(new ArrayList<ImportFeatureValuesRequest.FeatureSpec>())
* .setDisableOnlineServing(true)
* .setWorkerCount(372044046)
* .setDisableIngestionAnalysis(true)
* .build();
* OperationFuture<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> future =
* featurestoreServiceClient.importFeatureValuesOperationCallable().futureCall(request);
Expand Down Expand Up @@ -2728,6 +2734,7 @@ public final UnaryCallable<DeleteFeatureRequest, Operation> deleteFeatureCallabl
* .addAllFeatureSpecs(new ArrayList<ImportFeatureValuesRequest.FeatureSpec>())
* .setDisableOnlineServing(true)
* .setWorkerCount(372044046)
* .setDisableIngestionAnalysis(true)
* .build();
* ApiFuture<Operation> future =
* featurestoreServiceClient.importFeatureValuesCallable().futureCall(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,12 @@ public final ListEntityTypesPagedResponse listEntityTypes(ListEntityTypesRequest
* overwritten. Set the update_mask to `&#42;` to override all fields.
* <p>Updatable fields:
* <p>&#42; `description` &#42; `labels` &#42; `monitoring_config.snapshot_analysis.disabled`
* &#42; `monitoring_config.snapshot_analysis.monitoring_interval`
* &#42; `monitoring_config.snapshot_analysis.monitoring_interval_days` &#42;
* `monitoring_config.snapshot_analysis.staleness_days` &#42;
* `monitoring_config.import_features_analysis.state` &#42;
* `monitoring_config.import_features_analysis.anomaly_detection_baseline` &#42;
* `monitoring_config.numerical_threshold_config.value` &#42;
* `monitoring_config.categorical_threshold_config.value`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final EntityType updateEntityType(EntityType entityType, FieldMask updateMask) {
Expand Down Expand Up @@ -2324,8 +2329,7 @@ public final UnaryCallable<ListFeaturesRequest, ListFeaturesResponse> listFeatur
* user does not provide a mask then only the non-empty fields present in the request will be
* overwritten. Set the update_mask to `&#42;` to override all fields.
* <p>Updatable fields:
* <p>&#42; `description` &#42; `labels` &#42; `monitoring_config.snapshot_analysis.disabled`
* &#42; `monitoring_config.snapshot_analysis.monitoring_interval`
* <p>&#42; `description` &#42; `labels` &#42; `disable_monitoring`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Feature updateFeature(Feature feature, FieldMask updateMask) {
Expand Down Expand Up @@ -2633,6 +2637,7 @@ public final UnaryCallable<DeleteFeatureRequest, Operation> deleteFeatureCallabl
* .addAllFeatureSpecs(new ArrayList<ImportFeatureValuesRequest.FeatureSpec>())
* .setDisableOnlineServing(true)
* .setWorkerCount(372044046)
* .setDisableIngestionAnalysis(true)
* .build();
* ImportFeatureValuesResponse response =
* featurestoreServiceClient.importFeatureValuesAsync(request).get();
Expand Down Expand Up @@ -2680,6 +2685,7 @@ public final UnaryCallable<DeleteFeatureRequest, Operation> deleteFeatureCallabl
* .addAllFeatureSpecs(new ArrayList<ImportFeatureValuesRequest.FeatureSpec>())
* .setDisableOnlineServing(true)
* .setWorkerCount(372044046)
* .setDisableIngestionAnalysis(true)
* .build();
* OperationFuture<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> future =
* featurestoreServiceClient.importFeatureValuesOperationCallable().futureCall(request);
Expand Down Expand Up @@ -2729,6 +2735,7 @@ public final UnaryCallable<DeleteFeatureRequest, Operation> deleteFeatureCallabl
* .addAllFeatureSpecs(new ArrayList<ImportFeatureValuesRequest.FeatureSpec>())
* .setDisableOnlineServing(true)
* .setWorkerCount(372044046)
* .setDisableIngestionAnalysis(true)
* .build();
* ApiFuture<Operation> future =
* featurestoreServiceClient.importFeatureValuesCallable().futureCall(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,7 @@ public void createEntityTypeTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.putAllLabels(new HashMap<String, String>())
.setEtag("etag3123477")
.setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -791,6 +792,7 @@ public void createEntityTypeTest2() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.putAllLabels(new HashMap<String, String>())
.setEtag("etag3123477")
.setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -847,6 +849,7 @@ public void createEntityTypeTest3() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.putAllLabels(new HashMap<String, String>())
.setEtag("etag3123477")
.setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -907,6 +910,7 @@ public void createEntityTypeTest4() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.putAllLabels(new HashMap<String, String>())
.setEtag("etag3123477")
.setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -967,6 +971,7 @@ public void getEntityTypeTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.putAllLabels(new HashMap<String, String>())
.setEtag("etag3123477")
.setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build())
.build();
mockFeaturestoreService.addResponse(expectedResponse);

Expand Down Expand Up @@ -1014,6 +1019,7 @@ public void getEntityTypeTest2() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.putAllLabels(new HashMap<String, String>())
.setEtag("etag3123477")
.setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build())
.build();
mockFeaturestoreService.addResponse(expectedResponse);

Expand Down Expand Up @@ -1147,6 +1153,7 @@ public void updateEntityTypeTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.putAllLabels(new HashMap<String, String>())
.setEtag("etag3123477")
.setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build())
.build();
mockFeaturestoreService.addResponse(expectedResponse);

Expand Down Expand Up @@ -1374,6 +1381,8 @@ public void createFeatureTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.putAllLabels(new HashMap<String, String>())
.setEtag("etag3123477")
.setDisableMonitoring(true)
.addAllMonitoringStatsAnomalies(new ArrayList<Feature.MonitoringStatsAnomaly>())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -1433,6 +1442,8 @@ public void createFeatureTest2() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.putAllLabels(new HashMap<String, String>())
.setEtag("etag3123477")
.setDisableMonitoring(true)
.addAllMonitoringStatsAnomalies(new ArrayList<Feature.MonitoringStatsAnomaly>())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -1490,6 +1501,8 @@ public void createFeatureTest3() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.putAllLabels(new HashMap<String, String>())
.setEtag("etag3123477")
.setDisableMonitoring(true)
.addAllMonitoringStatsAnomalies(new ArrayList<Feature.MonitoringStatsAnomaly>())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -1552,6 +1565,8 @@ public void createFeatureTest4() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.putAllLabels(new HashMap<String, String>())
.setEtag("etag3123477")
.setDisableMonitoring(true)
.addAllMonitoringStatsAnomalies(new ArrayList<Feature.MonitoringStatsAnomaly>())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -1710,6 +1725,8 @@ public void getFeatureTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.putAllLabels(new HashMap<String, String>())
.setEtag("etag3123477")
.setDisableMonitoring(true)
.addAllMonitoringStatsAnomalies(new ArrayList<Feature.MonitoringStatsAnomaly>())
.build();
mockFeaturestoreService.addResponse(expectedResponse);

Expand Down Expand Up @@ -1758,6 +1775,8 @@ public void getFeatureTest2() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.putAllLabels(new HashMap<String, String>())
.setEtag("etag3123477")
.setDisableMonitoring(true)
.addAllMonitoringStatsAnomalies(new ArrayList<Feature.MonitoringStatsAnomaly>())
.build();
mockFeaturestoreService.addResponse(expectedResponse);

Expand Down Expand Up @@ -1894,6 +1913,8 @@ public void updateFeatureTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.putAllLabels(new HashMap<String, String>())
.setEtag("etag3123477")
.setDisableMonitoring(true)
.addAllMonitoringStatsAnomalies(new ArrayList<Feature.MonitoringStatsAnomaly>())
.build();
mockFeaturestoreService.addResponse(expectedResponse);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1382,7 +1382,9 @@ public void createFeatureTest() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setEtag("etag3123477")
.setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build())
.setDisableMonitoring(true)
.addAllMonitoringStats(new ArrayList<FeatureStatsAnomaly>())
.addAllMonitoringStatsAnomalies(new ArrayList<Feature.MonitoringStatsAnomaly>())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -1443,7 +1445,9 @@ public void createFeatureTest2() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setEtag("etag3123477")
.setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build())
.setDisableMonitoring(true)
.addAllMonitoringStats(new ArrayList<FeatureStatsAnomaly>())
.addAllMonitoringStatsAnomalies(new ArrayList<Feature.MonitoringStatsAnomaly>())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -1502,7 +1506,9 @@ public void createFeatureTest3() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setEtag("etag3123477")
.setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build())
.setDisableMonitoring(true)
.addAllMonitoringStats(new ArrayList<FeatureStatsAnomaly>())
.addAllMonitoringStatsAnomalies(new ArrayList<Feature.MonitoringStatsAnomaly>())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -1566,7 +1572,9 @@ public void createFeatureTest4() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setEtag("etag3123477")
.setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build())
.setDisableMonitoring(true)
.addAllMonitoringStats(new ArrayList<FeatureStatsAnomaly>())
.addAllMonitoringStatsAnomalies(new ArrayList<Feature.MonitoringStatsAnomaly>())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -1726,7 +1734,9 @@ public void getFeatureTest() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setEtag("etag3123477")
.setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build())
.setDisableMonitoring(true)
.addAllMonitoringStats(new ArrayList<FeatureStatsAnomaly>())
.addAllMonitoringStatsAnomalies(new ArrayList<Feature.MonitoringStatsAnomaly>())
.build();
mockFeaturestoreService.addResponse(expectedResponse);

Expand Down Expand Up @@ -1776,7 +1786,9 @@ public void getFeatureTest2() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setEtag("etag3123477")
.setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build())
.setDisableMonitoring(true)
.addAllMonitoringStats(new ArrayList<FeatureStatsAnomaly>())
.addAllMonitoringStatsAnomalies(new ArrayList<Feature.MonitoringStatsAnomaly>())
.build();
mockFeaturestoreService.addResponse(expectedResponse);

Expand Down Expand Up @@ -1914,7 +1926,9 @@ public void updateFeatureTest() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setEtag("etag3123477")
.setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build())
.setDisableMonitoring(true)
.addAllMonitoringStats(new ArrayList<FeatureStatsAnomaly>())
.addAllMonitoringStatsAnomalies(new ArrayList<Feature.MonitoringStatsAnomaly>())
.build();
mockFeaturestoreService.addResponse(expectedResponse);

Expand Down
Loading








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/googleapis/java-aiplatform/pull/830/files

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy