-
Notifications
You must be signed in to change notification settings - Fork 602
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add ValueType.STRUCT to Feature
feat: add encryption_spec to FeatureOnlineStore feat: add struct_value to FeatureValue feat: add encryption_spec, service_account, disable_container_logging to DeploymentResourcePool feat: add model_reference to Dataset feat: add tool_config to GenerateContentRequest feat: add dataplex_config to MetadataStore feat: add model_reference to DatasetVersion feat: add INVALID_SPARSE_DIMENSIONS, INVALID_SPARSE_EMBEDDING, INVALID_EMBEDDING to NearestNeighborSearchOperationMetadata.RecordError feat: add valid_sparse_record_count, invalid_sparse_record_count to NearestNeighborSearchOperationMetadata.ContentValidationStats feat: add sparse_embedding to IndexDatapoint feat: add sparse_vectors_count to IndexStats feat: add sparse_distance to FindNeighborsResponse.Neighbor feat: add more fields in FindNeighborsRequest.Query feat: add UpdateNotebookRuntimeTemplate to NotebookService feat: add direct_notebook_source to NotebookExecutionJob feat: add encryption_spec to NotebookRuntimeTemplate feat: add idle_shutdown_config, encryption_spec, satisfies_pzs, satisfies_pzi to NotebookRuntime feat: add RaySpec to PersistentResource fix!: An existing message `Segment` is removed fix!: An existing message `GroundingAttribution` is removed fix!: An existing field `grounding_attributions` is removed from message `.google.cloud.aiplatform.v1beta1.GroundingMetadata` fix!: An existing field `disable_attribution` is removed from message `.google.cloud.aiplatform.v1beta1.GoogleSearchRetrieval` docs: A comment for field `feature_vector` in message `.google.cloud.aiplatform.v1beta1.IndexDatapoint` is changed docs: A comment for field `vectors_count` in message `.google.cloud.aiplatform.v1beta1.IndexStats` is changed docs: A comment for enum value `EMBEDDING_SIZE_MISMATCH` in enum `RecordErrorType` is changed docs: A comment for field `exec` in message `.google.cloud.aiplatform.v1beta1.Probe` is changed PiperOrigin-RevId: 638338486 Source-Link: googleapis/googleapis@c2a9b99 Source-Link: googleapis/googleapis-gen@c4b0bd6 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6ImM0YjBiZDY4NmRkNjNkNWEzOGRmYjIyNDZkMTgwYzIxMTU5Nzc2YTgifQ==
- Loading branch information
1 parent
bda84ca
commit c3da8ec
Showing
1,207 changed files
with
1,737,745 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
**/node_modules | ||
**/.coverage | ||
build/ | ||
docs/ | ||
protos/ | ||
system-test/ | ||
samples/generated/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "./node_modules/gts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
**/*.log | ||
**/node_modules | ||
/.coverage | ||
/coverage | ||
/.nyc_output | ||
/docs/ | ||
/out/ | ||
/build/ | ||
system-test/secrets.js | ||
system-test/*key.json | ||
*.lock | ||
.DS_Store | ||
package-lock.json | ||
__pycache__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
// Copyright 2024 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
// ** This file is automatically generated by gapic-generator-typescript. ** | ||
// ** https://github.com/googleapis/gapic-generator-typescript ** | ||
// ** All changes to this file may be overwritten. ** | ||
|
||
'use strict'; | ||
|
||
module.exports = { | ||
opts: { | ||
readme: './README.md', | ||
package: './package.json', | ||
template: './node_modules/jsdoc-fresh', | ||
recurse: true, | ||
verbose: true, | ||
destination: './docs/' | ||
}, | ||
plugins: [ | ||
'plugins/markdown', | ||
'jsdoc-region-tag' | ||
], | ||
source: { | ||
excludePattern: '(^|\\/|\\\\)[._]', | ||
include: [ | ||
'build/src', | ||
'protos' | ||
], | ||
includePattern: '\\.js$' | ||
}, | ||
templates: { | ||
copyright: 'Copyright 2024 Google LLC', | ||
includeDate: false, | ||
sourceFiles: false, | ||
systemName: '@google-cloud/aiplatform', | ||
theme: 'lumen', | ||
default: { | ||
outputSourceFiles: false | ||
} | ||
}, | ||
markdown: { | ||
idInHeadings: true | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// Copyright 2024 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
// ** This file is automatically generated by gapic-generator-typescript. ** | ||
// ** https://github.com/googleapis/gapic-generator-typescript ** | ||
// ** All changes to this file may be overwritten. ** | ||
|
||
const config = { | ||
"enable-source-maps": true, | ||
"throw-deprecation": true, | ||
"timeout": 10000 | ||
} | ||
if (process.env.MOCHA_THROW_DEPRECATION === 'false') { | ||
delete config['throw-deprecation']; | ||
} | ||
if (process.env.MOCHA_REPORTER) { | ||
config.reporter = process.env.MOCHA_REPORTER; | ||
} | ||
if (process.env.MOCHA_REPORTER_OUTPUT) { | ||
config['reporter-option'] = `output=${process.env.MOCHA_REPORTER_OUTPUT}`; | ||
} | ||
module.exports = config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Copyright 2024 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
// ** This file is automatically generated by gapic-generator-typescript. ** | ||
// ** https://github.com/googleapis/gapic-generator-typescript ** | ||
// ** All changes to this file may be overwritten. ** | ||
|
||
|
||
module.exports = { | ||
...require('gts/.prettierrc.json') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Aiplatform: Nodejs Client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
{ | ||
"name": "@google-cloud/aiplatform", | ||
"version": "0.1.0", | ||
"description": "Aiplatform client for Node.js", | ||
"repository": "googleapis/nodejs-aiplatform", | ||
"license": "Apache-2.0", | ||
"author": "Google LLC", | ||
"main": "build/src/index.js", | ||
"files": [ | ||
"build/src", | ||
"build/protos" | ||
], | ||
"keywords": [ | ||
"google apis client", | ||
"google api client", | ||
"google apis", | ||
"google api", | ||
"google", | ||
"google cloud platform", | ||
"google cloud", | ||
"cloud", | ||
"google aiplatform", | ||
"aiplatform", | ||
"dataset service", | ||
"deployment resource pool service", | ||
"endpoint service", | ||
"feature online store admin service", | ||
"feature online store service", | ||
"feature registry service", | ||
"featurestore online serving service", | ||
"featurestore service", | ||
"gen ai tuning service", | ||
"index endpoint service", | ||
"index service", | ||
"job service", | ||
"llm utility service", | ||
"match service", | ||
"metadata service", | ||
"migration service", | ||
"model garden service", | ||
"model service", | ||
"notebook service", | ||
"persistent resource service", | ||
"pipeline service", | ||
"prediction service", | ||
"schedule service", | ||
"specialist pool service", | ||
"tensorboard service", | ||
"vizier service" | ||
], | ||
"scripts": { | ||
"clean": "gts clean", | ||
"compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", | ||
"compile-protos": "compileProtos src", | ||
"docs": "jsdoc -c .jsdoc.js", | ||
"fix": "gts fix", | ||
"lint": "gts check", | ||
"prepare": "npm run compile-protos && npm run compile", | ||
"system-test": "c8 mocha build/system-test", | ||
"test": "c8 mocha build/test" | ||
}, | ||
"dependencies": { | ||
"google-gax": "^4.3.3" | ||
}, | ||
"devDependencies": { | ||
"@types/mocha": "^10.0.6", | ||
"@types/node": "^20.12.12", | ||
"@types/sinon": "^10.0.20", | ||
"c8": "^9.1.0", | ||
"gapic-tools": "^0.4.2", | ||
"gts": "5.3.0", | ||
"jsdoc": "^4.0.3", | ||
"jsdoc-fresh": "^3.0.0", | ||
"jsdoc-region-tag": "^3.0.0", | ||
"mocha": "^10.4.0", | ||
"pack-n-play": "^2.0.3", | ||
"sinon": "^15.2.0", | ||
"typescript": "5.1.6" | ||
}, | ||
"engines": { | ||
"node": ">=v14" | ||
} | ||
} |
70 changes: 70 additions & 0 deletions
70
...aging/google-cloud-aiplatform/v1/protos/google/cloud/aiplatform/v1/accelerator_type.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
// Copyright 2024 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
syntax = "proto3"; | ||
|
||
package google.cloud.aiplatform.v1; | ||
|
||
option csharp_namespace = "Google.Cloud.AIPlatform.V1"; | ||
option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; | ||
option java_multiple_files = true; | ||
option java_outer_classname = "AcceleratorTypeProto"; | ||
option java_package = "com.google.cloud.aiplatform.v1"; | ||
option php_namespace = "Google\\Cloud\\AIPlatform\\V1"; | ||
option ruby_package = "Google::Cloud::AIPlatform::V1"; | ||
|
||
// Represents a hardware accelerator type. | ||
enum AcceleratorType { | ||
// Unspecified accelerator type, which means no accelerator. | ||
ACCELERATOR_TYPE_UNSPECIFIED = 0; | ||
|
||
// Nvidia Tesla K80 GPU. | ||
NVIDIA_TESLA_K80 = 1; | ||
|
||
// Nvidia Tesla P100 GPU. | ||
NVIDIA_TESLA_P100 = 2; | ||
|
||
// Nvidia Tesla V100 GPU. | ||
NVIDIA_TESLA_V100 = 3; | ||
|
||
// Nvidia Tesla P4 GPU. | ||
NVIDIA_TESLA_P4 = 4; | ||
|
||
// Nvidia Tesla T4 GPU. | ||
NVIDIA_TESLA_T4 = 5; | ||
|
||
// Nvidia Tesla A100 GPU. | ||
NVIDIA_TESLA_A100 = 8; | ||
|
||
// Nvidia A100 80GB GPU. | ||
NVIDIA_A100_80GB = 9; | ||
|
||
// Nvidia L4 GPU. | ||
NVIDIA_L4 = 11; | ||
|
||
// Nvidia H100 80Gb GPU. | ||
NVIDIA_H100_80GB = 13; | ||
|
||
// TPU v2. | ||
TPU_V2 = 6; | ||
|
||
// TPU v3. | ||
TPU_V3 = 7; | ||
|
||
// TPU v4. | ||
TPU_V4_POD = 10; | ||
|
||
// TPU v5. | ||
TPU_V5_LITEPOD = 12; | ||
} |
96 changes: 96 additions & 0 deletions
96
...bot-staging/google-cloud-aiplatform/v1/protos/google/cloud/aiplatform/v1/annotation.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
// Copyright 2024 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
syntax = "proto3"; | ||
|
||
package google.cloud.aiplatform.v1; | ||
|
||
import "google/api/field_behavior.proto"; | ||
import "google/api/resource.proto"; | ||
import "google/cloud/aiplatform/v1/user_action_reference.proto"; | ||
import "google/protobuf/struct.proto"; | ||
import "google/protobuf/timestamp.proto"; | ||
|
||
option csharp_namespace = "Google.Cloud.AIPlatform.V1"; | ||
option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; | ||
option java_multiple_files = true; | ||
option java_outer_classname = "AnnotationProto"; | ||
option java_package = "com.google.cloud.aiplatform.v1"; | ||
option php_namespace = "Google\\Cloud\\AIPlatform\\V1"; | ||
option ruby_package = "Google::Cloud::AIPlatform::V1"; | ||
|
||
// Used to assign specific AnnotationSpec to a particular area of a DataItem or | ||
// the whole part of the DataItem. | ||
message Annotation { | ||
option (google.api.resource) = { | ||
type: "aiplatform.googleapis.com/Annotation" | ||
pattern: "projects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}/annotations/{annotation}" | ||
}; | ||
|
||
// Output only. Resource name of the Annotation. | ||
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; | ||
|
||
// Required. Google Cloud Storage URI points to a YAML file describing | ||
// [payload][google.cloud.aiplatform.v1.Annotation.payload]. The schema is | ||
// defined as an [OpenAPI 3.0.2 Schema | ||
// Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). | ||
// The schema files that can be used here are found in | ||
// gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the | ||
// chosen schema must be consistent with the parent Dataset's | ||
// [metadata][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri]. | ||
string payload_schema_uri = 2 [(google.api.field_behavior) = REQUIRED]; | ||
|
||
// Required. The schema of the payload can be found in | ||
// [payload_schema][google.cloud.aiplatform.v1.Annotation.payload_schema_uri]. | ||
google.protobuf.Value payload = 3 [(google.api.field_behavior) = REQUIRED]; | ||
|
||
// Output only. Timestamp when this Annotation was created. | ||
google.protobuf.Timestamp create_time = 4 | ||
[(google.api.field_behavior) = OUTPUT_ONLY]; | ||
|
||
// Output only. Timestamp when this Annotation was last updated. | ||
google.protobuf.Timestamp update_time = 7 | ||
[(google.api.field_behavior) = OUTPUT_ONLY]; | ||
|
||
// Optional. Used to perform consistent read-modify-write updates. If not set, | ||
// a blind "overwrite" update happens. | ||
string etag = 8 [(google.api.field_behavior) = OPTIONAL]; | ||
|
||
// Output only. The source of the Annotation. | ||
UserActionReference annotation_source = 5 | ||
[(google.api.field_behavior) = OUTPUT_ONLY]; | ||
|
||
// Optional. The labels with user-defined metadata to organize your | ||
// Annotations. | ||
// | ||
// Label keys and values can be no longer than 64 characters | ||
// (Unicode codepoints), can only contain lowercase letters, numeric | ||
// characters, underscores and dashes. International characters are allowed. | ||
// No more than 64 user labels can be associated with one Annotation(System | ||
// labels are excluded). | ||
// | ||
// See https://goo.gl/xmQnxf for more information and examples of labels. | ||
// System reserved label keys are prefixed with "aiplatform.googleapis.com/" | ||
// and are immutable. Following system labels exist for each Annotation: | ||
// | ||
// * "aiplatform.googleapis.com/annotation_set_name": | ||
// optional, name of the UI's annotation set this Annotation belongs to. | ||
// If not set, the Annotation is not visible in the UI. | ||
// | ||
// * "aiplatform.googleapis.com/payload_schema": | ||
// output only, its value is the | ||
// [payload_schema's][google.cloud.aiplatform.v1.Annotation.payload_schema_uri] | ||
// title. | ||
map<string, string> labels = 6 [(google.api.field_behavior) = OPTIONAL]; | ||
} |
Oops, something went wrong.