Skip to content

Commit

Permalink
feat: add model_monitoring_config to BatchPredictionJob in aiplatform…
Browse files Browse the repository at this point in the history
… v1beta1 batch_prediction_job.proto (googleapis#892)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 456339444

Source-Link: googleapis/googleapis@3b9c451

Source-Link: https://github.com/googleapis/googleapis-gen/commit/95a293beab5db62d3c734b083550e0ab446a9ad3
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTVhMjkzYmVhYjVkYjYyZDNjNzM0YjA4MzU1MGUwYWI0NDZhOWFkMyJ9

feat: add model_version_id to UploadModelResponse in aiplatform v1 model_service.proto
PiperOrigin-RevId: 455486702

Source-Link: googleapis/googleapis@f2e5538

Source-Link: https://github.com/googleapis/googleapis-gen/commit/15200223b157cb9e76c7923bc387dd6e9c0a83bd
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTUyMDAyMjNiMTU3Y2I5ZTc2Yzc5MjNiYzM4N2RkNmU5YzBhODNiZCJ9

feat: add default_skew_threshold to TrainingPredictionSkewDetectionConfig in aiplatform v1beta1, v1 model_monitoring.proto
feat: add default_drift_threshold to PredictionDriftDetectionConfig in aiplatform v1beta1, v1 model_monitoring.proto
PiperOrigin-RevId: 455164942

Source-Link: googleapis/googleapis@db1cd5e

Source-Link: https://github.com/googleapis/googleapis-gen/commit/47772101d683e45375539ffcdee797f78fe608cb
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDc3NzIxMDFkNjgzZTQ1Mzc1NTM5ZmZjZGVlNzk3Zjc4ZmU2MDhjYiJ9

chore: Integrate new gapic-generator-java and rules_gapic
PiperOrigin-RevId: 454027580

Source-Link: googleapis/googleapis@1b22277

Source-Link: https://github.com/googleapis/googleapis-gen/commit/e04cea20d0d12eb5c3bdb360a9e72b654edcb638
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTA0Y2VhMjBkMGQxMmViNWMzYmRiMzYwYTllNzJiNjU0ZWRjYjYzOCJ9

feat: add successful_forecast_point_count to CompletionStats in aiplatform v1 completion_stats.proto
feat: add neighbors to Explanation in aiplatform v1 explanation.proto
feat: add examples_override to ExplanationSpecOverride in aiplatform v1 explanation.proto
feat: add version_id, version_aliases, version_create_time, version_update_time, and version_description to aiplatform v1 model.proto
feat: add ModelVersion CRUD methods in aiplatform v1 model_service.proto
feat: add model_id and parent_model to TrainingPipeline in aiplatform v1 training_pipeline.proto

PiperOrigin-RevId: 453734478

Source-Link: googleapis/googleapis@84720fb

Source-Link: https://github.com/googleapis/googleapis-gen/commit/93ace7716e168e3c2cba123bce51a5362a39429c
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTNhY2U3NzE2ZTE2OGUzYzJjYmExMjNiY2U1MWE1MzYyYTM5NDI5YyJ9

feat: add env to ContainerSpec in aiplatform v1beta1 custom_job.proto
PiperOrigin-RevId: 453732998

Source-Link: googleapis/googleapis@a95a55f

Source-Link: https://github.com/googleapis/googleapis-gen/commit/e2ea25266cc6608d2180843dde9051b4ba37cd9b
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTJlYTI1MjY2Y2M2NjA4ZDIxODA4NDNkZGU5MDUxYjRiYTM3Y2Q5YiJ9

feat: add monitor_window to ModelDeploymentMonitoringScheduleConfig proto in aiplatform v1/v1beta1 model_deployment_monitoring_job.proto
PiperOrigin-RevId: 453226330

Source-Link: googleapis/googleapis@239db5e

Source-Link: https://github.com/googleapis/googleapis-gen/commit/4cf0c542505025be51be9e67120f0413415e7d67
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGNmMGM1NDI1MDUwMjViZTUxYmU5ZTY3MTIwZjA0MTM0MTVlN2Q2NyJ9

feat: add IAM policy to aiplatform_v1beta1.yaml
feat: add preset configuration for example-based explanations in aiplatform v1beta1 explanation.proto
feat: add latent_space_source to ExplanationMetadata in aiplatform v1beta1 explanation_metadata.proto
feat: add successful_forecast_point_count to CompletionStats in completion_stats.proto

PiperOrigin-RevId: 450727462

Source-Link: googleapis/googleapis@665682d

Source-Link: https://github.com/googleapis/googleapis-gen/commit/34cddbef39c17c58f96f5ffebf6065136b6d5719
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzRjZGRiZWYzOWMxN2M1OGY5NmY1ZmZlYmY2MDY1MTM2YjZkNTcxOSJ9

feat: add failure_policy to PipelineJob in aiplatform v1 & v1beta1 pipeline_job.proto
PiperOrigin-RevId: 450704795

Source-Link: googleapis/googleapis@c875f2b

Source-Link: https://github.com/googleapis/googleapis-gen/commit/e606d62ab32b85434697678b3004f2206d5c02ae
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTYwNmQ2MmFiMzJiODU0MzQ2OTc2NzhiMzAwNGYyMjA2ZDVjMDJhZSJ9

feat: add latent_space_source to ExplanationMetadata in aiplatform v1 explanation_metadata.proto
feat: add scaling to OnlineServingConfig in aiplatform v1 featurestore.proto
feat: add template_metadata to PipelineJob in aiplatform v1 pipeline_job.proto

PiperOrigin-RevId: 450687287

Source-Link: googleapis/googleapis@058bff3

Source-Link: https://github.com/googleapis/googleapis-gen/commit/f072bfe7704d996c41d74ac3aa1d8514f464c4ff
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjA3MmJmZTc3MDRkOTk2YzQxZDc0YWMzYWExZDg1MTRmNDY0YzRmZiJ9

chore(deps): upgrade gapic-generator-java to 2.8.0 and update gax-java to 2.18.1
PiperOrigin-RevId: 450543911

Source-Link: googleapis/googleapis@5528344

Source-Link: https://github.com/googleapis/googleapis-gen/commit/9f6775cab1958982b88967a43e5e806af0f135db
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOWY2Nzc1Y2FiMTk1ODk4MmI4ODk2N2E0M2U1ZTgwNmFmMGYxMzVkYiJ9

feat: add Examples to Explanation related messages in aiplatform v1beta1 explanation.proto
PiperOrigin-RevId: 449620845

Source-Link: googleapis/googleapis@117f86b

Source-Link: https://github.com/googleapis/googleapis-gen/commit/1d670dbb1a9ff155cf686e9544feffb75021a2f5
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMWQ2NzBkYmIxYTlmZjE1NWNmNjg2ZTk1NDRmZWZmYjc1MDIxYTJmNSJ9

Synchronize new proto/yaml changes.
PiperOrigin-RevId: 449052112

Source-Link: googleapis/googleapis@3150afa

Source-Link: https://github.com/googleapis/googleapis-gen/commit/9945a366e4a5efb00fc40985f03c107bdee89df2
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTk0NWEzNjZlNGE1ZWZiMDBmYzQwOTg1ZjAzYzEwN2JkZWU4OWRmMiJ9

feat: add display_name and metadata to ModelEvaluation in aiplatform model_evaluation.proto
PiperOrigin-RevId: 448160148

Source-Link: googleapis/googleapis@936ab35

Source-Link: https://github.com/googleapis/googleapis-gen/commit/f841b8e23d816e998f9e8e6c0e04ba92b7f6b835
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjg0MWI4ZTIzZDgxNmU5OThmOWU4ZTZjMGUwNGJhOTJiN2Y2YjgzNSJ9

fix!: added packaging options for C#, Ruby, and PHP
PiperOrigin-RevId: 448116670

Source-Link: googleapis/googleapis@914bc52

Source-Link: https://github.com/googleapis/googleapis-gen/commit/db499206c1ede59f599ca2b05699e86bd4ee152e
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZGI0OTkyMDZjMWVkZTU5ZjU5OWNhMmIwNTY5OWU4NmJkNGVlMTUyZSJ9

feat: add template_metadata to PipelineJob in aiplatform v1beta1 pipeline_job.proto
PiperOrigin-RevId: 447082691

Source-Link: googleapis/googleapis@02b3022

Source-Link: https://github.com/googleapis/googleapis-gen/commit/753e1acf0deda59bc451482e6278c7dab4908b9c
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzUzZTFhY2YwZGVkYTU5YmM0NTE0ODJlNjI3OGM3ZGFiNDkwOGI5YyJ9

chore(deps): upgrade gapic-generator-java to 2.7.0 and update gax-java to 2.16.0

PiperOrigin-RevId: 446250659

Source-Link: googleapis/googleapis@dc4ef31

Source-Link: https://github.com/googleapis/googleapis-gen/commit/5fdda4ddfbab87998e77e4a453e0ff87986d2db8
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWZkZGE0ZGRmYmFiODc5OThlNzdlNGE0NTNlMGZmODc5ODZkMmRiOCJ9
  • Loading branch information
gcf-owl-bot[bot] authored Jun 22, 2022
1 parent ffc4b87 commit a2a404f
Show file tree
Hide file tree
Showing 606 changed files with 79,390 additions and 3,018 deletions.
5 changes: 2 additions & 3 deletions java-aiplatform/.github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax

# The @googleapis/ml-apis is the default owner for changes in this repo
* @googleapis/yoshi-java @googleapis/ml-apis
**/*.java @googleapis/ml-apis
* @googleapis/yoshi-java

# The java-samples-reviewers team is the default owner for samples changes
samples/**/*.java @googleapis/java-samples-reviewers
samples/**/*.java @googleapis/java-samples-reviewers @googleapis/cdpe-cloudai
3 changes: 1 addition & 2 deletions java-aiplatform/.repo-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@
"distribution_name": "com.google.cloud:google-cloud-aiplatform",
"api_id": "aiplatform.googleapis.com",
"requires_billing": true,
"library_type": "GAPIC_AUTO",
"codeowner_team": "@googleapis/ml-apis"
"library_type": "GAPIC_AUTO"
}
4 changes: 2 additions & 2 deletions java-aiplatform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ 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.9.7'
implementation 'com.google.cloud:google-cloud-aiplatform:2.9.8'
```

If you are using SBT, add this to your dependencies

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "2.9.7"
libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "2.9.8"
```

## Authentication
Expand Down
12 changes: 12 additions & 0 deletions java-aiplatform/google-cloud-aiplatform/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-common-protos</artifactId>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-common-protos</artifactId>
</dependency>

<dependency>
<groupId>com.google.api.grpc</groupId>
Expand All @@ -66,6 +70,14 @@
<groupId>org.threeten</groupId>
<artifactId>threetenbp</artifactId>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-iam-v1</artifactId>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-iam-v1</artifactId>
</dependency>

<!-- Test dependencies -->
<dependency>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -19,6 +19,7 @@
import static com.google.cloud.aiplatform.v1.DatasetServiceClient.ListAnnotationsPagedResponse;
import static com.google.cloud.aiplatform.v1.DatasetServiceClient.ListDataItemsPagedResponse;
import static com.google.cloud.aiplatform.v1.DatasetServiceClient.ListDatasetsPagedResponse;
import static com.google.cloud.aiplatform.v1.DatasetServiceClient.ListLocationsPagedResponse;

import com.google.api.core.ApiFunction;
import com.google.api.core.BetaApi;
Expand All @@ -33,6 +34,15 @@
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.aiplatform.v1.stub.DatasetServiceStubSettings;
import com.google.cloud.location.GetLocationRequest;
import com.google.cloud.location.ListLocationsRequest;
import com.google.cloud.location.ListLocationsResponse;
import com.google.cloud.location.Location;
import com.google.iam.v1.GetIamPolicyRequest;
import com.google.iam.v1.Policy;
import com.google.iam.v1.SetIamPolicyRequest;
import com.google.iam.v1.TestIamPermissionsRequest;
import com.google.iam.v1.TestIamPermissionsResponse;
import com.google.longrunning.Operation;
import com.google.protobuf.Empty;
import java.io.IOException;
Expand All @@ -57,6 +67,8 @@
* <p>For example, to set the total timeout of getDataset to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* DatasetServiceSettings.Builder datasetServiceSettingsBuilder =
* DatasetServiceSettings.newBuilder();
* datasetServiceSettingsBuilder
Expand Down Expand Up @@ -152,6 +164,33 @@ public UnaryCallSettings<GetAnnotationSpecRequest, AnnotationSpec> getAnnotation
return ((DatasetServiceStubSettings) getStubSettings()).listAnnotationsSettings();
}

/** Returns the object with the settings used for calls to listLocations. */
public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
listLocationsSettings() {
return ((DatasetServiceStubSettings) getStubSettings()).listLocationsSettings();
}

/** Returns the object with the settings used for calls to getLocation. */
public UnaryCallSettings<GetLocationRequest, Location> getLocationSettings() {
return ((DatasetServiceStubSettings) getStubSettings()).getLocationSettings();
}

/** Returns the object with the settings used for calls to setIamPolicy. */
public UnaryCallSettings<SetIamPolicyRequest, Policy> setIamPolicySettings() {
return ((DatasetServiceStubSettings) getStubSettings()).setIamPolicySettings();
}

/** Returns the object with the settings used for calls to getIamPolicy. */
public UnaryCallSettings<GetIamPolicyRequest, Policy> getIamPolicySettings() {
return ((DatasetServiceStubSettings) getStubSettings()).getIamPolicySettings();
}

/** Returns the object with the settings used for calls to testIamPermissions. */
public UnaryCallSettings<TestIamPermissionsRequest, TestIamPermissionsResponse>
testIamPermissionsSettings() {
return ((DatasetServiceStubSettings) getStubSettings()).testIamPermissionsSettings();
}

public static final DatasetServiceSettings create(DatasetServiceStubSettings stub)
throws IOException {
return new DatasetServiceSettings.Builder(stub.toBuilder()).build();
Expand Down Expand Up @@ -333,6 +372,34 @@ public UnaryCallSettings.Builder<ExportDataRequest, Operation> exportDataSetting
return getStubSettingsBuilder().listAnnotationsSettings();
}

/** Returns the builder for the settings used for calls to listLocations. */
public PagedCallSettings.Builder<
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
listLocationsSettings() {
return getStubSettingsBuilder().listLocationsSettings();
}

/** Returns the builder for the settings used for calls to getLocation. */
public UnaryCallSettings.Builder<GetLocationRequest, Location> getLocationSettings() {
return getStubSettingsBuilder().getLocationSettings();
}

/** Returns the builder for the settings used for calls to setIamPolicy. */
public UnaryCallSettings.Builder<SetIamPolicyRequest, Policy> setIamPolicySettings() {
return getStubSettingsBuilder().setIamPolicySettings();
}

/** Returns the builder for the settings used for calls to getIamPolicy. */
public UnaryCallSettings.Builder<GetIamPolicyRequest, Policy> getIamPolicySettings() {
return getStubSettingsBuilder().getIamPolicySettings();
}

/** Returns the builder for the settings used for calls to testIamPermissions. */
public UnaryCallSettings.Builder<TestIamPermissionsRequest, TestIamPermissionsResponse>
testIamPermissionsSettings() {
return getStubSettingsBuilder().testIamPermissionsSettings();
}

@Override
public DatasetServiceSettings build() throws IOException {
return new DatasetServiceSettings(this);
Expand Down
Loading

0 comments on commit a2a404f

Please sign in to comment.