diff --git a/packages/google-cloud-aiplatform/README.md b/packages/google-cloud-aiplatform/README.md index 4b947433b1b..d891051b368 100644 --- a/packages/google-cloud-aiplatform/README.md +++ b/packages/google-cloud-aiplatform/README.md @@ -289,6 +289,8 @@ Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/ | Model_service.update_explanation_dataset | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/model_service.update_explanation_dataset.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1/model_service.update_explanation_dataset.js,packages/google-cloud-aiplatform/samples/README.md) | | Model_service.update_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/model_service.update_model.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1/model_service.update_model.js,packages/google-cloud-aiplatform/samples/README.md) | | Model_service.upload_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/model_service.upload_model.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1/model_service.upload_model.js,packages/google-cloud-aiplatform/samples/README.md) | +| Pipeline_service.batch_cancel_pipeline_jobs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/pipeline_service.batch_cancel_pipeline_jobs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1/pipeline_service.batch_cancel_pipeline_jobs.js,packages/google-cloud-aiplatform/samples/README.md) | +| Pipeline_service.batch_delete_pipeline_jobs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/pipeline_service.batch_delete_pipeline_jobs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1/pipeline_service.batch_delete_pipeline_jobs.js,packages/google-cloud-aiplatform/samples/README.md) | | Pipeline_service.cancel_pipeline_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/pipeline_service.cancel_pipeline_job.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1/pipeline_service.cancel_pipeline_job.js,packages/google-cloud-aiplatform/samples/README.md) | | Pipeline_service.cancel_training_pipeline | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/pipeline_service.cancel_training_pipeline.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1/pipeline_service.cancel_training_pipeline.js,packages/google-cloud-aiplatform/samples/README.md) | | Pipeline_service.create_pipeline_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/pipeline_service.create_pipeline_job.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1/pipeline_service.create_pipeline_job.js,packages/google-cloud-aiplatform/samples/README.md) | diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/accelerator_type.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/accelerator_type.proto index de62b281e3a..1df5516e33d 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/accelerator_type.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/accelerator_type.proto @@ -53,6 +53,9 @@ enum AcceleratorType { // Nvidia L4 GPU. NVIDIA_L4 = 11; + // Nvidia H100 80Gb GPU. + NVIDIA_H100_80GB = 13; + // TPU v2. TPU_V2 = 6; diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/content.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/content.proto index e9678f035cb..331bb4ed460 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/content.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/content.proto @@ -201,12 +201,39 @@ message SafetyRating { HIGH = 4; } + // Harm severity levels. + enum HarmSeverity { + // Harm severity unspecified. + HARM_SEVERITY_UNSPECIFIED = 0; + + // Negligible level of harm severity. + HARM_SEVERITY_NEGLIGIBLE = 1; + + // Low level of harm severity. + HARM_SEVERITY_LOW = 2; + + // Medium level of harm severity. + HARM_SEVERITY_MEDIUM = 3; + + // High level of harm severity. + HARM_SEVERITY_HIGH = 4; + } + // Output only. Harm category. HarmCategory category = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Harm probability levels in the content. HarmProbability probability = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Harm probability score. + float probability_score = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Harm severity levels in the content. + HarmSeverity severity = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Harm severity score. + float severity_score = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Indicates whether the content was filtered out because of this // rating. bool blocked = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -265,6 +292,18 @@ message Candidate { // All other reasons that stopped the token generation OTHER = 5; + + // The token generation was stopped as the response was flagged for the + // terms which are included from the terminology blocklist. + BLOCKLIST = 6; + + // The token generation was stopped as the response was flagged for + // the prohibited contents. + PROHIBITED_CONTENT = 7; + + // The token generation was stopped as the response was flagged for + // Sensitive Personally Identifiable Information (SPII) contents. + SPII = 8; } // Output only. Index of the candidate. @@ -291,4 +330,60 @@ message Candidate { // Output only. Source attribution of the generated content. CitationMetadata citation_metadata = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Metadata specifies sources used to ground generated content. + GroundingMetadata grounding_metadata = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Segment of the content. +message Segment { + // Output only. The index of a Part object within its parent Content object. + int32 part_index = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Start index in the given Part, measured in bytes. Offset from + // the start of the Part, inclusive, starting at zero. + int32 start_index = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. End index in the given Part, measured in bytes. Offset from + // the start of the Part, exclusive, starting at zero. + int32 end_index = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Grounding attribution. +message GroundingAttribution { + // Attribution from the web. + message Web { + // Output only. URI reference of the attribution. + string uri = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Title of the attribution. + string title = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + oneof reference { + // Optional. Attribution from the web. + Web web = 3 [(google.api.field_behavior) = OPTIONAL]; + } + + // Output only. Segment of the content this attribution belongs to. + Segment segment = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Output only. Confidence score of the attribution. Ranges from 0 + // to 1. 1 is the most confident. + optional float confidence_score = 2 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.field_behavior) = OUTPUT_ONLY + ]; +} + +// Metadata returned to client when grounding is enabled. +message GroundingMetadata { + // Optional. Web search queries for the following-up web search. + repeated string web_search_queries = 1 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. List of grounding attributions. + repeated GroundingAttribution grounding_attributions = 2 + [(google.api.field_behavior) = OPTIONAL]; } diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/dataset_version.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/dataset_version.proto index 5a6dd1110d3..15cd762f4b9 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/dataset_version.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/dataset_version.proto @@ -18,6 +18,7 @@ package google.cloud.aiplatform.v1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; @@ -52,4 +53,15 @@ message DatasetVersion { // Output only. Name of the associated BigQuery dataset. string big_query_dataset_name = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The user-defined name of the DatasetVersion. + // The name can be up to 128 characters long and can consist of any UTF-8 + // characters. + string display_name = 7; + + // Required. Output only. Additional information about the DatasetVersion. + google.protobuf.Value metadata = 8 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.field_behavior) = REQUIRED + ]; } diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/endpoint_service.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/endpoint_service.proto index c1bd96271d9..5b1216b1a86 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/endpoint_service.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/endpoint_service.proto @@ -210,20 +210,23 @@ message ListEndpointsRequest { // Optional. An expression for filtering the results of the request. For field // names both snake_case and camelCase are supported. // - // * `endpoint` supports = and !=. `endpoint` represents the Endpoint ID, + // * `endpoint` supports `=` and `!=`. `endpoint` represents the Endpoint + // ID, // i.e. the last segment of the Endpoint's [resource // name][google.cloud.aiplatform.v1.Endpoint.name]. - // * `display_name` supports = and, != + // * `display_name` supports `=` and `!=`. // * `labels` supports general map functions that is: // * `labels.key=value` - key:value equality - // * `labels.key:* or labels:key - key existence + // * `labels.key:*` or `labels:key` - key existence // * A key including a space must be quoted. `labels."a key"`. + // * `base_model_name` only supports `=`. // // Some examples: // // * `endpoint=1` // * `displayName="myDisplayName"` // * `labels.myKey="myValue"` + // * `baseModelName="text-bison"` string filter = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The standard list page size. diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/feature_group.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/feature_group.proto index f92f5f61961..75562ea6e1b 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/feature_group.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/feature_group.proto @@ -47,8 +47,8 @@ message FeatureGroup { (google.api.field_behavior) = REQUIRED ]; - // Optional. Columns to construct entity_id / row keys. Currently only - // supports 1 entity_id_column. If not provided defaults to `entity_id`. + // Optional. Columns to construct entity_id / row keys. + // If not provided defaults to `entity_id`. repeated string entity_id_columns = 2 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/feature_view.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/feature_view.proto index 6ffec476295..07b5b139d3c 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/feature_view.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/feature_view.proto @@ -41,8 +41,7 @@ message FeatureView { // trigger based on FeatureView.SyncConfig. string uri = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. Columns to construct entity_id / row keys. Start by supporting - // 1 only. + // Required. Columns to construct entity_id / row keys. repeated string entity_id_columns = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -74,6 +73,9 @@ message FeatureView { // Required. List of features that need to be synced to Online Store. repeated FeatureGroup feature_groups = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The project number of the parent project of the Feature Groups. + optional int64 project_number = 2 [(google.api.field_behavior) = OPTIONAL]; } oneof source { diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/feature_view_sync.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/feature_view_sync.proto index 20357882bd2..b5d8f32e9b6 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/feature_view_sync.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/feature_view_sync.proto @@ -38,6 +38,16 @@ message FeatureViewSync { pattern: "projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/feature_view_sync" }; + // Summary from the Sync job. For continuous syncs, the summary is updated + // periodically. For batch syncs, it gets updated on completion of the sync. + message SyncSummary { + // Output only. Total number of rows synced. + int64 row_synced = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. BigQuery slot milliseconds consumed for the sync job. + int64 total_slot = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + // Identifier. Name of the FeatureViewSync. Format: // `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}` string name = 1 [(google.api.field_behavior) = IDENTIFIER]; @@ -54,4 +64,7 @@ message FeatureViewSync { // Output only. Final status of the FeatureViewSync. google.rpc.Status final_status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Summary of the sync job. + SyncSummary sync_summary = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/index.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/index.proto index 6766741240e..df0bfe52fc2 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/index.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/index.proto @@ -168,6 +168,9 @@ message IndexDatapoint { // Datapoints are eligible iff their value is > the query's. GREATER = 5; + + // Datapoints are eligible iff their value is != the query's. + NOT_EQUAL = 6; } // The type of Value must be consistent for all datapoints with a given diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/model.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/model.proto index fa1a9eb8bf9..d639cae7b26 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/model.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/model.proto @@ -133,6 +133,18 @@ message Model { ]; } + // User input field to specify the base model source. Currently it only + // supports specifing the Model Garden models and Genie models. + message BaseModelSource { + oneof source { + // Source information of Model Garden models. + ModelGardenSource model_garden_source = 1; + + // Information about the base model of Genie models. + GenieSource genie_source = 2; + } + } + // Identifies a type of Model's prediction resources. enum DeploymentResourcesType { // Should not be used. @@ -452,6 +464,11 @@ message Model { // is // `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`. string metadata_artifact = 44 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. User input field to specify the base model source. Currently it + // only supports specifing the Model Garden models and Genie models. + BaseModelSource base_model_source = 50 + [(google.api.field_behavior) = OPTIONAL]; } // Contains information about the Large Model. @@ -462,6 +479,20 @@ message LargeModelReference { string name = 1 [(google.api.field_behavior) = REQUIRED]; } +// Contains information about the source of the models generated from Model +// Garden. +message ModelGardenSource { + // Required. The model garden source model resource name. + string public_model_name = 1 [(google.api.field_behavior) = REQUIRED]; +} + +// Contains information about the source of the models generated from Generative +// AI Studio. +message GenieSource { + // Required. The public base model URI. + string base_model_uri = 1 [(google.api.field_behavior) = REQUIRED]; +} + // Contains the schemata used in Model's predictions and explanations via // [PredictionService.Predict][google.cloud.aiplatform.v1.PredictionService.Predict], // [PredictionService.Explain][google.cloud.aiplatform.v1.PredictionService.Explain] diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/model_service.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/model_service.proto index 957d92e8a55..e6ea3e8f3ff 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/model_service.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/model_service.proto @@ -358,12 +358,14 @@ message ListModelsRequest { // * `labels.key=value` - key:value equality // * `labels.key:* or labels:key - key existence // * A key including a space must be quoted. `labels."a key"`. + // * `base_model_name` only supports = // // Some examples: // // * `model=1234` // * `displayName="myDisplayName"` // * `labels.myKey="myValue"` + // * `baseModelName="text-bison"` string filter = 2; // The standard list page size. diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/pipeline_service.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/pipeline_service.proto index c500559d931..8f466177027 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/pipeline_service.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/pipeline_service.proto @@ -148,6 +148,22 @@ service PipelineService { }; } + // Batch deletes PipelineJobs + // The Operation is atomic. If it fails, none of the PipelineJobs are deleted. + // If it succeeds, all of the PipelineJobs are deleted. + rpc BatchDeletePipelineJobs(BatchDeletePipelineJobsRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}/pipelineJobs:batchDelete" + body: "*" + }; + option (google.api.method_signature) = "parent,names"; + option (google.longrunning.operation_info) = { + response_type: "BatchDeletePipelineJobsResponse" + metadata_type: "DeleteOperationMetadata" + }; + } + // Cancels a PipelineJob. // Starts asynchronous cancellation on the PipelineJob. The server // makes a best effort to cancel the pipeline, but success is not @@ -169,6 +185,33 @@ service PipelineService { }; option (google.api.method_signature) = "name"; } + + // Batch cancel PipelineJobs. + // Firstly the server will check if all the jobs are in non-terminal states, + // and skip the jobs that are already terminated. + // If the operation failed, none of the pipeline jobs are cancelled. + // The server will poll the states of all the pipeline jobs periodically + // to check the cancellation status. + // This operation will return an LRO. + rpc BatchCancelPipelineJobs(BatchCancelPipelineJobsRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}/pipelineJobs:batchCancel" + body: "*" + }; + option (google.api.method_signature) = "parent,names"; + option (google.longrunning.operation_info) = { + response_type: "BatchCancelPipelineJobsResponse" + metadata_type: "BatchCancelPipelineJobsOperationMetadata" + }; + } +} + +// Runtime operation information for +// [PipelineService.BatchCancelPipelineJobs][google.cloud.aiplatform.v1.PipelineService.BatchCancelPipelineJobs]. +message BatchCancelPipelineJobsOperationMetadata { + // The common part of the operation metadata. + GenericOperationMetadata generic_metadata = 1; } // Request message for @@ -435,6 +478,37 @@ message DeletePipelineJobRequest { ]; } +// Request message for +// [PipelineService.BatchDeletePipelineJobs][google.cloud.aiplatform.v1.PipelineService.BatchDeletePipelineJobs]. +message BatchDeletePipelineJobsRequest { + // Required. The name of the PipelineJobs' parent resource. + // Format: `projects/{project}/locations/{location}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "aiplatform.googleapis.com/PipelineJob" + } + ]; + + // Required. The names of the PipelineJobs to delete. + // A maximum of 32 PipelineJobs can be deleted in a batch. + // Format: + // `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}` + repeated string names = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/PipelineJob" + } + ]; +} + +// Response message for +// [PipelineService.BatchDeletePipelineJobs][google.cloud.aiplatform.v1.PipelineService.BatchDeletePipelineJobs]. +message BatchDeletePipelineJobsResponse { + // PipelineJobs deleted. + repeated PipelineJob pipeline_jobs = 1; +} + // Request message for // [PipelineService.CancelPipelineJob][google.cloud.aiplatform.v1.PipelineService.CancelPipelineJob]. message CancelPipelineJobRequest { @@ -448,3 +522,34 @@ message CancelPipelineJobRequest { } ]; } + +// Request message for +// [PipelineService.BatchCancelPipelineJobs][google.cloud.aiplatform.v1.PipelineService.BatchCancelPipelineJobs]. +message BatchCancelPipelineJobsRequest { + // Required. The name of the PipelineJobs' parent resource. + // Format: `projects/{project}/locations/{location}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "aiplatform.googleapis.com/PipelineJob" + } + ]; + + // Required. The names of the PipelineJobs to cancel. + // A maximum of 32 PipelineJobs can be cancelled in a batch. + // Format: + // `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}` + repeated string names = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/PipelineJob" + } + ]; +} + +// Response message for +// [PipelineService.BatchCancelPipelineJobs][google.cloud.aiplatform.v1.PipelineService.BatchCancelPipelineJobs]. +message BatchCancelPipelineJobsResponse { + // PipelineJobs cancelled. + repeated PipelineJob pipeline_jobs = 1; +} diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/publisher_model.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/publisher_model.proto index 4bfe02119b3..0f2b57a4e20 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/publisher_model.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/publisher_model.proto @@ -243,16 +243,23 @@ message PublisherModel { // The model launch stage is unspecified. LAUNCH_STAGE_UNSPECIFIED = 0; - // Used to indicate the PublisherModel is at Experimental launch stage. + // Used to indicate the PublisherModel is at Experimental launch stage, + // available to a small set of customers. EXPERIMENTAL = 1; - // Used to indicate the PublisherModel is at Private Preview launch stage. + // Used to indicate the PublisherModel is at Private Preview launch stage, + // only available to a small set of customers, although a larger set of + // customers than an Experimental launch. Previews are the first launch + // stage used to get feedback from customers. PRIVATE_PREVIEW = 2; - // Used to indicate the PublisherModel is at Public Preview launch stage. + // Used to indicate the PublisherModel is at Public Preview launch stage, + // available to all customers, although not supported for production + // workloads. PUBLIC_PREVIEW = 3; - // Used to indicate the PublisherModel is at GA launch stage. + // Used to indicate the PublisherModel is at GA launch stage, available to + // all customers and ready for production workload. GA = 4; } diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/tool.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/tool.proto index 0837b809541..58dbb77e953 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/tool.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/tool.proto @@ -17,6 +17,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; import "google/cloud/aiplatform/v1/openapi.proto"; import "google/protobuf/struct.proto"; @@ -32,18 +33,31 @@ option ruby_package = "Google::Cloud::AIPlatform::V1"; // // A `Tool` is a piece of code that enables the system to interact with // external systems to perform an action, or set of actions, outside of -// knowledge and scope of the model. +// knowledge and scope of the model. A Tool object should contain exactly +// one type of Tool (e.g FunctionDeclaration, Retrieval or +// GoogleSearchRetrieval). message Tool { - // Optional. One or more function declarations to be passed to the model along - // with the current user query. Model may decide to call a subset of these - // functions by populating [FunctionCall][content.part.function_call] in the - // response. User should provide a - // [FunctionResponse][content.part.function_response] for each function call - // in the next turn. Based on the function responses, Model will generate the - // final response back to the user. Maximum 64 function declarations can be - // provided. + // Optional. Function tool type. + // One or more function declarations to be passed to the model along with the + // current user query. Model may decide to call a subset of these functions + // by populating [FunctionCall][content.part.function_call] in the response. + // User should provide a [FunctionResponse][content.part.function_response] + // for each function call in the next turn. Based on the function responses, + // Model will generate the final response back to the user. + // Maximum 64 function declarations can be provided. repeated FunctionDeclaration function_declarations = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Retrieval tool type. + // System will always execute the provided retrieval tool(s) to get external + // knowledge to answer the prompt. Retrieval results are presented to the + // model for generation. + Retrieval retrieval = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. GoogleSearchRetrieval tool type. + // Specialized retrieval tool that is powered by Google search. + GoogleSearchRetrieval google_search_retrieval = 3 + [(google.api.field_behavior) = OPTIONAL]; } // Structured representation of a function declaration as defined by the @@ -102,3 +116,33 @@ message FunctionResponse { // Required. The function response in JSON object format. google.protobuf.Struct response = 2 [(google.api.field_behavior) = REQUIRED]; } + +// Defines a retrieval tool that model can call to access external knowledge. +message Retrieval { + oneof source { + // Set to use data source powered by Vertex AI Search. + VertexAISearch vertex_ai_search = 2; + } + + // Optional. Disable using the result from this tool in detecting grounding + // attribution. This does not affect how the result is given to the model for + // generation. + bool disable_attribution = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Retrieve from Vertex AI Search datastore for grounding. +// See https://cloud.google.com/vertex-ai-search-and-conversation +message VertexAISearch { + // Required. Fully-qualified Vertex AI Search's datastore resource ID. + // Format: + // projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore} + string datastore = 1 [(google.api.field_behavior) = REQUIRED]; +} + +// Tool to retrieve public web data for grounding, powered by Google. +message GoogleSearchRetrieval { + // Optional. Disable using the result from this tool in detecting grounding + // attribution. This does not affect how the result is given to the model for + // generation. + bool disable_attribution = 1 [(google.api.field_behavior) = OPTIONAL]; +} diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/content.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/content.proto index b5df1dbaa36..4aa98bfef1c 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/content.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/content.proto @@ -201,12 +201,39 @@ message SafetyRating { HIGH = 4; } + // Harm severity levels. + enum HarmSeverity { + // Harm severity unspecified. + HARM_SEVERITY_UNSPECIFIED = 0; + + // Negligible level of harm severity. + HARM_SEVERITY_NEGLIGIBLE = 1; + + // Low level of harm severity. + HARM_SEVERITY_LOW = 2; + + // Medium level of harm severity. + HARM_SEVERITY_MEDIUM = 3; + + // High level of harm severity. + HARM_SEVERITY_HIGH = 4; + } + // Output only. Harm category. HarmCategory category = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Harm probability levels in the content. HarmProbability probability = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Harm probability score. + float probability_score = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Harm severity levels in the content. + HarmSeverity severity = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Harm severity score. + float severity_score = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Indicates whether the content was filtered out because of this // rating. bool blocked = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -265,6 +292,18 @@ message Candidate { // All other reasons that stopped the token generation OTHER = 5; + + // The token generation was stopped as the response was flagged for the + // terms which are included from the terminology blocklist. + BLOCKLIST = 6; + + // The token generation was stopped as the response was flagged for + // the prohibited contents. + PROHIBITED_CONTENT = 7; + + // The token generation was stopped as the response was flagged for + // Sensitive Personally Identifiable Information (SPII) contents. + SPII = 8; } // Output only. Index of the candidate. diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/dataset_version.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/dataset_version.proto index 7bac1f0deed..a20529fcaa9 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/dataset_version.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/dataset_version.proto @@ -18,6 +18,7 @@ package google.cloud.aiplatform.v1beta1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; @@ -52,4 +53,15 @@ message DatasetVersion { // Output only. Name of the associated BigQuery dataset. string big_query_dataset_name = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The user-defined name of the DatasetVersion. + // The name can be up to 128 characters long and can consist of any UTF-8 + // characters. + string display_name = 7; + + // Required. Output only. Additional information about the DatasetVersion. + google.protobuf.Value metadata = 8 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.field_behavior) = REQUIRED + ]; } diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/endpoint_service.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/endpoint_service.proto index ed53e165258..06654326abf 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/endpoint_service.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/endpoint_service.proto @@ -218,12 +218,14 @@ message ListEndpointsRequest { // * `labels.key=value` - key:value equality // * `labels.key:* or labels:key - key existence // * A key including a space must be quoted. `labels."a key"`. + // * `base_model_name` only supports = // // Some examples: // // * `endpoint=1` // * `displayName="myDisplayName"` // * `labels.myKey="myValue"` + // * `baseModelName="text-bison"` string filter = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The standard list page size. diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/feature_group.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/feature_group.proto index 93f1e062b44..df1588fc3dc 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/feature_group.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/feature_group.proto @@ -47,8 +47,8 @@ message FeatureGroup { (google.api.field_behavior) = REQUIRED ]; - // Optional. Columns to construct entity_id / row keys. Currently only - // supports 1 entity_id_column. If not provided defaults to `entity_id`. + // Optional. Columns to construct entity_id / row keys. + // If not provided defaults to `entity_id`. repeated string entity_id_columns = 2 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/feature_view.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/feature_view.proto index e24188e27ce..aa9f82e30d0 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/feature_view.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/feature_view.proto @@ -41,8 +41,7 @@ message FeatureView { // trigger based on FeatureView.SyncConfig. string uri = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. Columns to construct entity_id / row keys. Start by supporting - // 1 only. + // Required. Columns to construct entity_id / row keys. repeated string entity_id_columns = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -58,8 +57,12 @@ message FeatureView { string cron = 1; } - // Configuration for vector search. + // Deprecated. Use + // [IndexConfig][google.cloud.aiplatform.v1beta1.FeatureView.IndexConfig] + // instead. message VectorSearchConfig { + option deprecated = true; + message BruteForceConfig {} message TreeAHConfig { @@ -145,6 +148,9 @@ message FeatureView { // Required. List of features that need to be synced to Online Store. repeated FeatureGroup feature_groups = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The project number of the parent project of the Feature Groups. + optional int64 project_number = 2 [(google.api.field_behavior) = OPTIONAL]; } // Service agent type used during data sync. @@ -209,12 +215,11 @@ message FeatureView { // FeatureView are made ready for online serving. SyncConfig sync_config = 7; - // Optional. Configuration for vector search. It contains the required - // configurations to create an index from source data, so that approximate - // nearest neighbor (a.k.a ANN) algorithms search can be performed during - // online serving. + // Optional. Deprecated: please use + // [FeatureView.index_config][google.cloud.aiplatform.v1beta1.FeatureView.index_config] + // instead. VectorSearchConfig vector_search_config = 8 - [(google.api.field_behavior) = OPTIONAL]; + [deprecated = true, (google.api.field_behavior) = OPTIONAL]; // Optional. Service agent type used during data sync. By default, the Vertex // AI Service Agent is used. When using an IAM Policy to isolate this diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/feature_view_sync.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/feature_view_sync.proto index 4f2514fe67a..c204d9da3fc 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/feature_view_sync.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/feature_view_sync.proto @@ -38,6 +38,16 @@ message FeatureViewSync { pattern: "projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/feature_view_sync" }; + // Summary from the Sync job. For continuous syncs, the summary is updated + // periodically. For batch syncs, it gets updated on completion of the sync. + message SyncSummary { + // Output only. Total number of rows synced. + int64 row_synced = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. BigQuery slot milliseconds consumed for the sync job. + int64 total_slot = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + // Identifier. Name of the FeatureViewSync. Format: // `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}` string name = 1 [(google.api.field_behavior) = IDENTIFIER]; @@ -54,4 +64,7 @@ message FeatureViewSync { // Output only. Final status of the FeatureViewSync. google.rpc.Status final_status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Summary of the sync job. + SyncSummary sync_summary = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/index.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/index.proto index 2f191141a62..dcf3b83720e 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/index.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/index.proto @@ -168,6 +168,9 @@ message IndexDatapoint { // Datapoints are eligible iff their value is > the query's. GREATER = 5; + + // Datapoints are eligible iff their value is != the query's. + NOT_EQUAL = 6; } // The type of Value must be consistent for all datapoints with a given diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/model.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/model.proto index 900cd8c0d2a..89e8d9f9c86 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/model.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/model.proto @@ -104,6 +104,18 @@ message Model { ]; } + // User input field to specify the base model source. Currently it only + // supports specifing the Model Garden models and Genie models. + message BaseModelSource { + oneof source { + // Source information of Model Garden models. + ModelGardenSource model_garden_source = 1; + + // Information about the base model of Genie models. + GenieSource genie_source = 2; + } + } + // Identifies a type of Model's prediction resources. enum DeploymentResourcesType { // Should not be used. @@ -411,6 +423,11 @@ message Model { // is // `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`. string metadata_artifact = 44 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. User input field to specify the base model source. Currently it + // only supports specifing the Model Garden models and Genie models. + BaseModelSource base_model_source = 50 + [(google.api.field_behavior) = OPTIONAL]; } // Contains information about the Large Model. @@ -421,6 +438,20 @@ message LargeModelReference { string name = 1 [(google.api.field_behavior) = REQUIRED]; } +// Contains information about the source of the models generated from Model +// Garden. +message ModelGardenSource { + // Required. The model garden source model resource name. + string public_model_name = 1 [(google.api.field_behavior) = REQUIRED]; +} + +// Contains information about the source of the models generated from Generative +// AI Studio. +message GenieSource { + // Required. The public base model URI. + string base_model_uri = 1 [(google.api.field_behavior) = REQUIRED]; +} + // Contains the schemata used in Model's predictions and explanations via // [PredictionService.Predict][google.cloud.aiplatform.v1beta1.PredictionService.Predict], // [PredictionService.Explain][google.cloud.aiplatform.v1beta1.PredictionService.Explain] diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/model_service.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/model_service.proto index 04552c013e6..483bd69ad99 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/model_service.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/model_service.proto @@ -358,12 +358,14 @@ message ListModelsRequest { // * `labels.key=value` - key:value equality // * `labels.key:* or labels:key - key existence // * A key including a space must be quoted. `labels."a key"`. + // * `base_model_name` only supports = // // Some examples: // // * `model=1234` // * `displayName="myDisplayName"` // * `labels.myKey="myValue"` + // * `baseModelName="text-bison"` string filter = 2; // The standard list page size. diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/persistent_resource_service.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/persistent_resource_service.proto index 2213921ccbb..d68d30c10cb 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/persistent_resource_service.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/persistent_resource_service.proto @@ -129,12 +129,18 @@ message CreatePersistentResourceRequest { message CreatePersistentResourceOperationMetadata { // Operation metadata for PersistentResource. GenericOperationMetadata generic_metadata = 1; + + // Progress Message for Create LRO + string progress_message = 2; } // Details of operations that perform update PersistentResource. message UpdatePersistentResourceOperationMetadata { // Operation metadata for PersistentResource. GenericOperationMetadata generic_metadata = 1; + + // Progress Message for Update LRO + string progress_message = 2; } // Request message for diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/pipeline_job.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/pipeline_job.proto index b97931f7b08..b794e2c58bc 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/pipeline_job.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/pipeline_job.proto @@ -213,6 +213,9 @@ message PipelineJob { // Output only. The schedule resource name. // Only returned if the Pipeline is created by Schedule API. string schedule_name = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Whether to do component level validations before job creation. + bool preflight_validations = 26 [(google.api.field_behavior) = OPTIONAL]; } // Pipeline template metadata if diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/pipeline_service.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/pipeline_service.proto index 116acce396c..053de082120 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/pipeline_service.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/pipeline_service.proto @@ -357,10 +357,6 @@ message CreatePipelineJobRequest { // This value should be less than 128 characters, and valid characters // are `/[a-z][0-9]-/`. string pipeline_job_id = 3; - - // Optional. Whether to do component level validations before job creation. - // Currently we only support Google First Party Component/Pipelines. - bool preflight_validations = 4 [(google.api.field_behavior) = OPTIONAL]; } // Request message for diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/publisher_model.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/publisher_model.proto index 98e556fba3c..eef50dadcf9 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/publisher_model.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/publisher_model.proto @@ -253,16 +253,23 @@ message PublisherModel { // The model launch stage is unspecified. LAUNCH_STAGE_UNSPECIFIED = 0; - // Used to indicate the PublisherModel is at Experimental launch stage. + // Used to indicate the PublisherModel is at Experimental launch stage, + // available to a small set of customers. EXPERIMENTAL = 1; - // Used to indicate the PublisherModel is at Private Preview launch stage. + // Used to indicate the PublisherModel is at Private Preview launch stage, + // only available to a small set of customers, although a larger set of + // customers than an Experimental launch. Previews are the first launch + // stage used to get feedback from customers. PRIVATE_PREVIEW = 2; - // Used to indicate the PublisherModel is at Public Preview launch stage. + // Used to indicate the PublisherModel is at Public Preview launch stage, + // available to all customers, although not supported for production + // workloads. PUBLIC_PREVIEW = 3; - // Used to indicate the PublisherModel is at GA launch stage. + // Used to indicate the PublisherModel is at GA launch stage, available to + // all customers and ready for production workload. GA = 4; } diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/tool.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/tool.proto index 98f105eb4da..a88b2f13226 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/tool.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/tool.proto @@ -17,6 +17,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/openapi.proto"; import "google/protobuf/struct.proto"; @@ -33,25 +34,28 @@ option ruby_package = "Google::Cloud::AIPlatform::V1beta1"; // A `Tool` is a piece of code that enables the system to interact with // external systems to perform an action, or set of actions, outside of // knowledge and scope of the model. A Tool object should contain exactly -// one type of Tool. +// one type of Tool (e.g FunctionDeclaration, Retrieval or +// GoogleSearchRetrieval). message Tool { - // Optional. One or more function declarations to be passed to the model along - // with the current user query. Model may decide to call a subset of these - // functions by populating [FunctionCall][content.part.function_call] in the - // response. User should provide a - // [FunctionResponse][content.part.function_response] for each function call - // in the next turn. Based on the function responses, Model will generate the - // final response back to the user. Maximum 64 function declarations can be - // provided. + // Optional. Function tool type. + // One or more function declarations to be passed to the model along with the + // current user query. Model may decide to call a subset of these functions + // by populating [FunctionCall][content.part.function_call] in the response. + // User should provide a [FunctionResponse][content.part.function_response] + // for each function call in the next turn. Based on the function responses, + // Model will generate the final response back to the user. + // Maximum 64 function declarations can be provided. repeated FunctionDeclaration function_declarations = 1 [(google.api.field_behavior) = OPTIONAL]; - // Optional. System will always execute the provided retrieval tool(s) to get - // external knowledge to answer the prompt. Retrieval results are presented to - // the model for generation. + // Optional. Retrieval tool type. + // System will always execute the provided retrieval tool(s) to get external + // knowledge to answer the prompt. Retrieval results are presented to the + // model for generation. Retrieval retrieval = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Specialized retrieval tool that is powered by Google search. + // Optional. GoogleSearchRetrieval tool type. + // Specialized retrieval tool that is powered by Google search. GoogleSearchRetrieval google_search_retrieval = 3 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/packages/google-cloud-aiplatform/protos/protos.d.ts b/packages/google-cloud-aiplatform/protos/protos.d.ts index f039df5fde1..36ed8c74f85 100644 --- a/packages/google-cloud-aiplatform/protos/protos.d.ts +++ b/packages/google-cloud-aiplatform/protos/protos.d.ts @@ -37,6 +37,7 @@ export namespace google { NVIDIA_TESLA_A100 = 8, NVIDIA_A100_80GB = 9, NVIDIA_L4 = 11, + NVIDIA_H100_80GB = 13, TPU_V2 = 6, TPU_V3 = 7, TPU_V4_POD = 10 @@ -6638,6 +6639,9 @@ export namespace google { /** Model metadataArtifact */ metadataArtifact?: (string|null); + + /** Model baseModelSource */ + baseModelSource?: (google.cloud.aiplatform.v1.Model.IBaseModelSource|null); } /** Represents a Model. */ @@ -6739,6 +6743,9 @@ export namespace google { /** Model metadataArtifact. */ public metadataArtifact: string; + /** Model baseModelSource. */ + public baseModelSource?: (google.cloud.aiplatform.v1.Model.IBaseModelSource|null); + /** * Creates a new Model instance using the specified properties. * @param [properties] Properties to set @@ -7156,6 +7163,112 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } + /** Properties of a BaseModelSource. */ + interface IBaseModelSource { + + /** BaseModelSource modelGardenSource */ + modelGardenSource?: (google.cloud.aiplatform.v1.IModelGardenSource|null); + + /** BaseModelSource genieSource */ + genieSource?: (google.cloud.aiplatform.v1.IGenieSource|null); + } + + /** Represents a BaseModelSource. */ + class BaseModelSource implements IBaseModelSource { + + /** + * Constructs a new BaseModelSource. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.Model.IBaseModelSource); + + /** BaseModelSource modelGardenSource. */ + public modelGardenSource?: (google.cloud.aiplatform.v1.IModelGardenSource|null); + + /** BaseModelSource genieSource. */ + public genieSource?: (google.cloud.aiplatform.v1.IGenieSource|null); + + /** BaseModelSource source. */ + public source?: ("modelGardenSource"|"genieSource"); + + /** + * Creates a new BaseModelSource instance using the specified properties. + * @param [properties] Properties to set + * @returns BaseModelSource instance + */ + public static create(properties?: google.cloud.aiplatform.v1.Model.IBaseModelSource): google.cloud.aiplatform.v1.Model.BaseModelSource; + + /** + * Encodes the specified BaseModelSource message. Does not implicitly {@link google.cloud.aiplatform.v1.Model.BaseModelSource.verify|verify} messages. + * @param message BaseModelSource message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.Model.IBaseModelSource, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified BaseModelSource message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.Model.BaseModelSource.verify|verify} messages. + * @param message BaseModelSource message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.Model.IBaseModelSource, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BaseModelSource message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BaseModelSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1.Model.BaseModelSource; + + /** + * Decodes a BaseModelSource message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns BaseModelSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1.Model.BaseModelSource; + + /** + * Verifies a BaseModelSource message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a BaseModelSource message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns BaseModelSource + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.Model.BaseModelSource; + + /** + * Creates a plain object from a BaseModelSource message. Also converts values to other types if specified. + * @param message BaseModelSource + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.Model.BaseModelSource, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this BaseModelSource to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BaseModelSource + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + /** DeploymentResourcesType enum. */ enum DeploymentResourcesType { DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED = 0, @@ -7262,6 +7375,200 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } + /** Properties of a ModelGardenSource. */ + interface IModelGardenSource { + + /** ModelGardenSource publicModelName */ + publicModelName?: (string|null); + } + + /** Represents a ModelGardenSource. */ + class ModelGardenSource implements IModelGardenSource { + + /** + * Constructs a new ModelGardenSource. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IModelGardenSource); + + /** ModelGardenSource publicModelName. */ + public publicModelName: string; + + /** + * Creates a new ModelGardenSource instance using the specified properties. + * @param [properties] Properties to set + * @returns ModelGardenSource instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IModelGardenSource): google.cloud.aiplatform.v1.ModelGardenSource; + + /** + * Encodes the specified ModelGardenSource message. Does not implicitly {@link google.cloud.aiplatform.v1.ModelGardenSource.verify|verify} messages. + * @param message ModelGardenSource message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IModelGardenSource, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ModelGardenSource message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.ModelGardenSource.verify|verify} messages. + * @param message ModelGardenSource message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IModelGardenSource, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ModelGardenSource message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ModelGardenSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1.ModelGardenSource; + + /** + * Decodes a ModelGardenSource message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ModelGardenSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1.ModelGardenSource; + + /** + * Verifies a ModelGardenSource message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ModelGardenSource message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ModelGardenSource + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.ModelGardenSource; + + /** + * Creates a plain object from a ModelGardenSource message. Also converts values to other types if specified. + * @param message ModelGardenSource + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.ModelGardenSource, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ModelGardenSource to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ModelGardenSource + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GenieSource. */ + interface IGenieSource { + + /** GenieSource baseModelUri */ + baseModelUri?: (string|null); + } + + /** Represents a GenieSource. */ + class GenieSource implements IGenieSource { + + /** + * Constructs a new GenieSource. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IGenieSource); + + /** GenieSource baseModelUri. */ + public baseModelUri: string; + + /** + * Creates a new GenieSource instance using the specified properties. + * @param [properties] Properties to set + * @returns GenieSource instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IGenieSource): google.cloud.aiplatform.v1.GenieSource; + + /** + * Encodes the specified GenieSource message. Does not implicitly {@link google.cloud.aiplatform.v1.GenieSource.verify|verify} messages. + * @param message GenieSource message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IGenieSource, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GenieSource message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.GenieSource.verify|verify} messages. + * @param message GenieSource message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IGenieSource, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GenieSource message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GenieSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1.GenieSource; + + /** + * Decodes a GenieSource message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GenieSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1.GenieSource; + + /** + * Verifies a GenieSource message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GenieSource message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GenieSource + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.GenieSource; + + /** + * Creates a plain object from a GenieSource message. Also converts values to other types if specified. + * @param message GenieSource + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.GenieSource, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GenieSource to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GenieSource + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + /** Properties of a PredictSchemata. */ interface IPredictSchemata { @@ -8987,6 +9294,15 @@ export namespace google { /** SafetyRating probability */ probability?: (google.cloud.aiplatform.v1.SafetyRating.HarmProbability|keyof typeof google.cloud.aiplatform.v1.SafetyRating.HarmProbability|null); + /** SafetyRating probabilityScore */ + probabilityScore?: (number|null); + + /** SafetyRating severity */ + severity?: (google.cloud.aiplatform.v1.SafetyRating.HarmSeverity|keyof typeof google.cloud.aiplatform.v1.SafetyRating.HarmSeverity|null); + + /** SafetyRating severityScore */ + severityScore?: (number|null); + /** SafetyRating blocked */ blocked?: (boolean|null); } @@ -9006,6 +9322,15 @@ export namespace google { /** SafetyRating probability. */ public probability: (google.cloud.aiplatform.v1.SafetyRating.HarmProbability|keyof typeof google.cloud.aiplatform.v1.SafetyRating.HarmProbability); + /** SafetyRating probabilityScore. */ + public probabilityScore: number; + + /** SafetyRating severity. */ + public severity: (google.cloud.aiplatform.v1.SafetyRating.HarmSeverity|keyof typeof google.cloud.aiplatform.v1.SafetyRating.HarmSeverity); + + /** SafetyRating severityScore. */ + public severityScore: number; + /** SafetyRating blocked. */ public blocked: boolean; @@ -9097,6 +9422,15 @@ export namespace google { MEDIUM = 3, HIGH = 4 } + + /** HarmSeverity enum. */ + enum HarmSeverity { + HARM_SEVERITY_UNSPECIFIED = 0, + HARM_SEVERITY_NEGLIGIBLE = 1, + HARM_SEVERITY_LOW = 2, + HARM_SEVERITY_MEDIUM = 3, + HARM_SEVERITY_HIGH = 4 + } } /** Properties of a CitationMetadata. */ @@ -9343,6 +9677,9 @@ export namespace google { /** Candidate citationMetadata */ citationMetadata?: (google.cloud.aiplatform.v1.ICitationMetadata|null); + + /** Candidate groundingMetadata */ + groundingMetadata?: (google.cloud.aiplatform.v1.IGroundingMetadata|null); } /** Represents a Candidate. */ @@ -9372,6 +9709,9 @@ export namespace google { /** Candidate citationMetadata. */ public citationMetadata?: (google.cloud.aiplatform.v1.ICitationMetadata|null); + /** Candidate groundingMetadata. */ + public groundingMetadata?: (google.cloud.aiplatform.v1.IGroundingMetadata|null); + /** Candidate _finishMessage. */ public _finishMessage?: "finishMessage"; @@ -9462,8 +9802,444 @@ export namespace google { MAX_TOKENS = 2, SAFETY = 3, RECITATION = 4, - OTHER = 5 + OTHER = 5, + BLOCKLIST = 6, + PROHIBITED_CONTENT = 7, + SPII = 8 + } + } + + /** Properties of a Segment. */ + interface ISegment { + + /** Segment partIndex */ + partIndex?: (number|null); + + /** Segment startIndex */ + startIndex?: (number|null); + + /** Segment endIndex */ + endIndex?: (number|null); + } + + /** Represents a Segment. */ + class Segment implements ISegment { + + /** + * Constructs a new Segment. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.ISegment); + + /** Segment partIndex. */ + public partIndex: number; + + /** Segment startIndex. */ + public startIndex: number; + + /** Segment endIndex. */ + public endIndex: number; + + /** + * Creates a new Segment instance using the specified properties. + * @param [properties] Properties to set + * @returns Segment instance + */ + public static create(properties?: google.cloud.aiplatform.v1.ISegment): google.cloud.aiplatform.v1.Segment; + + /** + * Encodes the specified Segment message. Does not implicitly {@link google.cloud.aiplatform.v1.Segment.verify|verify} messages. + * @param message Segment message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.ISegment, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Segment message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.Segment.verify|verify} messages. + * @param message Segment message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.ISegment, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Segment message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Segment + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1.Segment; + + /** + * Decodes a Segment message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns Segment + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1.Segment; + + /** + * Verifies a Segment message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a Segment message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Segment + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.Segment; + + /** + * Creates a plain object from a Segment message. Also converts values to other types if specified. + * @param message Segment + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.Segment, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Segment to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Segment + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GroundingAttribution. */ + interface IGroundingAttribution { + + /** GroundingAttribution web */ + web?: (google.cloud.aiplatform.v1.GroundingAttribution.IWeb|null); + + /** GroundingAttribution segment */ + segment?: (google.cloud.aiplatform.v1.ISegment|null); + + /** GroundingAttribution confidenceScore */ + confidenceScore?: (number|null); + } + + /** Represents a GroundingAttribution. */ + class GroundingAttribution implements IGroundingAttribution { + + /** + * Constructs a new GroundingAttribution. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IGroundingAttribution); + + /** GroundingAttribution web. */ + public web?: (google.cloud.aiplatform.v1.GroundingAttribution.IWeb|null); + + /** GroundingAttribution segment. */ + public segment?: (google.cloud.aiplatform.v1.ISegment|null); + + /** GroundingAttribution confidenceScore. */ + public confidenceScore?: (number|null); + + /** GroundingAttribution reference. */ + public reference?: "web"; + + /** GroundingAttribution _confidenceScore. */ + public _confidenceScore?: "confidenceScore"; + + /** + * Creates a new GroundingAttribution instance using the specified properties. + * @param [properties] Properties to set + * @returns GroundingAttribution instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IGroundingAttribution): google.cloud.aiplatform.v1.GroundingAttribution; + + /** + * Encodes the specified GroundingAttribution message. Does not implicitly {@link google.cloud.aiplatform.v1.GroundingAttribution.verify|verify} messages. + * @param message GroundingAttribution message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IGroundingAttribution, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GroundingAttribution message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.GroundingAttribution.verify|verify} messages. + * @param message GroundingAttribution message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IGroundingAttribution, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GroundingAttribution message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GroundingAttribution + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1.GroundingAttribution; + + /** + * Decodes a GroundingAttribution message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GroundingAttribution + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1.GroundingAttribution; + + /** + * Verifies a GroundingAttribution message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GroundingAttribution message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GroundingAttribution + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.GroundingAttribution; + + /** + * Creates a plain object from a GroundingAttribution message. Also converts values to other types if specified. + * @param message GroundingAttribution + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.GroundingAttribution, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GroundingAttribution to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GroundingAttribution + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + namespace GroundingAttribution { + + /** Properties of a Web. */ + interface IWeb { + + /** Web uri */ + uri?: (string|null); + + /** Web title */ + title?: (string|null); } + + /** Represents a Web. */ + class Web implements IWeb { + + /** + * Constructs a new Web. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.GroundingAttribution.IWeb); + + /** Web uri. */ + public uri: string; + + /** Web title. */ + public title: string; + + /** + * Creates a new Web instance using the specified properties. + * @param [properties] Properties to set + * @returns Web instance + */ + public static create(properties?: google.cloud.aiplatform.v1.GroundingAttribution.IWeb): google.cloud.aiplatform.v1.GroundingAttribution.Web; + + /** + * Encodes the specified Web message. Does not implicitly {@link google.cloud.aiplatform.v1.GroundingAttribution.Web.verify|verify} messages. + * @param message Web message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.GroundingAttribution.IWeb, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Web message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.GroundingAttribution.Web.verify|verify} messages. + * @param message Web message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.GroundingAttribution.IWeb, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Web message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Web + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1.GroundingAttribution.Web; + + /** + * Decodes a Web message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns Web + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1.GroundingAttribution.Web; + + /** + * Verifies a Web message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a Web message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Web + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.GroundingAttribution.Web; + + /** + * Creates a plain object from a Web message. Also converts values to other types if specified. + * @param message Web + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.GroundingAttribution.Web, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Web to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Web + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + } + + /** Properties of a GroundingMetadata. */ + interface IGroundingMetadata { + + /** GroundingMetadata webSearchQueries */ + webSearchQueries?: (string[]|null); + + /** GroundingMetadata groundingAttributions */ + groundingAttributions?: (google.cloud.aiplatform.v1.IGroundingAttribution[]|null); + } + + /** Represents a GroundingMetadata. */ + class GroundingMetadata implements IGroundingMetadata { + + /** + * Constructs a new GroundingMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IGroundingMetadata); + + /** GroundingMetadata webSearchQueries. */ + public webSearchQueries: string[]; + + /** GroundingMetadata groundingAttributions. */ + public groundingAttributions: google.cloud.aiplatform.v1.IGroundingAttribution[]; + + /** + * Creates a new GroundingMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns GroundingMetadata instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IGroundingMetadata): google.cloud.aiplatform.v1.GroundingMetadata; + + /** + * Encodes the specified GroundingMetadata message. Does not implicitly {@link google.cloud.aiplatform.v1.GroundingMetadata.verify|verify} messages. + * @param message GroundingMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IGroundingMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GroundingMetadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.GroundingMetadata.verify|verify} messages. + * @param message GroundingMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IGroundingMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GroundingMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GroundingMetadata + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1.GroundingMetadata; + + /** + * Decodes a GroundingMetadata message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GroundingMetadata + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1.GroundingMetadata; + + /** + * Verifies a GroundingMetadata message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GroundingMetadata message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GroundingMetadata + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.GroundingMetadata; + + /** + * Creates a plain object from a GroundingMetadata message. Also converts values to other types if specified. + * @param message GroundingMetadata + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.GroundingMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GroundingMetadata to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GroundingMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Tool. */ @@ -9471,6 +10247,12 @@ export namespace google { /** Tool functionDeclarations */ functionDeclarations?: (google.cloud.aiplatform.v1.IFunctionDeclaration[]|null); + + /** Tool retrieval */ + retrieval?: (google.cloud.aiplatform.v1.IRetrieval|null); + + /** Tool googleSearchRetrieval */ + googleSearchRetrieval?: (google.cloud.aiplatform.v1.IGoogleSearchRetrieval|null); } /** Represents a Tool. */ @@ -9485,6 +10267,12 @@ export namespace google { /** Tool functionDeclarations. */ public functionDeclarations: google.cloud.aiplatform.v1.IFunctionDeclaration[]; + /** Tool retrieval. */ + public retrieval?: (google.cloud.aiplatform.v1.IRetrieval|null); + + /** Tool googleSearchRetrieval. */ + public googleSearchRetrieval?: (google.cloud.aiplatform.v1.IGoogleSearchRetrieval|null); + /** * Creates a new Tool instance using the specified properties. * @param [properties] Properties to set @@ -9878,6 +10666,306 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } + /** Properties of a Retrieval. */ + interface IRetrieval { + + /** Retrieval vertexAiSearch */ + vertexAiSearch?: (google.cloud.aiplatform.v1.IVertexAISearch|null); + + /** Retrieval disableAttribution */ + disableAttribution?: (boolean|null); + } + + /** Represents a Retrieval. */ + class Retrieval implements IRetrieval { + + /** + * Constructs a new Retrieval. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IRetrieval); + + /** Retrieval vertexAiSearch. */ + public vertexAiSearch?: (google.cloud.aiplatform.v1.IVertexAISearch|null); + + /** Retrieval disableAttribution. */ + public disableAttribution: boolean; + + /** Retrieval source. */ + public source?: "vertexAiSearch"; + + /** + * Creates a new Retrieval instance using the specified properties. + * @param [properties] Properties to set + * @returns Retrieval instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IRetrieval): google.cloud.aiplatform.v1.Retrieval; + + /** + * Encodes the specified Retrieval message. Does not implicitly {@link google.cloud.aiplatform.v1.Retrieval.verify|verify} messages. + * @param message Retrieval message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IRetrieval, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Retrieval message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.Retrieval.verify|verify} messages. + * @param message Retrieval message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IRetrieval, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Retrieval message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Retrieval + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1.Retrieval; + + /** + * Decodes a Retrieval message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns Retrieval + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1.Retrieval; + + /** + * Verifies a Retrieval message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a Retrieval message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Retrieval + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.Retrieval; + + /** + * Creates a plain object from a Retrieval message. Also converts values to other types if specified. + * @param message Retrieval + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.Retrieval, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Retrieval to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Retrieval + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a VertexAISearch. */ + interface IVertexAISearch { + + /** VertexAISearch datastore */ + datastore?: (string|null); + } + + /** Represents a VertexAISearch. */ + class VertexAISearch implements IVertexAISearch { + + /** + * Constructs a new VertexAISearch. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IVertexAISearch); + + /** VertexAISearch datastore. */ + public datastore: string; + + /** + * Creates a new VertexAISearch instance using the specified properties. + * @param [properties] Properties to set + * @returns VertexAISearch instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IVertexAISearch): google.cloud.aiplatform.v1.VertexAISearch; + + /** + * Encodes the specified VertexAISearch message. Does not implicitly {@link google.cloud.aiplatform.v1.VertexAISearch.verify|verify} messages. + * @param message VertexAISearch message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IVertexAISearch, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified VertexAISearch message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.VertexAISearch.verify|verify} messages. + * @param message VertexAISearch message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IVertexAISearch, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a VertexAISearch message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns VertexAISearch + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1.VertexAISearch; + + /** + * Decodes a VertexAISearch message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns VertexAISearch + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1.VertexAISearch; + + /** + * Verifies a VertexAISearch message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a VertexAISearch message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns VertexAISearch + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.VertexAISearch; + + /** + * Creates a plain object from a VertexAISearch message. Also converts values to other types if specified. + * @param message VertexAISearch + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.VertexAISearch, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this VertexAISearch to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for VertexAISearch + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GoogleSearchRetrieval. */ + interface IGoogleSearchRetrieval { + + /** GoogleSearchRetrieval disableAttribution */ + disableAttribution?: (boolean|null); + } + + /** Represents a GoogleSearchRetrieval. */ + class GoogleSearchRetrieval implements IGoogleSearchRetrieval { + + /** + * Constructs a new GoogleSearchRetrieval. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IGoogleSearchRetrieval); + + /** GoogleSearchRetrieval disableAttribution. */ + public disableAttribution: boolean; + + /** + * Creates a new GoogleSearchRetrieval instance using the specified properties. + * @param [properties] Properties to set + * @returns GoogleSearchRetrieval instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IGoogleSearchRetrieval): google.cloud.aiplatform.v1.GoogleSearchRetrieval; + + /** + * Encodes the specified GoogleSearchRetrieval message. Does not implicitly {@link google.cloud.aiplatform.v1.GoogleSearchRetrieval.verify|verify} messages. + * @param message GoogleSearchRetrieval message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IGoogleSearchRetrieval, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GoogleSearchRetrieval message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.GoogleSearchRetrieval.verify|verify} messages. + * @param message GoogleSearchRetrieval message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IGoogleSearchRetrieval, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GoogleSearchRetrieval message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GoogleSearchRetrieval + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1.GoogleSearchRetrieval; + + /** + * Decodes a GoogleSearchRetrieval message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GoogleSearchRetrieval + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1.GoogleSearchRetrieval; + + /** + * Verifies a GoogleSearchRetrieval message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GoogleSearchRetrieval message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GoogleSearchRetrieval + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.GoogleSearchRetrieval; + + /** + * Creates a plain object from a GoogleSearchRetrieval message. Also converts values to other types if specified. + * @param message GoogleSearchRetrieval + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.GoogleSearchRetrieval, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GoogleSearchRetrieval to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GoogleSearchRetrieval + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + /** Type enum. */ enum Type { TYPE_UNSPECIFIED = 0, @@ -16423,6 +17511,12 @@ export namespace google { /** DatasetVersion bigQueryDatasetName */ bigQueryDatasetName?: (string|null); + + /** DatasetVersion displayName */ + displayName?: (string|null); + + /** DatasetVersion metadata */ + metadata?: (google.protobuf.IValue|null); } /** Represents a DatasetVersion. */ @@ -16449,6 +17543,12 @@ export namespace google { /** DatasetVersion bigQueryDatasetName. */ public bigQueryDatasetName: string; + /** DatasetVersion displayName. */ + public displayName: string; + + /** DatasetVersion metadata. */ + public metadata?: (google.protobuf.IValue|null); + /** * Creates a new DatasetVersion instance using the specified properties. * @param [properties] Properties to set @@ -25622,6 +26722,9 @@ export namespace google { /** FeatureRegistrySource featureGroups */ featureGroups?: (google.cloud.aiplatform.v1.FeatureView.FeatureRegistrySource.IFeatureGroup[]|null); + + /** FeatureRegistrySource projectNumber */ + projectNumber?: (number|Long|string|null); } /** Represents a FeatureRegistrySource. */ @@ -25636,6 +26739,12 @@ export namespace google { /** FeatureRegistrySource featureGroups. */ public featureGroups: google.cloud.aiplatform.v1.FeatureView.FeatureRegistrySource.IFeatureGroup[]; + /** FeatureRegistrySource projectNumber. */ + public projectNumber?: (number|Long|string|null); + + /** FeatureRegistrySource _projectNumber. */ + public _projectNumber?: "projectNumber"; + /** * Creates a new FeatureRegistrySource instance using the specified properties. * @param [properties] Properties to set @@ -25835,6 +26944,9 @@ export namespace google { /** FeatureViewSync finalStatus */ finalStatus?: (google.rpc.IStatus|null); + + /** FeatureViewSync syncSummary */ + syncSummary?: (google.cloud.aiplatform.v1.FeatureViewSync.ISyncSummary|null); } /** Represents a FeatureViewSync. */ @@ -25858,6 +26970,9 @@ export namespace google { /** FeatureViewSync finalStatus. */ public finalStatus?: (google.rpc.IStatus|null); + /** FeatureViewSync syncSummary. */ + public syncSummary?: (google.cloud.aiplatform.v1.FeatureViewSync.ISyncSummary|null); + /** * Creates a new FeatureViewSync instance using the specified properties. * @param [properties] Properties to set @@ -25936,6 +27051,112 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } + namespace FeatureViewSync { + + /** Properties of a SyncSummary. */ + interface ISyncSummary { + + /** SyncSummary rowSynced */ + rowSynced?: (number|Long|string|null); + + /** SyncSummary totalSlot */ + totalSlot?: (number|Long|string|null); + } + + /** Represents a SyncSummary. */ + class SyncSummary implements ISyncSummary { + + /** + * Constructs a new SyncSummary. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.FeatureViewSync.ISyncSummary); + + /** SyncSummary rowSynced. */ + public rowSynced: (number|Long|string); + + /** SyncSummary totalSlot. */ + public totalSlot: (number|Long|string); + + /** + * Creates a new SyncSummary instance using the specified properties. + * @param [properties] Properties to set + * @returns SyncSummary instance + */ + public static create(properties?: google.cloud.aiplatform.v1.FeatureViewSync.ISyncSummary): google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary; + + /** + * Encodes the specified SyncSummary message. Does not implicitly {@link google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary.verify|verify} messages. + * @param message SyncSummary message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.FeatureViewSync.ISyncSummary, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SyncSummary message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary.verify|verify} messages. + * @param message SyncSummary message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.FeatureViewSync.ISyncSummary, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SyncSummary message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SyncSummary + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary; + + /** + * Decodes a SyncSummary message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SyncSummary + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary; + + /** + * Verifies a SyncSummary message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a SyncSummary message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SyncSummary + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary; + + /** + * Creates a plain object from a SyncSummary message. Also converts values to other types if specified. + * @param message SyncSummary + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SyncSummary to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SyncSummary + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + } + /** Represents a FeatureOnlineStoreService */ class FeatureOnlineStoreService extends $protobuf.rpc.Service { @@ -40730,7 +41951,8 @@ export namespace google { LESS_EQUAL = 2, EQUAL = 3, GREATER_EQUAL = 4, - GREATER = 5 + GREATER = 5, + NOT_EQUAL = 6 } } @@ -74505,6 +75727,20 @@ export namespace google { */ public deletePipelineJob(request: google.cloud.aiplatform.v1.IDeletePipelineJobRequest): Promise; + /** + * Calls BatchDeletePipelineJobs. + * @param request BatchDeletePipelineJobsRequest message or plain object + * @param callback Node-style callback called with the error, if any, and Operation + */ + public batchDeletePipelineJobs(request: google.cloud.aiplatform.v1.IBatchDeletePipelineJobsRequest, callback: google.cloud.aiplatform.v1.PipelineService.BatchDeletePipelineJobsCallback): void; + + /** + * Calls BatchDeletePipelineJobs. + * @param request BatchDeletePipelineJobsRequest message or plain object + * @returns Promise + */ + public batchDeletePipelineJobs(request: google.cloud.aiplatform.v1.IBatchDeletePipelineJobsRequest): Promise; + /** * Calls CancelPipelineJob. * @param request CancelPipelineJobRequest message or plain object @@ -74518,6 +75754,20 @@ export namespace google { * @returns Promise */ public cancelPipelineJob(request: google.cloud.aiplatform.v1.ICancelPipelineJobRequest): Promise; + + /** + * Calls BatchCancelPipelineJobs. + * @param request BatchCancelPipelineJobsRequest message or plain object + * @param callback Node-style callback called with the error, if any, and Operation + */ + public batchCancelPipelineJobs(request: google.cloud.aiplatform.v1.IBatchCancelPipelineJobsRequest, callback: google.cloud.aiplatform.v1.PipelineService.BatchCancelPipelineJobsCallback): void; + + /** + * Calls BatchCancelPipelineJobs. + * @param request BatchCancelPipelineJobsRequest message or plain object + * @returns Promise + */ + public batchCancelPipelineJobs(request: google.cloud.aiplatform.v1.IBatchCancelPipelineJobsRequest): Promise; } namespace PipelineService { @@ -74585,12 +75835,123 @@ export namespace google { */ type DeletePipelineJobCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; + /** + * Callback as used by {@link google.cloud.aiplatform.v1.PipelineService|batchDeletePipelineJobs}. + * @param error Error, if any + * @param [response] Operation + */ + type BatchDeletePipelineJobsCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; + /** * Callback as used by {@link google.cloud.aiplatform.v1.PipelineService|cancelPipelineJob}. * @param error Error, if any * @param [response] Empty */ type CancelPipelineJobCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.PipelineService|batchCancelPipelineJobs}. + * @param error Error, if any + * @param [response] Operation + */ + type BatchCancelPipelineJobsCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; + } + + /** Properties of a BatchCancelPipelineJobsOperationMetadata. */ + interface IBatchCancelPipelineJobsOperationMetadata { + + /** BatchCancelPipelineJobsOperationMetadata genericMetadata */ + genericMetadata?: (google.cloud.aiplatform.v1.IGenericOperationMetadata|null); + } + + /** Represents a BatchCancelPipelineJobsOperationMetadata. */ + class BatchCancelPipelineJobsOperationMetadata implements IBatchCancelPipelineJobsOperationMetadata { + + /** + * Constructs a new BatchCancelPipelineJobsOperationMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IBatchCancelPipelineJobsOperationMetadata); + + /** BatchCancelPipelineJobsOperationMetadata genericMetadata. */ + public genericMetadata?: (google.cloud.aiplatform.v1.IGenericOperationMetadata|null); + + /** + * Creates a new BatchCancelPipelineJobsOperationMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns BatchCancelPipelineJobsOperationMetadata instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IBatchCancelPipelineJobsOperationMetadata): google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata; + + /** + * Encodes the specified BatchCancelPipelineJobsOperationMetadata message. Does not implicitly {@link google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata.verify|verify} messages. + * @param message BatchCancelPipelineJobsOperationMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IBatchCancelPipelineJobsOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified BatchCancelPipelineJobsOperationMetadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata.verify|verify} messages. + * @param message BatchCancelPipelineJobsOperationMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IBatchCancelPipelineJobsOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BatchCancelPipelineJobsOperationMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BatchCancelPipelineJobsOperationMetadata + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata; + + /** + * Decodes a BatchCancelPipelineJobsOperationMetadata message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns BatchCancelPipelineJobsOperationMetadata + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata; + + /** + * Verifies a BatchCancelPipelineJobsOperationMetadata message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a BatchCancelPipelineJobsOperationMetadata message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns BatchCancelPipelineJobsOperationMetadata + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata; + + /** + * Creates a plain object from a BatchCancelPipelineJobsOperationMetadata message. Also converts values to other types if specified. + * @param message BatchCancelPipelineJobsOperationMetadata + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this BatchCancelPipelineJobsOperationMetadata to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchCancelPipelineJobsOperationMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateTrainingPipelineRequest. */ @@ -75744,6 +77105,206 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } + /** Properties of a BatchDeletePipelineJobsRequest. */ + interface IBatchDeletePipelineJobsRequest { + + /** BatchDeletePipelineJobsRequest parent */ + parent?: (string|null); + + /** BatchDeletePipelineJobsRequest names */ + names?: (string[]|null); + } + + /** Represents a BatchDeletePipelineJobsRequest. */ + class BatchDeletePipelineJobsRequest implements IBatchDeletePipelineJobsRequest { + + /** + * Constructs a new BatchDeletePipelineJobsRequest. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IBatchDeletePipelineJobsRequest); + + /** BatchDeletePipelineJobsRequest parent. */ + public parent: string; + + /** BatchDeletePipelineJobsRequest names. */ + public names: string[]; + + /** + * Creates a new BatchDeletePipelineJobsRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns BatchDeletePipelineJobsRequest instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IBatchDeletePipelineJobsRequest): google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest; + + /** + * Encodes the specified BatchDeletePipelineJobsRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest.verify|verify} messages. + * @param message BatchDeletePipelineJobsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IBatchDeletePipelineJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified BatchDeletePipelineJobsRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest.verify|verify} messages. + * @param message BatchDeletePipelineJobsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IBatchDeletePipelineJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BatchDeletePipelineJobsRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BatchDeletePipelineJobsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest; + + /** + * Decodes a BatchDeletePipelineJobsRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns BatchDeletePipelineJobsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest; + + /** + * Verifies a BatchDeletePipelineJobsRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a BatchDeletePipelineJobsRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns BatchDeletePipelineJobsRequest + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest; + + /** + * Creates a plain object from a BatchDeletePipelineJobsRequest message. Also converts values to other types if specified. + * @param message BatchDeletePipelineJobsRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this BatchDeletePipelineJobsRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchDeletePipelineJobsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a BatchDeletePipelineJobsResponse. */ + interface IBatchDeletePipelineJobsResponse { + + /** BatchDeletePipelineJobsResponse pipelineJobs */ + pipelineJobs?: (google.cloud.aiplatform.v1.IPipelineJob[]|null); + } + + /** Represents a BatchDeletePipelineJobsResponse. */ + class BatchDeletePipelineJobsResponse implements IBatchDeletePipelineJobsResponse { + + /** + * Constructs a new BatchDeletePipelineJobsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IBatchDeletePipelineJobsResponse); + + /** BatchDeletePipelineJobsResponse pipelineJobs. */ + public pipelineJobs: google.cloud.aiplatform.v1.IPipelineJob[]; + + /** + * Creates a new BatchDeletePipelineJobsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns BatchDeletePipelineJobsResponse instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IBatchDeletePipelineJobsResponse): google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse; + + /** + * Encodes the specified BatchDeletePipelineJobsResponse message. Does not implicitly {@link google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse.verify|verify} messages. + * @param message BatchDeletePipelineJobsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IBatchDeletePipelineJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified BatchDeletePipelineJobsResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse.verify|verify} messages. + * @param message BatchDeletePipelineJobsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IBatchDeletePipelineJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BatchDeletePipelineJobsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BatchDeletePipelineJobsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse; + + /** + * Decodes a BatchDeletePipelineJobsResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns BatchDeletePipelineJobsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse; + + /** + * Verifies a BatchDeletePipelineJobsResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a BatchDeletePipelineJobsResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns BatchDeletePipelineJobsResponse + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse; + + /** + * Creates a plain object from a BatchDeletePipelineJobsResponse message. Also converts values to other types if specified. + * @param message BatchDeletePipelineJobsResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this BatchDeletePipelineJobsResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchDeletePipelineJobsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + /** Properties of a CancelPipelineJobRequest. */ interface ICancelPipelineJobRequest { @@ -75841,6 +77402,206 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } + /** Properties of a BatchCancelPipelineJobsRequest. */ + interface IBatchCancelPipelineJobsRequest { + + /** BatchCancelPipelineJobsRequest parent */ + parent?: (string|null); + + /** BatchCancelPipelineJobsRequest names */ + names?: (string[]|null); + } + + /** Represents a BatchCancelPipelineJobsRequest. */ + class BatchCancelPipelineJobsRequest implements IBatchCancelPipelineJobsRequest { + + /** + * Constructs a new BatchCancelPipelineJobsRequest. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IBatchCancelPipelineJobsRequest); + + /** BatchCancelPipelineJobsRequest parent. */ + public parent: string; + + /** BatchCancelPipelineJobsRequest names. */ + public names: string[]; + + /** + * Creates a new BatchCancelPipelineJobsRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns BatchCancelPipelineJobsRequest instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IBatchCancelPipelineJobsRequest): google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest; + + /** + * Encodes the specified BatchCancelPipelineJobsRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest.verify|verify} messages. + * @param message BatchCancelPipelineJobsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IBatchCancelPipelineJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified BatchCancelPipelineJobsRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest.verify|verify} messages. + * @param message BatchCancelPipelineJobsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IBatchCancelPipelineJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BatchCancelPipelineJobsRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BatchCancelPipelineJobsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest; + + /** + * Decodes a BatchCancelPipelineJobsRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns BatchCancelPipelineJobsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest; + + /** + * Verifies a BatchCancelPipelineJobsRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a BatchCancelPipelineJobsRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns BatchCancelPipelineJobsRequest + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest; + + /** + * Creates a plain object from a BatchCancelPipelineJobsRequest message. Also converts values to other types if specified. + * @param message BatchCancelPipelineJobsRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this BatchCancelPipelineJobsRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchCancelPipelineJobsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a BatchCancelPipelineJobsResponse. */ + interface IBatchCancelPipelineJobsResponse { + + /** BatchCancelPipelineJobsResponse pipelineJobs */ + pipelineJobs?: (google.cloud.aiplatform.v1.IPipelineJob[]|null); + } + + /** Represents a BatchCancelPipelineJobsResponse. */ + class BatchCancelPipelineJobsResponse implements IBatchCancelPipelineJobsResponse { + + /** + * Constructs a new BatchCancelPipelineJobsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IBatchCancelPipelineJobsResponse); + + /** BatchCancelPipelineJobsResponse pipelineJobs. */ + public pipelineJobs: google.cloud.aiplatform.v1.IPipelineJob[]; + + /** + * Creates a new BatchCancelPipelineJobsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns BatchCancelPipelineJobsResponse instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IBatchCancelPipelineJobsResponse): google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse; + + /** + * Encodes the specified BatchCancelPipelineJobsResponse message. Does not implicitly {@link google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse.verify|verify} messages. + * @param message BatchCancelPipelineJobsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IBatchCancelPipelineJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified BatchCancelPipelineJobsResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse.verify|verify} messages. + * @param message BatchCancelPipelineJobsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IBatchCancelPipelineJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BatchCancelPipelineJobsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BatchCancelPipelineJobsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse; + + /** + * Decodes a BatchCancelPipelineJobsResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns BatchCancelPipelineJobsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse; + + /** + * Verifies a BatchCancelPipelineJobsResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a BatchCancelPipelineJobsResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns BatchCancelPipelineJobsResponse + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse; + + /** + * Creates a plain object from a BatchCancelPipelineJobsResponse message. Also converts values to other types if specified. + * @param message BatchCancelPipelineJobsResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this BatchCancelPipelineJobsResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchCancelPipelineJobsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + /** Properties of a TrainingPipeline. */ interface ITrainingPipeline { @@ -104203,6 +105964,9 @@ export namespace google { /** Model metadataArtifact */ metadataArtifact?: (string|null); + + /** Model baseModelSource */ + baseModelSource?: (google.cloud.aiplatform.v1beta1.Model.IBaseModelSource|null); } /** Represents a Model. */ @@ -104298,6 +106062,9 @@ export namespace google { /** Model metadataArtifact. */ public metadataArtifact: string; + /** Model baseModelSource. */ + public baseModelSource?: (google.cloud.aiplatform.v1beta1.Model.IBaseModelSource|null); + /** * Creates a new Model instance using the specified properties. * @param [properties] Properties to set @@ -104588,6 +106355,112 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } + /** Properties of a BaseModelSource. */ + interface IBaseModelSource { + + /** BaseModelSource modelGardenSource */ + modelGardenSource?: (google.cloud.aiplatform.v1beta1.IModelGardenSource|null); + + /** BaseModelSource genieSource */ + genieSource?: (google.cloud.aiplatform.v1beta1.IGenieSource|null); + } + + /** Represents a BaseModelSource. */ + class BaseModelSource implements IBaseModelSource { + + /** + * Constructs a new BaseModelSource. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1beta1.Model.IBaseModelSource); + + /** BaseModelSource modelGardenSource. */ + public modelGardenSource?: (google.cloud.aiplatform.v1beta1.IModelGardenSource|null); + + /** BaseModelSource genieSource. */ + public genieSource?: (google.cloud.aiplatform.v1beta1.IGenieSource|null); + + /** BaseModelSource source. */ + public source?: ("modelGardenSource"|"genieSource"); + + /** + * Creates a new BaseModelSource instance using the specified properties. + * @param [properties] Properties to set + * @returns BaseModelSource instance + */ + public static create(properties?: google.cloud.aiplatform.v1beta1.Model.IBaseModelSource): google.cloud.aiplatform.v1beta1.Model.BaseModelSource; + + /** + * Encodes the specified BaseModelSource message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.Model.BaseModelSource.verify|verify} messages. + * @param message BaseModelSource message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1beta1.Model.IBaseModelSource, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified BaseModelSource message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.Model.BaseModelSource.verify|verify} messages. + * @param message BaseModelSource message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1beta1.Model.IBaseModelSource, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BaseModelSource message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BaseModelSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1beta1.Model.BaseModelSource; + + /** + * Decodes a BaseModelSource message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns BaseModelSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1beta1.Model.BaseModelSource; + + /** + * Verifies a BaseModelSource message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a BaseModelSource message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns BaseModelSource + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1beta1.Model.BaseModelSource; + + /** + * Creates a plain object from a BaseModelSource message. Also converts values to other types if specified. + * @param message BaseModelSource + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1beta1.Model.BaseModelSource, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this BaseModelSource to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BaseModelSource + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + /** DeploymentResourcesType enum. */ enum DeploymentResourcesType { DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED = 0, @@ -104694,6 +106567,200 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } + /** Properties of a ModelGardenSource. */ + interface IModelGardenSource { + + /** ModelGardenSource publicModelName */ + publicModelName?: (string|null); + } + + /** Represents a ModelGardenSource. */ + class ModelGardenSource implements IModelGardenSource { + + /** + * Constructs a new ModelGardenSource. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1beta1.IModelGardenSource); + + /** ModelGardenSource publicModelName. */ + public publicModelName: string; + + /** + * Creates a new ModelGardenSource instance using the specified properties. + * @param [properties] Properties to set + * @returns ModelGardenSource instance + */ + public static create(properties?: google.cloud.aiplatform.v1beta1.IModelGardenSource): google.cloud.aiplatform.v1beta1.ModelGardenSource; + + /** + * Encodes the specified ModelGardenSource message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.ModelGardenSource.verify|verify} messages. + * @param message ModelGardenSource message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1beta1.IModelGardenSource, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ModelGardenSource message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.ModelGardenSource.verify|verify} messages. + * @param message ModelGardenSource message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1beta1.IModelGardenSource, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ModelGardenSource message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ModelGardenSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1beta1.ModelGardenSource; + + /** + * Decodes a ModelGardenSource message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ModelGardenSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1beta1.ModelGardenSource; + + /** + * Verifies a ModelGardenSource message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ModelGardenSource message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ModelGardenSource + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1beta1.ModelGardenSource; + + /** + * Creates a plain object from a ModelGardenSource message. Also converts values to other types if specified. + * @param message ModelGardenSource + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1beta1.ModelGardenSource, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ModelGardenSource to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ModelGardenSource + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GenieSource. */ + interface IGenieSource { + + /** GenieSource baseModelUri */ + baseModelUri?: (string|null); + } + + /** Represents a GenieSource. */ + class GenieSource implements IGenieSource { + + /** + * Constructs a new GenieSource. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1beta1.IGenieSource); + + /** GenieSource baseModelUri. */ + public baseModelUri: string; + + /** + * Creates a new GenieSource instance using the specified properties. + * @param [properties] Properties to set + * @returns GenieSource instance + */ + public static create(properties?: google.cloud.aiplatform.v1beta1.IGenieSource): google.cloud.aiplatform.v1beta1.GenieSource; + + /** + * Encodes the specified GenieSource message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.GenieSource.verify|verify} messages. + * @param message GenieSource message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1beta1.IGenieSource, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GenieSource message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.GenieSource.verify|verify} messages. + * @param message GenieSource message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1beta1.IGenieSource, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GenieSource message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GenieSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1beta1.GenieSource; + + /** + * Decodes a GenieSource message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GenieSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1beta1.GenieSource; + + /** + * Verifies a GenieSource message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GenieSource message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GenieSource + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1beta1.GenieSource; + + /** + * Creates a plain object from a GenieSource message. Also converts values to other types if specified. + * @param message GenieSource + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1beta1.GenieSource, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GenieSource to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GenieSource + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + /** Properties of a PredictSchemata. */ interface IPredictSchemata { @@ -106419,6 +108486,15 @@ export namespace google { /** SafetyRating probability */ probability?: (google.cloud.aiplatform.v1beta1.SafetyRating.HarmProbability|keyof typeof google.cloud.aiplatform.v1beta1.SafetyRating.HarmProbability|null); + /** SafetyRating probabilityScore */ + probabilityScore?: (number|null); + + /** SafetyRating severity */ + severity?: (google.cloud.aiplatform.v1beta1.SafetyRating.HarmSeverity|keyof typeof google.cloud.aiplatform.v1beta1.SafetyRating.HarmSeverity|null); + + /** SafetyRating severityScore */ + severityScore?: (number|null); + /** SafetyRating blocked */ blocked?: (boolean|null); } @@ -106438,6 +108514,15 @@ export namespace google { /** SafetyRating probability. */ public probability: (google.cloud.aiplatform.v1beta1.SafetyRating.HarmProbability|keyof typeof google.cloud.aiplatform.v1beta1.SafetyRating.HarmProbability); + /** SafetyRating probabilityScore. */ + public probabilityScore: number; + + /** SafetyRating severity. */ + public severity: (google.cloud.aiplatform.v1beta1.SafetyRating.HarmSeverity|keyof typeof google.cloud.aiplatform.v1beta1.SafetyRating.HarmSeverity); + + /** SafetyRating severityScore. */ + public severityScore: number; + /** SafetyRating blocked. */ public blocked: boolean; @@ -106529,6 +108614,15 @@ export namespace google { MEDIUM = 3, HIGH = 4 } + + /** HarmSeverity enum. */ + enum HarmSeverity { + HARM_SEVERITY_UNSPECIFIED = 0, + HARM_SEVERITY_NEGLIGIBLE = 1, + HARM_SEVERITY_LOW = 2, + HARM_SEVERITY_MEDIUM = 3, + HARM_SEVERITY_HIGH = 4 + } } /** Properties of a CitationMetadata. */ @@ -106900,7 +108994,10 @@ export namespace google { MAX_TOKENS = 2, SAFETY = 3, RECITATION = 4, - OTHER = 5 + OTHER = 5, + BLOCKLIST = 6, + PROHIBITED_CONTENT = 7, + SPII = 8 } } @@ -114464,6 +116561,12 @@ export namespace google { /** DatasetVersion bigQueryDatasetName */ bigQueryDatasetName?: (string|null); + + /** DatasetVersion displayName */ + displayName?: (string|null); + + /** DatasetVersion metadata */ + metadata?: (google.protobuf.IValue|null); } /** Represents a DatasetVersion. */ @@ -114490,6 +116593,12 @@ export namespace google { /** DatasetVersion bigQueryDatasetName. */ public bigQueryDatasetName: string; + /** DatasetVersion displayName. */ + public displayName: string; + + /** DatasetVersion metadata. */ + public metadata?: (google.protobuf.IValue|null); + /** * Creates a new DatasetVersion instance using the specified properties. * @param [properties] Properties to set @@ -124434,6 +126543,9 @@ export namespace google { /** FeatureRegistrySource featureGroups */ featureGroups?: (google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.IFeatureGroup[]|null); + + /** FeatureRegistrySource projectNumber */ + projectNumber?: (number|Long|string|null); } /** Represents a FeatureRegistrySource. */ @@ -124448,6 +126560,12 @@ export namespace google { /** FeatureRegistrySource featureGroups. */ public featureGroups: google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.IFeatureGroup[]; + /** FeatureRegistrySource projectNumber. */ + public projectNumber?: (number|Long|string|null); + + /** FeatureRegistrySource _projectNumber. */ + public _projectNumber?: "projectNumber"; + /** * Creates a new FeatureRegistrySource instance using the specified properties. * @param [properties] Properties to set @@ -124654,6 +126772,9 @@ export namespace google { /** FeatureViewSync finalStatus */ finalStatus?: (google.rpc.IStatus|null); + + /** FeatureViewSync syncSummary */ + syncSummary?: (google.cloud.aiplatform.v1beta1.FeatureViewSync.ISyncSummary|null); } /** Represents a FeatureViewSync. */ @@ -124677,6 +126798,9 @@ export namespace google { /** FeatureViewSync finalStatus. */ public finalStatus?: (google.rpc.IStatus|null); + /** FeatureViewSync syncSummary. */ + public syncSummary?: (google.cloud.aiplatform.v1beta1.FeatureViewSync.ISyncSummary|null); + /** * Creates a new FeatureViewSync instance using the specified properties. * @param [properties] Properties to set @@ -124755,6 +126879,112 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } + namespace FeatureViewSync { + + /** Properties of a SyncSummary. */ + interface ISyncSummary { + + /** SyncSummary rowSynced */ + rowSynced?: (number|Long|string|null); + + /** SyncSummary totalSlot */ + totalSlot?: (number|Long|string|null); + } + + /** Represents a SyncSummary. */ + class SyncSummary implements ISyncSummary { + + /** + * Constructs a new SyncSummary. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1beta1.FeatureViewSync.ISyncSummary); + + /** SyncSummary rowSynced. */ + public rowSynced: (number|Long|string); + + /** SyncSummary totalSlot. */ + public totalSlot: (number|Long|string); + + /** + * Creates a new SyncSummary instance using the specified properties. + * @param [properties] Properties to set + * @returns SyncSummary instance + */ + public static create(properties?: google.cloud.aiplatform.v1beta1.FeatureViewSync.ISyncSummary): google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary; + + /** + * Encodes the specified SyncSummary message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary.verify|verify} messages. + * @param message SyncSummary message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1beta1.FeatureViewSync.ISyncSummary, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SyncSummary message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary.verify|verify} messages. + * @param message SyncSummary message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1beta1.FeatureViewSync.ISyncSummary, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SyncSummary message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SyncSummary + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary; + + /** + * Decodes a SyncSummary message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SyncSummary + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary; + + /** + * Verifies a SyncSummary message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a SyncSummary message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SyncSummary + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary; + + /** + * Creates a plain object from a SyncSummary message. Also converts values to other types if specified. + * @param message SyncSummary + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SyncSummary to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SyncSummary + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + } + /** Represents a FeatureOnlineStoreService */ class FeatureOnlineStoreService extends $protobuf.rpc.Service { @@ -139810,7 +142040,8 @@ export namespace google { LESS_EQUAL = 2, EQUAL = 3, GREATER_EQUAL = 4, - GREATER = 5 + GREATER = 5, + NOT_EQUAL = 6 } } @@ -168333,6 +170564,9 @@ export namespace google { /** CreatePersistentResourceOperationMetadata genericMetadata */ genericMetadata?: (google.cloud.aiplatform.v1beta1.IGenericOperationMetadata|null); + + /** CreatePersistentResourceOperationMetadata progressMessage */ + progressMessage?: (string|null); } /** Represents a CreatePersistentResourceOperationMetadata. */ @@ -168347,6 +170581,9 @@ export namespace google { /** CreatePersistentResourceOperationMetadata genericMetadata. */ public genericMetadata?: (google.cloud.aiplatform.v1beta1.IGenericOperationMetadata|null); + /** CreatePersistentResourceOperationMetadata progressMessage. */ + public progressMessage: string; + /** * Creates a new CreatePersistentResourceOperationMetadata instance using the specified properties. * @param [properties] Properties to set @@ -168430,6 +170667,9 @@ export namespace google { /** UpdatePersistentResourceOperationMetadata genericMetadata */ genericMetadata?: (google.cloud.aiplatform.v1beta1.IGenericOperationMetadata|null); + + /** UpdatePersistentResourceOperationMetadata progressMessage */ + progressMessage?: (string|null); } /** Represents an UpdatePersistentResourceOperationMetadata. */ @@ -168444,6 +170684,9 @@ export namespace google { /** UpdatePersistentResourceOperationMetadata genericMetadata. */ public genericMetadata?: (google.cloud.aiplatform.v1beta1.IGenericOperationMetadata|null); + /** UpdatePersistentResourceOperationMetadata progressMessage. */ + public progressMessage: string; + /** * Creates a new UpdatePersistentResourceOperationMetadata instance using the specified properties. * @param [properties] Properties to set @@ -169097,6 +171340,9 @@ export namespace google { /** PipelineJob scheduleName */ scheduleName?: (string|null); + + /** PipelineJob preflightValidations */ + preflightValidations?: (boolean|null); } /** Represents a PipelineJob. */ @@ -169165,6 +171411,9 @@ export namespace google { /** PipelineJob scheduleName. */ public scheduleName: string; + /** PipelineJob preflightValidations. */ + public preflightValidations: boolean; + /** * Creates a new PipelineJob instance using the specified properties. * @param [properties] Properties to set @@ -171522,9 +173771,6 @@ export namespace google { /** CreatePipelineJobRequest pipelineJobId */ pipelineJobId?: (string|null); - - /** CreatePipelineJobRequest preflightValidations */ - preflightValidations?: (boolean|null); } /** Represents a CreatePipelineJobRequest. */ @@ -171545,9 +173791,6 @@ export namespace google { /** CreatePipelineJobRequest pipelineJobId. */ public pipelineJobId: string; - /** CreatePipelineJobRequest preflightValidations. */ - public preflightValidations: boolean; - /** * Creates a new CreatePipelineJobRequest instance using the specified properties. * @param [properties] Properties to set diff --git a/packages/google-cloud-aiplatform/protos/protos.js b/packages/google-cloud-aiplatform/protos/protos.js index 65c749cdfa3..b5f829bb9fa 100644 --- a/packages/google-cloud-aiplatform/protos/protos.js +++ b/packages/google-cloud-aiplatform/protos/protos.js @@ -79,6 +79,7 @@ * @property {number} NVIDIA_TESLA_A100=8 NVIDIA_TESLA_A100 value * @property {number} NVIDIA_A100_80GB=9 NVIDIA_A100_80GB value * @property {number} NVIDIA_L4=11 NVIDIA_L4 value + * @property {number} NVIDIA_H100_80GB=13 NVIDIA_H100_80GB value * @property {number} TPU_V2=6 TPU_V2 value * @property {number} TPU_V3=7 TPU_V3 value * @property {number} TPU_V4_POD=10 TPU_V4_POD value @@ -94,6 +95,7 @@ values[valuesById[8] = "NVIDIA_TESLA_A100"] = 8; values[valuesById[9] = "NVIDIA_A100_80GB"] = 9; values[valuesById[11] = "NVIDIA_L4"] = 11; + values[valuesById[13] = "NVIDIA_H100_80GB"] = 13; values[valuesById[6] = "TPU_V2"] = 6; values[valuesById[7] = "TPU_V3"] = 7; values[valuesById[10] = "TPU_V4_POD"] = 10; @@ -14137,6 +14139,7 @@ case 8: case 9: case 11: + case 13: case 6: case 7: case 10: @@ -14208,6 +14211,10 @@ case 11: message.acceleratorType = 11; break; + case "NVIDIA_H100_80GB": + case 13: + message.acceleratorType = 13; + break; case "TPU_V2": case 6: message.acceleratorType = 6; @@ -16716,6 +16723,7 @@ * @property {google.cloud.aiplatform.v1.IModelSourceInfo|null} [modelSourceInfo] Model modelSourceInfo * @property {google.cloud.aiplatform.v1.Model.IOriginalModelInfo|null} [originalModelInfo] Model originalModelInfo * @property {string|null} [metadataArtifact] Model metadataArtifact + * @property {google.cloud.aiplatform.v1.Model.IBaseModelSource|null} [baseModelSource] Model baseModelSource */ /** @@ -16980,6 +16988,14 @@ */ Model.prototype.metadataArtifact = ""; + /** + * Model baseModelSource. + * @member {google.cloud.aiplatform.v1.Model.IBaseModelSource|null|undefined} baseModelSource + * @memberof google.cloud.aiplatform.v1.Model + * @instance + */ + Model.prototype.baseModelSource = null; + /** * Creates a new Model instance using the specified properties. * @function create @@ -17074,6 +17090,8 @@ writer.uint32(/* id 44, wireType 2 =*/354).string(message.metadataArtifact); if (message.pipelineJob != null && Object.hasOwnProperty.call(message, "pipelineJob")) writer.uint32(/* id 47, wireType 2 =*/378).string(message.pipelineJob); + if (message.baseModelSource != null && Object.hasOwnProperty.call(message, "baseModelSource")) + $root.google.cloud.aiplatform.v1.Model.BaseModelSource.encode(message.baseModelSource, writer.uint32(/* id 50, wireType 2 =*/402).fork()).ldelim(); return writer; }; @@ -17264,6 +17282,10 @@ message.metadataArtifact = reader.string(); break; } + case 50: { + message.baseModelSource = $root.google.cloud.aiplatform.v1.Model.BaseModelSource.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -17453,6 +17475,11 @@ if (message.metadataArtifact != null && message.hasOwnProperty("metadataArtifact")) if (!$util.isString(message.metadataArtifact)) return "metadataArtifact: string expected"; + if (message.baseModelSource != null && message.hasOwnProperty("baseModelSource")) { + var error = $root.google.cloud.aiplatform.v1.Model.BaseModelSource.verify(message.baseModelSource); + if (error) + return "baseModelSource." + error; + } return null; }; @@ -17627,6 +17654,11 @@ } if (object.metadataArtifact != null) message.metadataArtifact = String(object.metadataArtifact); + if (object.baseModelSource != null) { + if (typeof object.baseModelSource !== "object") + throw TypeError(".google.cloud.aiplatform.v1.Model.baseModelSource: object expected"); + message.baseModelSource = $root.google.cloud.aiplatform.v1.Model.BaseModelSource.fromObject(object.baseModelSource); + } return message; }; @@ -17677,6 +17709,7 @@ object.modelSourceInfo = null; object.metadataArtifact = ""; object.pipelineJob = ""; + object.baseModelSource = null; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -17760,6 +17793,8 @@ object.metadataArtifact = message.metadataArtifact; if (message.pipelineJob != null && message.hasOwnProperty("pipelineJob")) object.pipelineJob = message.pipelineJob; + if (message.baseModelSource != null && message.hasOwnProperty("baseModelSource")) + object.baseModelSource = $root.google.cloud.aiplatform.v1.Model.BaseModelSource.toObject(message.baseModelSource, options); return object; }; @@ -18686,6 +18721,268 @@ return OriginalModelInfo; })(); + Model.BaseModelSource = (function() { + + /** + * Properties of a BaseModelSource. + * @memberof google.cloud.aiplatform.v1.Model + * @interface IBaseModelSource + * @property {google.cloud.aiplatform.v1.IModelGardenSource|null} [modelGardenSource] BaseModelSource modelGardenSource + * @property {google.cloud.aiplatform.v1.IGenieSource|null} [genieSource] BaseModelSource genieSource + */ + + /** + * Constructs a new BaseModelSource. + * @memberof google.cloud.aiplatform.v1.Model + * @classdesc Represents a BaseModelSource. + * @implements IBaseModelSource + * @constructor + * @param {google.cloud.aiplatform.v1.Model.IBaseModelSource=} [properties] Properties to set + */ + function BaseModelSource(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * BaseModelSource modelGardenSource. + * @member {google.cloud.aiplatform.v1.IModelGardenSource|null|undefined} modelGardenSource + * @memberof google.cloud.aiplatform.v1.Model.BaseModelSource + * @instance + */ + BaseModelSource.prototype.modelGardenSource = null; + + /** + * BaseModelSource genieSource. + * @member {google.cloud.aiplatform.v1.IGenieSource|null|undefined} genieSource + * @memberof google.cloud.aiplatform.v1.Model.BaseModelSource + * @instance + */ + BaseModelSource.prototype.genieSource = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * BaseModelSource source. + * @member {"modelGardenSource"|"genieSource"|undefined} source + * @memberof google.cloud.aiplatform.v1.Model.BaseModelSource + * @instance + */ + Object.defineProperty(BaseModelSource.prototype, "source", { + get: $util.oneOfGetter($oneOfFields = ["modelGardenSource", "genieSource"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new BaseModelSource instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.Model.BaseModelSource + * @static + * @param {google.cloud.aiplatform.v1.Model.IBaseModelSource=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.Model.BaseModelSource} BaseModelSource instance + */ + BaseModelSource.create = function create(properties) { + return new BaseModelSource(properties); + }; + + /** + * Encodes the specified BaseModelSource message. Does not implicitly {@link google.cloud.aiplatform.v1.Model.BaseModelSource.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.Model.BaseModelSource + * @static + * @param {google.cloud.aiplatform.v1.Model.IBaseModelSource} message BaseModelSource message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + BaseModelSource.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.modelGardenSource != null && Object.hasOwnProperty.call(message, "modelGardenSource")) + $root.google.cloud.aiplatform.v1.ModelGardenSource.encode(message.modelGardenSource, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.genieSource != null && Object.hasOwnProperty.call(message, "genieSource")) + $root.google.cloud.aiplatform.v1.GenieSource.encode(message.genieSource, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified BaseModelSource message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.Model.BaseModelSource.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.Model.BaseModelSource + * @static + * @param {google.cloud.aiplatform.v1.Model.IBaseModelSource} message BaseModelSource message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + BaseModelSource.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a BaseModelSource message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.Model.BaseModelSource + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1.Model.BaseModelSource} BaseModelSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + BaseModelSource.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.Model.BaseModelSource(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.modelGardenSource = $root.google.cloud.aiplatform.v1.ModelGardenSource.decode(reader, reader.uint32()); + break; + } + case 2: { + message.genieSource = $root.google.cloud.aiplatform.v1.GenieSource.decode(reader, reader.uint32()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a BaseModelSource message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.Model.BaseModelSource + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.Model.BaseModelSource} BaseModelSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + BaseModelSource.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a BaseModelSource message. + * @function verify + * @memberof google.cloud.aiplatform.v1.Model.BaseModelSource + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + BaseModelSource.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.modelGardenSource != null && message.hasOwnProperty("modelGardenSource")) { + properties.source = 1; + { + var error = $root.google.cloud.aiplatform.v1.ModelGardenSource.verify(message.modelGardenSource); + if (error) + return "modelGardenSource." + error; + } + } + if (message.genieSource != null && message.hasOwnProperty("genieSource")) { + if (properties.source === 1) + return "source: multiple values"; + properties.source = 1; + { + var error = $root.google.cloud.aiplatform.v1.GenieSource.verify(message.genieSource); + if (error) + return "genieSource." + error; + } + } + return null; + }; + + /** + * Creates a BaseModelSource message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.Model.BaseModelSource + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.Model.BaseModelSource} BaseModelSource + */ + BaseModelSource.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.Model.BaseModelSource) + return object; + var message = new $root.google.cloud.aiplatform.v1.Model.BaseModelSource(); + if (object.modelGardenSource != null) { + if (typeof object.modelGardenSource !== "object") + throw TypeError(".google.cloud.aiplatform.v1.Model.BaseModelSource.modelGardenSource: object expected"); + message.modelGardenSource = $root.google.cloud.aiplatform.v1.ModelGardenSource.fromObject(object.modelGardenSource); + } + if (object.genieSource != null) { + if (typeof object.genieSource !== "object") + throw TypeError(".google.cloud.aiplatform.v1.Model.BaseModelSource.genieSource: object expected"); + message.genieSource = $root.google.cloud.aiplatform.v1.GenieSource.fromObject(object.genieSource); + } + return message; + }; + + /** + * Creates a plain object from a BaseModelSource message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.Model.BaseModelSource + * @static + * @param {google.cloud.aiplatform.v1.Model.BaseModelSource} message BaseModelSource + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + BaseModelSource.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (message.modelGardenSource != null && message.hasOwnProperty("modelGardenSource")) { + object.modelGardenSource = $root.google.cloud.aiplatform.v1.ModelGardenSource.toObject(message.modelGardenSource, options); + if (options.oneofs) + object.source = "modelGardenSource"; + } + if (message.genieSource != null && message.hasOwnProperty("genieSource")) { + object.genieSource = $root.google.cloud.aiplatform.v1.GenieSource.toObject(message.genieSource, options); + if (options.oneofs) + object.source = "genieSource"; + } + return object; + }; + + /** + * Converts this BaseModelSource to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.Model.BaseModelSource + * @instance + * @returns {Object.} JSON object + */ + BaseModelSource.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for BaseModelSource + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.Model.BaseModelSource + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BaseModelSource.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.Model.BaseModelSource"; + }; + + return BaseModelSource; + })(); + /** * DeploymentResourcesType enum. * @name google.cloud.aiplatform.v1.Model.DeploymentResourcesType @@ -18910,6 +19207,412 @@ return LargeModelReference; })(); + v1.ModelGardenSource = (function() { + + /** + * Properties of a ModelGardenSource. + * @memberof google.cloud.aiplatform.v1 + * @interface IModelGardenSource + * @property {string|null} [publicModelName] ModelGardenSource publicModelName + */ + + /** + * Constructs a new ModelGardenSource. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a ModelGardenSource. + * @implements IModelGardenSource + * @constructor + * @param {google.cloud.aiplatform.v1.IModelGardenSource=} [properties] Properties to set + */ + function ModelGardenSource(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * ModelGardenSource publicModelName. + * @member {string} publicModelName + * @memberof google.cloud.aiplatform.v1.ModelGardenSource + * @instance + */ + ModelGardenSource.prototype.publicModelName = ""; + + /** + * Creates a new ModelGardenSource instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.ModelGardenSource + * @static + * @param {google.cloud.aiplatform.v1.IModelGardenSource=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.ModelGardenSource} ModelGardenSource instance + */ + ModelGardenSource.create = function create(properties) { + return new ModelGardenSource(properties); + }; + + /** + * Encodes the specified ModelGardenSource message. Does not implicitly {@link google.cloud.aiplatform.v1.ModelGardenSource.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.ModelGardenSource + * @static + * @param {google.cloud.aiplatform.v1.IModelGardenSource} message ModelGardenSource message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ModelGardenSource.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.publicModelName != null && Object.hasOwnProperty.call(message, "publicModelName")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.publicModelName); + return writer; + }; + + /** + * Encodes the specified ModelGardenSource message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.ModelGardenSource.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.ModelGardenSource + * @static + * @param {google.cloud.aiplatform.v1.IModelGardenSource} message ModelGardenSource message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ModelGardenSource.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ModelGardenSource message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.ModelGardenSource + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1.ModelGardenSource} ModelGardenSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ModelGardenSource.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.ModelGardenSource(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.publicModelName = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ModelGardenSource message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.ModelGardenSource + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.ModelGardenSource} ModelGardenSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ModelGardenSource.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ModelGardenSource message. + * @function verify + * @memberof google.cloud.aiplatform.v1.ModelGardenSource + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ModelGardenSource.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.publicModelName != null && message.hasOwnProperty("publicModelName")) + if (!$util.isString(message.publicModelName)) + return "publicModelName: string expected"; + return null; + }; + + /** + * Creates a ModelGardenSource message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.ModelGardenSource + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.ModelGardenSource} ModelGardenSource + */ + ModelGardenSource.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.ModelGardenSource) + return object; + var message = new $root.google.cloud.aiplatform.v1.ModelGardenSource(); + if (object.publicModelName != null) + message.publicModelName = String(object.publicModelName); + return message; + }; + + /** + * Creates a plain object from a ModelGardenSource message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.ModelGardenSource + * @static + * @param {google.cloud.aiplatform.v1.ModelGardenSource} message ModelGardenSource + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ModelGardenSource.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.publicModelName = ""; + if (message.publicModelName != null && message.hasOwnProperty("publicModelName")) + object.publicModelName = message.publicModelName; + return object; + }; + + /** + * Converts this ModelGardenSource to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.ModelGardenSource + * @instance + * @returns {Object.} JSON object + */ + ModelGardenSource.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ModelGardenSource + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.ModelGardenSource + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ModelGardenSource.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.ModelGardenSource"; + }; + + return ModelGardenSource; + })(); + + v1.GenieSource = (function() { + + /** + * Properties of a GenieSource. + * @memberof google.cloud.aiplatform.v1 + * @interface IGenieSource + * @property {string|null} [baseModelUri] GenieSource baseModelUri + */ + + /** + * Constructs a new GenieSource. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a GenieSource. + * @implements IGenieSource + * @constructor + * @param {google.cloud.aiplatform.v1.IGenieSource=} [properties] Properties to set + */ + function GenieSource(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * GenieSource baseModelUri. + * @member {string} baseModelUri + * @memberof google.cloud.aiplatform.v1.GenieSource + * @instance + */ + GenieSource.prototype.baseModelUri = ""; + + /** + * Creates a new GenieSource instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.GenieSource + * @static + * @param {google.cloud.aiplatform.v1.IGenieSource=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.GenieSource} GenieSource instance + */ + GenieSource.create = function create(properties) { + return new GenieSource(properties); + }; + + /** + * Encodes the specified GenieSource message. Does not implicitly {@link google.cloud.aiplatform.v1.GenieSource.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.GenieSource + * @static + * @param {google.cloud.aiplatform.v1.IGenieSource} message GenieSource message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GenieSource.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.baseModelUri != null && Object.hasOwnProperty.call(message, "baseModelUri")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.baseModelUri); + return writer; + }; + + /** + * Encodes the specified GenieSource message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.GenieSource.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.GenieSource + * @static + * @param {google.cloud.aiplatform.v1.IGenieSource} message GenieSource message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GenieSource.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a GenieSource message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.GenieSource + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1.GenieSource} GenieSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GenieSource.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.GenieSource(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.baseModelUri = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a GenieSource message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.GenieSource + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.GenieSource} GenieSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GenieSource.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a GenieSource message. + * @function verify + * @memberof google.cloud.aiplatform.v1.GenieSource + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + GenieSource.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.baseModelUri != null && message.hasOwnProperty("baseModelUri")) + if (!$util.isString(message.baseModelUri)) + return "baseModelUri: string expected"; + return null; + }; + + /** + * Creates a GenieSource message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.GenieSource + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.GenieSource} GenieSource + */ + GenieSource.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.GenieSource) + return object; + var message = new $root.google.cloud.aiplatform.v1.GenieSource(); + if (object.baseModelUri != null) + message.baseModelUri = String(object.baseModelUri); + return message; + }; + + /** + * Creates a plain object from a GenieSource message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.GenieSource + * @static + * @param {google.cloud.aiplatform.v1.GenieSource} message GenieSource + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + GenieSource.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.baseModelUri = ""; + if (message.baseModelUri != null && message.hasOwnProperty("baseModelUri")) + object.baseModelUri = message.baseModelUri; + return object; + }; + + /** + * Converts this GenieSource to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.GenieSource + * @instance + * @returns {Object.} JSON object + */ + GenieSource.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for GenieSource + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.GenieSource + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GenieSource.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.GenieSource"; + }; + + return GenieSource; + })(); + v1.PredictSchemata = (function() { /** @@ -23305,6 +24008,9 @@ * @interface ISafetyRating * @property {google.cloud.aiplatform.v1.HarmCategory|null} [category] SafetyRating category * @property {google.cloud.aiplatform.v1.SafetyRating.HarmProbability|null} [probability] SafetyRating probability + * @property {number|null} [probabilityScore] SafetyRating probabilityScore + * @property {google.cloud.aiplatform.v1.SafetyRating.HarmSeverity|null} [severity] SafetyRating severity + * @property {number|null} [severityScore] SafetyRating severityScore * @property {boolean|null} [blocked] SafetyRating blocked */ @@ -23339,6 +24045,30 @@ */ SafetyRating.prototype.probability = 0; + /** + * SafetyRating probabilityScore. + * @member {number} probabilityScore + * @memberof google.cloud.aiplatform.v1.SafetyRating + * @instance + */ + SafetyRating.prototype.probabilityScore = 0; + + /** + * SafetyRating severity. + * @member {google.cloud.aiplatform.v1.SafetyRating.HarmSeverity} severity + * @memberof google.cloud.aiplatform.v1.SafetyRating + * @instance + */ + SafetyRating.prototype.severity = 0; + + /** + * SafetyRating severityScore. + * @member {number} severityScore + * @memberof google.cloud.aiplatform.v1.SafetyRating + * @instance + */ + SafetyRating.prototype.severityScore = 0; + /** * SafetyRating blocked. * @member {boolean} blocked @@ -23377,6 +24107,12 @@ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.probability); if (message.blocked != null && Object.hasOwnProperty.call(message, "blocked")) writer.uint32(/* id 3, wireType 0 =*/24).bool(message.blocked); + if (message.probabilityScore != null && Object.hasOwnProperty.call(message, "probabilityScore")) + writer.uint32(/* id 5, wireType 5 =*/45).float(message.probabilityScore); + if (message.severity != null && Object.hasOwnProperty.call(message, "severity")) + writer.uint32(/* id 6, wireType 0 =*/48).int32(message.severity); + if (message.severityScore != null && Object.hasOwnProperty.call(message, "severityScore")) + writer.uint32(/* id 7, wireType 5 =*/61).float(message.severityScore); return writer; }; @@ -23419,6 +24155,18 @@ message.probability = reader.int32(); break; } + case 5: { + message.probabilityScore = reader.float(); + break; + } + case 6: { + message.severity = reader.int32(); + break; + } + case 7: { + message.severityScore = reader.float(); + break; + } case 3: { message.blocked = reader.bool(); break; @@ -23480,6 +24228,23 @@ case 4: break; } + if (message.probabilityScore != null && message.hasOwnProperty("probabilityScore")) + if (typeof message.probabilityScore !== "number") + return "probabilityScore: number expected"; + if (message.severity != null && message.hasOwnProperty("severity")) + switch (message.severity) { + default: + return "severity: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + break; + } + if (message.severityScore != null && message.hasOwnProperty("severityScore")) + if (typeof message.severityScore !== "number") + return "severityScore: number expected"; if (message.blocked != null && message.hasOwnProperty("blocked")) if (typeof message.blocked !== "boolean") return "blocked: boolean expected"; @@ -23554,6 +24319,38 @@ message.probability = 4; break; } + if (object.probabilityScore != null) + message.probabilityScore = Number(object.probabilityScore); + switch (object.severity) { + default: + if (typeof object.severity === "number") { + message.severity = object.severity; + break; + } + break; + case "HARM_SEVERITY_UNSPECIFIED": + case 0: + message.severity = 0; + break; + case "HARM_SEVERITY_NEGLIGIBLE": + case 1: + message.severity = 1; + break; + case "HARM_SEVERITY_LOW": + case 2: + message.severity = 2; + break; + case "HARM_SEVERITY_MEDIUM": + case 3: + message.severity = 3; + break; + case "HARM_SEVERITY_HIGH": + case 4: + message.severity = 4; + break; + } + if (object.severityScore != null) + message.severityScore = Number(object.severityScore); if (object.blocked != null) message.blocked = Boolean(object.blocked); return message; @@ -23576,6 +24373,9 @@ object.category = options.enums === String ? "HARM_CATEGORY_UNSPECIFIED" : 0; object.probability = options.enums === String ? "HARM_PROBABILITY_UNSPECIFIED" : 0; object.blocked = false; + object.probabilityScore = 0; + object.severity = options.enums === String ? "HARM_SEVERITY_UNSPECIFIED" : 0; + object.severityScore = 0; } if (message.category != null && message.hasOwnProperty("category")) object.category = options.enums === String ? $root.google.cloud.aiplatform.v1.HarmCategory[message.category] === undefined ? message.category : $root.google.cloud.aiplatform.v1.HarmCategory[message.category] : message.category; @@ -23583,6 +24383,12 @@ object.probability = options.enums === String ? $root.google.cloud.aiplatform.v1.SafetyRating.HarmProbability[message.probability] === undefined ? message.probability : $root.google.cloud.aiplatform.v1.SafetyRating.HarmProbability[message.probability] : message.probability; if (message.blocked != null && message.hasOwnProperty("blocked")) object.blocked = message.blocked; + if (message.probabilityScore != null && message.hasOwnProperty("probabilityScore")) + object.probabilityScore = options.json && !isFinite(message.probabilityScore) ? String(message.probabilityScore) : message.probabilityScore; + if (message.severity != null && message.hasOwnProperty("severity")) + object.severity = options.enums === String ? $root.google.cloud.aiplatform.v1.SafetyRating.HarmSeverity[message.severity] === undefined ? message.severity : $root.google.cloud.aiplatform.v1.SafetyRating.HarmSeverity[message.severity] : message.severity; + if (message.severityScore != null && message.hasOwnProperty("severityScore")) + object.severityScore = options.json && !isFinite(message.severityScore) ? String(message.severityScore) : message.severityScore; return object; }; @@ -23632,6 +24438,26 @@ return values; })(); + /** + * HarmSeverity enum. + * @name google.cloud.aiplatform.v1.SafetyRating.HarmSeverity + * @enum {number} + * @property {number} HARM_SEVERITY_UNSPECIFIED=0 HARM_SEVERITY_UNSPECIFIED value + * @property {number} HARM_SEVERITY_NEGLIGIBLE=1 HARM_SEVERITY_NEGLIGIBLE value + * @property {number} HARM_SEVERITY_LOW=2 HARM_SEVERITY_LOW value + * @property {number} HARM_SEVERITY_MEDIUM=3 HARM_SEVERITY_MEDIUM value + * @property {number} HARM_SEVERITY_HIGH=4 HARM_SEVERITY_HIGH value + */ + SafetyRating.HarmSeverity = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "HARM_SEVERITY_UNSPECIFIED"] = 0; + values[valuesById[1] = "HARM_SEVERITY_NEGLIGIBLE"] = 1; + values[valuesById[2] = "HARM_SEVERITY_LOW"] = 2; + values[valuesById[3] = "HARM_SEVERITY_MEDIUM"] = 3; + values[valuesById[4] = "HARM_SEVERITY_HIGH"] = 4; + return values; + })(); + return SafetyRating; })(); @@ -24195,6 +25021,7 @@ * @property {Array.|null} [safetyRatings] Candidate safetyRatings * @property {string|null} [finishMessage] Candidate finishMessage * @property {google.cloud.aiplatform.v1.ICitationMetadata|null} [citationMetadata] Candidate citationMetadata + * @property {google.cloud.aiplatform.v1.IGroundingMetadata|null} [groundingMetadata] Candidate groundingMetadata */ /** @@ -24261,6 +25088,14 @@ */ Candidate.prototype.citationMetadata = null; + /** + * Candidate groundingMetadata. + * @member {google.cloud.aiplatform.v1.IGroundingMetadata|null|undefined} groundingMetadata + * @memberof google.cloud.aiplatform.v1.Candidate + * @instance + */ + Candidate.prototype.groundingMetadata = null; + // OneOf field names bound to virtual getters and setters var $oneOfFields; @@ -24312,6 +25147,8 @@ writer.uint32(/* id 5, wireType 2 =*/42).string(message.finishMessage); if (message.citationMetadata != null && Object.hasOwnProperty.call(message, "citationMetadata")) $root.google.cloud.aiplatform.v1.CitationMetadata.encode(message.citationMetadata, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.groundingMetadata != null && Object.hasOwnProperty.call(message, "groundingMetadata")) + $root.google.cloud.aiplatform.v1.GroundingMetadata.encode(message.groundingMetadata, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); return writer; }; @@ -24372,6 +25209,10 @@ message.citationMetadata = $root.google.cloud.aiplatform.v1.CitationMetadata.decode(reader, reader.uint32()); break; } + case 7: { + message.groundingMetadata = $root.google.cloud.aiplatform.v1.GroundingMetadata.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -24426,6 +25267,9 @@ case 3: case 4: case 5: + case 6: + case 7: + case 8: break; } if (message.safetyRatings != null && message.hasOwnProperty("safetyRatings")) { @@ -24447,6 +25291,11 @@ if (error) return "citationMetadata." + error; } + if (message.groundingMetadata != null && message.hasOwnProperty("groundingMetadata")) { + var error = $root.google.cloud.aiplatform.v1.GroundingMetadata.verify(message.groundingMetadata); + if (error) + return "groundingMetadata." + error; + } return null; }; @@ -24500,6 +25349,18 @@ case 5: message.finishReason = 5; break; + case "BLOCKLIST": + case 6: + message.finishReason = 6; + break; + case "PROHIBITED_CONTENT": + case 7: + message.finishReason = 7; + break; + case "SPII": + case 8: + message.finishReason = 8; + break; } if (object.safetyRatings) { if (!Array.isArray(object.safetyRatings)) @@ -24518,6 +25379,11 @@ throw TypeError(".google.cloud.aiplatform.v1.Candidate.citationMetadata: object expected"); message.citationMetadata = $root.google.cloud.aiplatform.v1.CitationMetadata.fromObject(object.citationMetadata); } + if (object.groundingMetadata != null) { + if (typeof object.groundingMetadata !== "object") + throw TypeError(".google.cloud.aiplatform.v1.Candidate.groundingMetadata: object expected"); + message.groundingMetadata = $root.google.cloud.aiplatform.v1.GroundingMetadata.fromObject(object.groundingMetadata); + } return message; }; @@ -24541,6 +25407,7 @@ object.content = null; object.finishReason = options.enums === String ? "FINISH_REASON_UNSPECIFIED" : 0; object.citationMetadata = null; + object.groundingMetadata = null; } if (message.index != null && message.hasOwnProperty("index")) object.index = message.index; @@ -24560,6 +25427,8 @@ } if (message.citationMetadata != null && message.hasOwnProperty("citationMetadata")) object.citationMetadata = $root.google.cloud.aiplatform.v1.CitationMetadata.toObject(message.citationMetadata, options); + if (message.groundingMetadata != null && message.hasOwnProperty("groundingMetadata")) + object.groundingMetadata = $root.google.cloud.aiplatform.v1.GroundingMetadata.toObject(message.groundingMetadata, options); return object; }; @@ -24599,6 +25468,9 @@ * @property {number} SAFETY=3 SAFETY value * @property {number} RECITATION=4 RECITATION value * @property {number} OTHER=5 OTHER value + * @property {number} BLOCKLIST=6 BLOCKLIST value + * @property {number} PROHIBITED_CONTENT=7 PROHIBITED_CONTENT value + * @property {number} SPII=8 SPII value */ Candidate.FinishReason = (function() { var valuesById = {}, values = Object.create(valuesById); @@ -24608,12 +25480,1050 @@ values[valuesById[3] = "SAFETY"] = 3; values[valuesById[4] = "RECITATION"] = 4; values[valuesById[5] = "OTHER"] = 5; + values[valuesById[6] = "BLOCKLIST"] = 6; + values[valuesById[7] = "PROHIBITED_CONTENT"] = 7; + values[valuesById[8] = "SPII"] = 8; return values; })(); return Candidate; })(); + v1.Segment = (function() { + + /** + * Properties of a Segment. + * @memberof google.cloud.aiplatform.v1 + * @interface ISegment + * @property {number|null} [partIndex] Segment partIndex + * @property {number|null} [startIndex] Segment startIndex + * @property {number|null} [endIndex] Segment endIndex + */ + + /** + * Constructs a new Segment. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a Segment. + * @implements ISegment + * @constructor + * @param {google.cloud.aiplatform.v1.ISegment=} [properties] Properties to set + */ + function Segment(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * Segment partIndex. + * @member {number} partIndex + * @memberof google.cloud.aiplatform.v1.Segment + * @instance + */ + Segment.prototype.partIndex = 0; + + /** + * Segment startIndex. + * @member {number} startIndex + * @memberof google.cloud.aiplatform.v1.Segment + * @instance + */ + Segment.prototype.startIndex = 0; + + /** + * Segment endIndex. + * @member {number} endIndex + * @memberof google.cloud.aiplatform.v1.Segment + * @instance + */ + Segment.prototype.endIndex = 0; + + /** + * Creates a new Segment instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.Segment + * @static + * @param {google.cloud.aiplatform.v1.ISegment=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.Segment} Segment instance + */ + Segment.create = function create(properties) { + return new Segment(properties); + }; + + /** + * Encodes the specified Segment message. Does not implicitly {@link google.cloud.aiplatform.v1.Segment.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.Segment + * @static + * @param {google.cloud.aiplatform.v1.ISegment} message Segment message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Segment.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.partIndex != null && Object.hasOwnProperty.call(message, "partIndex")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.partIndex); + if (message.startIndex != null && Object.hasOwnProperty.call(message, "startIndex")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.startIndex); + if (message.endIndex != null && Object.hasOwnProperty.call(message, "endIndex")) + writer.uint32(/* id 3, wireType 0 =*/24).int32(message.endIndex); + return writer; + }; + + /** + * Encodes the specified Segment message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.Segment.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.Segment + * @static + * @param {google.cloud.aiplatform.v1.ISegment} message Segment message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Segment.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a Segment message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.Segment + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1.Segment} Segment + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Segment.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.Segment(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.partIndex = reader.int32(); + break; + } + case 2: { + message.startIndex = reader.int32(); + break; + } + case 3: { + message.endIndex = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a Segment message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.Segment + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.Segment} Segment + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Segment.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a Segment message. + * @function verify + * @memberof google.cloud.aiplatform.v1.Segment + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Segment.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.partIndex != null && message.hasOwnProperty("partIndex")) + if (!$util.isInteger(message.partIndex)) + return "partIndex: integer expected"; + if (message.startIndex != null && message.hasOwnProperty("startIndex")) + if (!$util.isInteger(message.startIndex)) + return "startIndex: integer expected"; + if (message.endIndex != null && message.hasOwnProperty("endIndex")) + if (!$util.isInteger(message.endIndex)) + return "endIndex: integer expected"; + return null; + }; + + /** + * Creates a Segment message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.Segment + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.Segment} Segment + */ + Segment.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.Segment) + return object; + var message = new $root.google.cloud.aiplatform.v1.Segment(); + if (object.partIndex != null) + message.partIndex = object.partIndex | 0; + if (object.startIndex != null) + message.startIndex = object.startIndex | 0; + if (object.endIndex != null) + message.endIndex = object.endIndex | 0; + return message; + }; + + /** + * Creates a plain object from a Segment message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.Segment + * @static + * @param {google.cloud.aiplatform.v1.Segment} message Segment + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + Segment.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.partIndex = 0; + object.startIndex = 0; + object.endIndex = 0; + } + if (message.partIndex != null && message.hasOwnProperty("partIndex")) + object.partIndex = message.partIndex; + if (message.startIndex != null && message.hasOwnProperty("startIndex")) + object.startIndex = message.startIndex; + if (message.endIndex != null && message.hasOwnProperty("endIndex")) + object.endIndex = message.endIndex; + return object; + }; + + /** + * Converts this Segment to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.Segment + * @instance + * @returns {Object.} JSON object + */ + Segment.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for Segment + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.Segment + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Segment.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.Segment"; + }; + + return Segment; + })(); + + v1.GroundingAttribution = (function() { + + /** + * Properties of a GroundingAttribution. + * @memberof google.cloud.aiplatform.v1 + * @interface IGroundingAttribution + * @property {google.cloud.aiplatform.v1.GroundingAttribution.IWeb|null} [web] GroundingAttribution web + * @property {google.cloud.aiplatform.v1.ISegment|null} [segment] GroundingAttribution segment + * @property {number|null} [confidenceScore] GroundingAttribution confidenceScore + */ + + /** + * Constructs a new GroundingAttribution. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a GroundingAttribution. + * @implements IGroundingAttribution + * @constructor + * @param {google.cloud.aiplatform.v1.IGroundingAttribution=} [properties] Properties to set + */ + function GroundingAttribution(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * GroundingAttribution web. + * @member {google.cloud.aiplatform.v1.GroundingAttribution.IWeb|null|undefined} web + * @memberof google.cloud.aiplatform.v1.GroundingAttribution + * @instance + */ + GroundingAttribution.prototype.web = null; + + /** + * GroundingAttribution segment. + * @member {google.cloud.aiplatform.v1.ISegment|null|undefined} segment + * @memberof google.cloud.aiplatform.v1.GroundingAttribution + * @instance + */ + GroundingAttribution.prototype.segment = null; + + /** + * GroundingAttribution confidenceScore. + * @member {number|null|undefined} confidenceScore + * @memberof google.cloud.aiplatform.v1.GroundingAttribution + * @instance + */ + GroundingAttribution.prototype.confidenceScore = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * GroundingAttribution reference. + * @member {"web"|undefined} reference + * @memberof google.cloud.aiplatform.v1.GroundingAttribution + * @instance + */ + Object.defineProperty(GroundingAttribution.prototype, "reference", { + get: $util.oneOfGetter($oneOfFields = ["web"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * GroundingAttribution _confidenceScore. + * @member {"confidenceScore"|undefined} _confidenceScore + * @memberof google.cloud.aiplatform.v1.GroundingAttribution + * @instance + */ + Object.defineProperty(GroundingAttribution.prototype, "_confidenceScore", { + get: $util.oneOfGetter($oneOfFields = ["confidenceScore"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new GroundingAttribution instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.GroundingAttribution + * @static + * @param {google.cloud.aiplatform.v1.IGroundingAttribution=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.GroundingAttribution} GroundingAttribution instance + */ + GroundingAttribution.create = function create(properties) { + return new GroundingAttribution(properties); + }; + + /** + * Encodes the specified GroundingAttribution message. Does not implicitly {@link google.cloud.aiplatform.v1.GroundingAttribution.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.GroundingAttribution + * @static + * @param {google.cloud.aiplatform.v1.IGroundingAttribution} message GroundingAttribution message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GroundingAttribution.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.segment != null && Object.hasOwnProperty.call(message, "segment")) + $root.google.cloud.aiplatform.v1.Segment.encode(message.segment, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.confidenceScore != null && Object.hasOwnProperty.call(message, "confidenceScore")) + writer.uint32(/* id 2, wireType 5 =*/21).float(message.confidenceScore); + if (message.web != null && Object.hasOwnProperty.call(message, "web")) + $root.google.cloud.aiplatform.v1.GroundingAttribution.Web.encode(message.web, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified GroundingAttribution message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.GroundingAttribution.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.GroundingAttribution + * @static + * @param {google.cloud.aiplatform.v1.IGroundingAttribution} message GroundingAttribution message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GroundingAttribution.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a GroundingAttribution message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.GroundingAttribution + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1.GroundingAttribution} GroundingAttribution + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GroundingAttribution.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.GroundingAttribution(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 3: { + message.web = $root.google.cloud.aiplatform.v1.GroundingAttribution.Web.decode(reader, reader.uint32()); + break; + } + case 1: { + message.segment = $root.google.cloud.aiplatform.v1.Segment.decode(reader, reader.uint32()); + break; + } + case 2: { + message.confidenceScore = reader.float(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a GroundingAttribution message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.GroundingAttribution + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.GroundingAttribution} GroundingAttribution + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GroundingAttribution.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a GroundingAttribution message. + * @function verify + * @memberof google.cloud.aiplatform.v1.GroundingAttribution + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + GroundingAttribution.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.web != null && message.hasOwnProperty("web")) { + properties.reference = 1; + { + var error = $root.google.cloud.aiplatform.v1.GroundingAttribution.Web.verify(message.web); + if (error) + return "web." + error; + } + } + if (message.segment != null && message.hasOwnProperty("segment")) { + var error = $root.google.cloud.aiplatform.v1.Segment.verify(message.segment); + if (error) + return "segment." + error; + } + if (message.confidenceScore != null && message.hasOwnProperty("confidenceScore")) { + properties._confidenceScore = 1; + if (typeof message.confidenceScore !== "number") + return "confidenceScore: number expected"; + } + return null; + }; + + /** + * Creates a GroundingAttribution message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.GroundingAttribution + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.GroundingAttribution} GroundingAttribution + */ + GroundingAttribution.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.GroundingAttribution) + return object; + var message = new $root.google.cloud.aiplatform.v1.GroundingAttribution(); + if (object.web != null) { + if (typeof object.web !== "object") + throw TypeError(".google.cloud.aiplatform.v1.GroundingAttribution.web: object expected"); + message.web = $root.google.cloud.aiplatform.v1.GroundingAttribution.Web.fromObject(object.web); + } + if (object.segment != null) { + if (typeof object.segment !== "object") + throw TypeError(".google.cloud.aiplatform.v1.GroundingAttribution.segment: object expected"); + message.segment = $root.google.cloud.aiplatform.v1.Segment.fromObject(object.segment); + } + if (object.confidenceScore != null) + message.confidenceScore = Number(object.confidenceScore); + return message; + }; + + /** + * Creates a plain object from a GroundingAttribution message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.GroundingAttribution + * @static + * @param {google.cloud.aiplatform.v1.GroundingAttribution} message GroundingAttribution + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + GroundingAttribution.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.segment = null; + if (message.segment != null && message.hasOwnProperty("segment")) + object.segment = $root.google.cloud.aiplatform.v1.Segment.toObject(message.segment, options); + if (message.confidenceScore != null && message.hasOwnProperty("confidenceScore")) { + object.confidenceScore = options.json && !isFinite(message.confidenceScore) ? String(message.confidenceScore) : message.confidenceScore; + if (options.oneofs) + object._confidenceScore = "confidenceScore"; + } + if (message.web != null && message.hasOwnProperty("web")) { + object.web = $root.google.cloud.aiplatform.v1.GroundingAttribution.Web.toObject(message.web, options); + if (options.oneofs) + object.reference = "web"; + } + return object; + }; + + /** + * Converts this GroundingAttribution to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.GroundingAttribution + * @instance + * @returns {Object.} JSON object + */ + GroundingAttribution.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for GroundingAttribution + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.GroundingAttribution + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GroundingAttribution.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.GroundingAttribution"; + }; + + GroundingAttribution.Web = (function() { + + /** + * Properties of a Web. + * @memberof google.cloud.aiplatform.v1.GroundingAttribution + * @interface IWeb + * @property {string|null} [uri] Web uri + * @property {string|null} [title] Web title + */ + + /** + * Constructs a new Web. + * @memberof google.cloud.aiplatform.v1.GroundingAttribution + * @classdesc Represents a Web. + * @implements IWeb + * @constructor + * @param {google.cloud.aiplatform.v1.GroundingAttribution.IWeb=} [properties] Properties to set + */ + function Web(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * Web uri. + * @member {string} uri + * @memberof google.cloud.aiplatform.v1.GroundingAttribution.Web + * @instance + */ + Web.prototype.uri = ""; + + /** + * Web title. + * @member {string} title + * @memberof google.cloud.aiplatform.v1.GroundingAttribution.Web + * @instance + */ + Web.prototype.title = ""; + + /** + * Creates a new Web instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.GroundingAttribution.Web + * @static + * @param {google.cloud.aiplatform.v1.GroundingAttribution.IWeb=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.GroundingAttribution.Web} Web instance + */ + Web.create = function create(properties) { + return new Web(properties); + }; + + /** + * Encodes the specified Web message. Does not implicitly {@link google.cloud.aiplatform.v1.GroundingAttribution.Web.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.GroundingAttribution.Web + * @static + * @param {google.cloud.aiplatform.v1.GroundingAttribution.IWeb} message Web message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Web.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.uri != null && Object.hasOwnProperty.call(message, "uri")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.uri); + if (message.title != null && Object.hasOwnProperty.call(message, "title")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.title); + return writer; + }; + + /** + * Encodes the specified Web message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.GroundingAttribution.Web.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.GroundingAttribution.Web + * @static + * @param {google.cloud.aiplatform.v1.GroundingAttribution.IWeb} message Web message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Web.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a Web message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.GroundingAttribution.Web + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1.GroundingAttribution.Web} Web + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Web.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.GroundingAttribution.Web(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.uri = reader.string(); + break; + } + case 2: { + message.title = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a Web message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.GroundingAttribution.Web + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.GroundingAttribution.Web} Web + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Web.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a Web message. + * @function verify + * @memberof google.cloud.aiplatform.v1.GroundingAttribution.Web + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Web.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.uri != null && message.hasOwnProperty("uri")) + if (!$util.isString(message.uri)) + return "uri: string expected"; + if (message.title != null && message.hasOwnProperty("title")) + if (!$util.isString(message.title)) + return "title: string expected"; + return null; + }; + + /** + * Creates a Web message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.GroundingAttribution.Web + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.GroundingAttribution.Web} Web + */ + Web.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.GroundingAttribution.Web) + return object; + var message = new $root.google.cloud.aiplatform.v1.GroundingAttribution.Web(); + if (object.uri != null) + message.uri = String(object.uri); + if (object.title != null) + message.title = String(object.title); + return message; + }; + + /** + * Creates a plain object from a Web message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.GroundingAttribution.Web + * @static + * @param {google.cloud.aiplatform.v1.GroundingAttribution.Web} message Web + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + Web.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.uri = ""; + object.title = ""; + } + if (message.uri != null && message.hasOwnProperty("uri")) + object.uri = message.uri; + if (message.title != null && message.hasOwnProperty("title")) + object.title = message.title; + return object; + }; + + /** + * Converts this Web to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.GroundingAttribution.Web + * @instance + * @returns {Object.} JSON object + */ + Web.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for Web + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.GroundingAttribution.Web + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Web.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.GroundingAttribution.Web"; + }; + + return Web; + })(); + + return GroundingAttribution; + })(); + + v1.GroundingMetadata = (function() { + + /** + * Properties of a GroundingMetadata. + * @memberof google.cloud.aiplatform.v1 + * @interface IGroundingMetadata + * @property {Array.|null} [webSearchQueries] GroundingMetadata webSearchQueries + * @property {Array.|null} [groundingAttributions] GroundingMetadata groundingAttributions + */ + + /** + * Constructs a new GroundingMetadata. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a GroundingMetadata. + * @implements IGroundingMetadata + * @constructor + * @param {google.cloud.aiplatform.v1.IGroundingMetadata=} [properties] Properties to set + */ + function GroundingMetadata(properties) { + this.webSearchQueries = []; + this.groundingAttributions = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * GroundingMetadata webSearchQueries. + * @member {Array.} webSearchQueries + * @memberof google.cloud.aiplatform.v1.GroundingMetadata + * @instance + */ + GroundingMetadata.prototype.webSearchQueries = $util.emptyArray; + + /** + * GroundingMetadata groundingAttributions. + * @member {Array.} groundingAttributions + * @memberof google.cloud.aiplatform.v1.GroundingMetadata + * @instance + */ + GroundingMetadata.prototype.groundingAttributions = $util.emptyArray; + + /** + * Creates a new GroundingMetadata instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.GroundingMetadata + * @static + * @param {google.cloud.aiplatform.v1.IGroundingMetadata=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.GroundingMetadata} GroundingMetadata instance + */ + GroundingMetadata.create = function create(properties) { + return new GroundingMetadata(properties); + }; + + /** + * Encodes the specified GroundingMetadata message. Does not implicitly {@link google.cloud.aiplatform.v1.GroundingMetadata.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.GroundingMetadata + * @static + * @param {google.cloud.aiplatform.v1.IGroundingMetadata} message GroundingMetadata message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GroundingMetadata.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.webSearchQueries != null && message.webSearchQueries.length) + for (var i = 0; i < message.webSearchQueries.length; ++i) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.webSearchQueries[i]); + if (message.groundingAttributions != null && message.groundingAttributions.length) + for (var i = 0; i < message.groundingAttributions.length; ++i) + $root.google.cloud.aiplatform.v1.GroundingAttribution.encode(message.groundingAttributions[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified GroundingMetadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.GroundingMetadata.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.GroundingMetadata + * @static + * @param {google.cloud.aiplatform.v1.IGroundingMetadata} message GroundingMetadata message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GroundingMetadata.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a GroundingMetadata message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.GroundingMetadata + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1.GroundingMetadata} GroundingMetadata + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GroundingMetadata.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.GroundingMetadata(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + if (!(message.webSearchQueries && message.webSearchQueries.length)) + message.webSearchQueries = []; + message.webSearchQueries.push(reader.string()); + break; + } + case 2: { + if (!(message.groundingAttributions && message.groundingAttributions.length)) + message.groundingAttributions = []; + message.groundingAttributions.push($root.google.cloud.aiplatform.v1.GroundingAttribution.decode(reader, reader.uint32())); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a GroundingMetadata message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.GroundingMetadata + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.GroundingMetadata} GroundingMetadata + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GroundingMetadata.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a GroundingMetadata message. + * @function verify + * @memberof google.cloud.aiplatform.v1.GroundingMetadata + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + GroundingMetadata.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.webSearchQueries != null && message.hasOwnProperty("webSearchQueries")) { + if (!Array.isArray(message.webSearchQueries)) + return "webSearchQueries: array expected"; + for (var i = 0; i < message.webSearchQueries.length; ++i) + if (!$util.isString(message.webSearchQueries[i])) + return "webSearchQueries: string[] expected"; + } + if (message.groundingAttributions != null && message.hasOwnProperty("groundingAttributions")) { + if (!Array.isArray(message.groundingAttributions)) + return "groundingAttributions: array expected"; + for (var i = 0; i < message.groundingAttributions.length; ++i) { + var error = $root.google.cloud.aiplatform.v1.GroundingAttribution.verify(message.groundingAttributions[i]); + if (error) + return "groundingAttributions." + error; + } + } + return null; + }; + + /** + * Creates a GroundingMetadata message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.GroundingMetadata + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.GroundingMetadata} GroundingMetadata + */ + GroundingMetadata.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.GroundingMetadata) + return object; + var message = new $root.google.cloud.aiplatform.v1.GroundingMetadata(); + if (object.webSearchQueries) { + if (!Array.isArray(object.webSearchQueries)) + throw TypeError(".google.cloud.aiplatform.v1.GroundingMetadata.webSearchQueries: array expected"); + message.webSearchQueries = []; + for (var i = 0; i < object.webSearchQueries.length; ++i) + message.webSearchQueries[i] = String(object.webSearchQueries[i]); + } + if (object.groundingAttributions) { + if (!Array.isArray(object.groundingAttributions)) + throw TypeError(".google.cloud.aiplatform.v1.GroundingMetadata.groundingAttributions: array expected"); + message.groundingAttributions = []; + for (var i = 0; i < object.groundingAttributions.length; ++i) { + if (typeof object.groundingAttributions[i] !== "object") + throw TypeError(".google.cloud.aiplatform.v1.GroundingMetadata.groundingAttributions: object expected"); + message.groundingAttributions[i] = $root.google.cloud.aiplatform.v1.GroundingAttribution.fromObject(object.groundingAttributions[i]); + } + } + return message; + }; + + /** + * Creates a plain object from a GroundingMetadata message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.GroundingMetadata + * @static + * @param {google.cloud.aiplatform.v1.GroundingMetadata} message GroundingMetadata + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + GroundingMetadata.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) { + object.webSearchQueries = []; + object.groundingAttributions = []; + } + if (message.webSearchQueries && message.webSearchQueries.length) { + object.webSearchQueries = []; + for (var j = 0; j < message.webSearchQueries.length; ++j) + object.webSearchQueries[j] = message.webSearchQueries[j]; + } + if (message.groundingAttributions && message.groundingAttributions.length) { + object.groundingAttributions = []; + for (var j = 0; j < message.groundingAttributions.length; ++j) + object.groundingAttributions[j] = $root.google.cloud.aiplatform.v1.GroundingAttribution.toObject(message.groundingAttributions[j], options); + } + return object; + }; + + /** + * Converts this GroundingMetadata to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.GroundingMetadata + * @instance + * @returns {Object.} JSON object + */ + GroundingMetadata.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for GroundingMetadata + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.GroundingMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GroundingMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.GroundingMetadata"; + }; + + return GroundingMetadata; + })(); + v1.Tool = (function() { /** @@ -24621,6 +26531,8 @@ * @memberof google.cloud.aiplatform.v1 * @interface ITool * @property {Array.|null} [functionDeclarations] Tool functionDeclarations + * @property {google.cloud.aiplatform.v1.IRetrieval|null} [retrieval] Tool retrieval + * @property {google.cloud.aiplatform.v1.IGoogleSearchRetrieval|null} [googleSearchRetrieval] Tool googleSearchRetrieval */ /** @@ -24647,6 +26559,22 @@ */ Tool.prototype.functionDeclarations = $util.emptyArray; + /** + * Tool retrieval. + * @member {google.cloud.aiplatform.v1.IRetrieval|null|undefined} retrieval + * @memberof google.cloud.aiplatform.v1.Tool + * @instance + */ + Tool.prototype.retrieval = null; + + /** + * Tool googleSearchRetrieval. + * @member {google.cloud.aiplatform.v1.IGoogleSearchRetrieval|null|undefined} googleSearchRetrieval + * @memberof google.cloud.aiplatform.v1.Tool + * @instance + */ + Tool.prototype.googleSearchRetrieval = null; + /** * Creates a new Tool instance using the specified properties. * @function create @@ -24674,6 +26602,10 @@ if (message.functionDeclarations != null && message.functionDeclarations.length) for (var i = 0; i < message.functionDeclarations.length; ++i) $root.google.cloud.aiplatform.v1.FunctionDeclaration.encode(message.functionDeclarations[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.retrieval != null && Object.hasOwnProperty.call(message, "retrieval")) + $root.google.cloud.aiplatform.v1.Retrieval.encode(message.retrieval, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.googleSearchRetrieval != null && Object.hasOwnProperty.call(message, "googleSearchRetrieval")) + $root.google.cloud.aiplatform.v1.GoogleSearchRetrieval.encode(message.googleSearchRetrieval, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; @@ -24714,6 +26646,14 @@ message.functionDeclarations.push($root.google.cloud.aiplatform.v1.FunctionDeclaration.decode(reader, reader.uint32())); break; } + case 2: { + message.retrieval = $root.google.cloud.aiplatform.v1.Retrieval.decode(reader, reader.uint32()); + break; + } + case 3: { + message.googleSearchRetrieval = $root.google.cloud.aiplatform.v1.GoogleSearchRetrieval.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -24758,6 +26698,16 @@ return "functionDeclarations." + error; } } + if (message.retrieval != null && message.hasOwnProperty("retrieval")) { + var error = $root.google.cloud.aiplatform.v1.Retrieval.verify(message.retrieval); + if (error) + return "retrieval." + error; + } + if (message.googleSearchRetrieval != null && message.hasOwnProperty("googleSearchRetrieval")) { + var error = $root.google.cloud.aiplatform.v1.GoogleSearchRetrieval.verify(message.googleSearchRetrieval); + if (error) + return "googleSearchRetrieval." + error; + } return null; }; @@ -24783,6 +26733,16 @@ message.functionDeclarations[i] = $root.google.cloud.aiplatform.v1.FunctionDeclaration.fromObject(object.functionDeclarations[i]); } } + if (object.retrieval != null) { + if (typeof object.retrieval !== "object") + throw TypeError(".google.cloud.aiplatform.v1.Tool.retrieval: object expected"); + message.retrieval = $root.google.cloud.aiplatform.v1.Retrieval.fromObject(object.retrieval); + } + if (object.googleSearchRetrieval != null) { + if (typeof object.googleSearchRetrieval !== "object") + throw TypeError(".google.cloud.aiplatform.v1.Tool.googleSearchRetrieval: object expected"); + message.googleSearchRetrieval = $root.google.cloud.aiplatform.v1.GoogleSearchRetrieval.fromObject(object.googleSearchRetrieval); + } return message; }; @@ -24801,11 +26761,19 @@ var object = {}; if (options.arrays || options.defaults) object.functionDeclarations = []; + if (options.defaults) { + object.retrieval = null; + object.googleSearchRetrieval = null; + } if (message.functionDeclarations && message.functionDeclarations.length) { object.functionDeclarations = []; for (var j = 0; j < message.functionDeclarations.length; ++j) object.functionDeclarations[j] = $root.google.cloud.aiplatform.v1.FunctionDeclaration.toObject(message.functionDeclarations[j], options); } + if (message.retrieval != null && message.hasOwnProperty("retrieval")) + object.retrieval = $root.google.cloud.aiplatform.v1.Retrieval.toObject(message.retrieval, options); + if (message.googleSearchRetrieval != null && message.hasOwnProperty("googleSearchRetrieval")) + object.googleSearchRetrieval = $root.google.cloud.aiplatform.v1.GoogleSearchRetrieval.toObject(message.googleSearchRetrieval, options); return object; }; @@ -25557,6 +27525,663 @@ return FunctionResponse; })(); + v1.Retrieval = (function() { + + /** + * Properties of a Retrieval. + * @memberof google.cloud.aiplatform.v1 + * @interface IRetrieval + * @property {google.cloud.aiplatform.v1.IVertexAISearch|null} [vertexAiSearch] Retrieval vertexAiSearch + * @property {boolean|null} [disableAttribution] Retrieval disableAttribution + */ + + /** + * Constructs a new Retrieval. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a Retrieval. + * @implements IRetrieval + * @constructor + * @param {google.cloud.aiplatform.v1.IRetrieval=} [properties] Properties to set + */ + function Retrieval(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * Retrieval vertexAiSearch. + * @member {google.cloud.aiplatform.v1.IVertexAISearch|null|undefined} vertexAiSearch + * @memberof google.cloud.aiplatform.v1.Retrieval + * @instance + */ + Retrieval.prototype.vertexAiSearch = null; + + /** + * Retrieval disableAttribution. + * @member {boolean} disableAttribution + * @memberof google.cloud.aiplatform.v1.Retrieval + * @instance + */ + Retrieval.prototype.disableAttribution = false; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * Retrieval source. + * @member {"vertexAiSearch"|undefined} source + * @memberof google.cloud.aiplatform.v1.Retrieval + * @instance + */ + Object.defineProperty(Retrieval.prototype, "source", { + get: $util.oneOfGetter($oneOfFields = ["vertexAiSearch"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new Retrieval instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.Retrieval + * @static + * @param {google.cloud.aiplatform.v1.IRetrieval=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.Retrieval} Retrieval instance + */ + Retrieval.create = function create(properties) { + return new Retrieval(properties); + }; + + /** + * Encodes the specified Retrieval message. Does not implicitly {@link google.cloud.aiplatform.v1.Retrieval.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.Retrieval + * @static + * @param {google.cloud.aiplatform.v1.IRetrieval} message Retrieval message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Retrieval.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.vertexAiSearch != null && Object.hasOwnProperty.call(message, "vertexAiSearch")) + $root.google.cloud.aiplatform.v1.VertexAISearch.encode(message.vertexAiSearch, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.disableAttribution != null && Object.hasOwnProperty.call(message, "disableAttribution")) + writer.uint32(/* id 3, wireType 0 =*/24).bool(message.disableAttribution); + return writer; + }; + + /** + * Encodes the specified Retrieval message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.Retrieval.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.Retrieval + * @static + * @param {google.cloud.aiplatform.v1.IRetrieval} message Retrieval message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Retrieval.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a Retrieval message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.Retrieval + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1.Retrieval} Retrieval + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Retrieval.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.Retrieval(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 2: { + message.vertexAiSearch = $root.google.cloud.aiplatform.v1.VertexAISearch.decode(reader, reader.uint32()); + break; + } + case 3: { + message.disableAttribution = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a Retrieval message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.Retrieval + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.Retrieval} Retrieval + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Retrieval.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a Retrieval message. + * @function verify + * @memberof google.cloud.aiplatform.v1.Retrieval + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Retrieval.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.vertexAiSearch != null && message.hasOwnProperty("vertexAiSearch")) { + properties.source = 1; + { + var error = $root.google.cloud.aiplatform.v1.VertexAISearch.verify(message.vertexAiSearch); + if (error) + return "vertexAiSearch." + error; + } + } + if (message.disableAttribution != null && message.hasOwnProperty("disableAttribution")) + if (typeof message.disableAttribution !== "boolean") + return "disableAttribution: boolean expected"; + return null; + }; + + /** + * Creates a Retrieval message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.Retrieval + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.Retrieval} Retrieval + */ + Retrieval.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.Retrieval) + return object; + var message = new $root.google.cloud.aiplatform.v1.Retrieval(); + if (object.vertexAiSearch != null) { + if (typeof object.vertexAiSearch !== "object") + throw TypeError(".google.cloud.aiplatform.v1.Retrieval.vertexAiSearch: object expected"); + message.vertexAiSearch = $root.google.cloud.aiplatform.v1.VertexAISearch.fromObject(object.vertexAiSearch); + } + if (object.disableAttribution != null) + message.disableAttribution = Boolean(object.disableAttribution); + return message; + }; + + /** + * Creates a plain object from a Retrieval message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.Retrieval + * @static + * @param {google.cloud.aiplatform.v1.Retrieval} message Retrieval + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + Retrieval.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.disableAttribution = false; + if (message.vertexAiSearch != null && message.hasOwnProperty("vertexAiSearch")) { + object.vertexAiSearch = $root.google.cloud.aiplatform.v1.VertexAISearch.toObject(message.vertexAiSearch, options); + if (options.oneofs) + object.source = "vertexAiSearch"; + } + if (message.disableAttribution != null && message.hasOwnProperty("disableAttribution")) + object.disableAttribution = message.disableAttribution; + return object; + }; + + /** + * Converts this Retrieval to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.Retrieval + * @instance + * @returns {Object.} JSON object + */ + Retrieval.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for Retrieval + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.Retrieval + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Retrieval.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.Retrieval"; + }; + + return Retrieval; + })(); + + v1.VertexAISearch = (function() { + + /** + * Properties of a VertexAISearch. + * @memberof google.cloud.aiplatform.v1 + * @interface IVertexAISearch + * @property {string|null} [datastore] VertexAISearch datastore + */ + + /** + * Constructs a new VertexAISearch. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a VertexAISearch. + * @implements IVertexAISearch + * @constructor + * @param {google.cloud.aiplatform.v1.IVertexAISearch=} [properties] Properties to set + */ + function VertexAISearch(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * VertexAISearch datastore. + * @member {string} datastore + * @memberof google.cloud.aiplatform.v1.VertexAISearch + * @instance + */ + VertexAISearch.prototype.datastore = ""; + + /** + * Creates a new VertexAISearch instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.VertexAISearch + * @static + * @param {google.cloud.aiplatform.v1.IVertexAISearch=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.VertexAISearch} VertexAISearch instance + */ + VertexAISearch.create = function create(properties) { + return new VertexAISearch(properties); + }; + + /** + * Encodes the specified VertexAISearch message. Does not implicitly {@link google.cloud.aiplatform.v1.VertexAISearch.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.VertexAISearch + * @static + * @param {google.cloud.aiplatform.v1.IVertexAISearch} message VertexAISearch message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + VertexAISearch.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.datastore != null && Object.hasOwnProperty.call(message, "datastore")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.datastore); + return writer; + }; + + /** + * Encodes the specified VertexAISearch message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.VertexAISearch.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.VertexAISearch + * @static + * @param {google.cloud.aiplatform.v1.IVertexAISearch} message VertexAISearch message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + VertexAISearch.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a VertexAISearch message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.VertexAISearch + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1.VertexAISearch} VertexAISearch + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + VertexAISearch.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.VertexAISearch(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.datastore = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a VertexAISearch message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.VertexAISearch + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.VertexAISearch} VertexAISearch + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + VertexAISearch.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a VertexAISearch message. + * @function verify + * @memberof google.cloud.aiplatform.v1.VertexAISearch + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + VertexAISearch.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.datastore != null && message.hasOwnProperty("datastore")) + if (!$util.isString(message.datastore)) + return "datastore: string expected"; + return null; + }; + + /** + * Creates a VertexAISearch message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.VertexAISearch + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.VertexAISearch} VertexAISearch + */ + VertexAISearch.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.VertexAISearch) + return object; + var message = new $root.google.cloud.aiplatform.v1.VertexAISearch(); + if (object.datastore != null) + message.datastore = String(object.datastore); + return message; + }; + + /** + * Creates a plain object from a VertexAISearch message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.VertexAISearch + * @static + * @param {google.cloud.aiplatform.v1.VertexAISearch} message VertexAISearch + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + VertexAISearch.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.datastore = ""; + if (message.datastore != null && message.hasOwnProperty("datastore")) + object.datastore = message.datastore; + return object; + }; + + /** + * Converts this VertexAISearch to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.VertexAISearch + * @instance + * @returns {Object.} JSON object + */ + VertexAISearch.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for VertexAISearch + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.VertexAISearch + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + VertexAISearch.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.VertexAISearch"; + }; + + return VertexAISearch; + })(); + + v1.GoogleSearchRetrieval = (function() { + + /** + * Properties of a GoogleSearchRetrieval. + * @memberof google.cloud.aiplatform.v1 + * @interface IGoogleSearchRetrieval + * @property {boolean|null} [disableAttribution] GoogleSearchRetrieval disableAttribution + */ + + /** + * Constructs a new GoogleSearchRetrieval. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a GoogleSearchRetrieval. + * @implements IGoogleSearchRetrieval + * @constructor + * @param {google.cloud.aiplatform.v1.IGoogleSearchRetrieval=} [properties] Properties to set + */ + function GoogleSearchRetrieval(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * GoogleSearchRetrieval disableAttribution. + * @member {boolean} disableAttribution + * @memberof google.cloud.aiplatform.v1.GoogleSearchRetrieval + * @instance + */ + GoogleSearchRetrieval.prototype.disableAttribution = false; + + /** + * Creates a new GoogleSearchRetrieval instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.GoogleSearchRetrieval + * @static + * @param {google.cloud.aiplatform.v1.IGoogleSearchRetrieval=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.GoogleSearchRetrieval} GoogleSearchRetrieval instance + */ + GoogleSearchRetrieval.create = function create(properties) { + return new GoogleSearchRetrieval(properties); + }; + + /** + * Encodes the specified GoogleSearchRetrieval message. Does not implicitly {@link google.cloud.aiplatform.v1.GoogleSearchRetrieval.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.GoogleSearchRetrieval + * @static + * @param {google.cloud.aiplatform.v1.IGoogleSearchRetrieval} message GoogleSearchRetrieval message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GoogleSearchRetrieval.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.disableAttribution != null && Object.hasOwnProperty.call(message, "disableAttribution")) + writer.uint32(/* id 1, wireType 0 =*/8).bool(message.disableAttribution); + return writer; + }; + + /** + * Encodes the specified GoogleSearchRetrieval message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.GoogleSearchRetrieval.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.GoogleSearchRetrieval + * @static + * @param {google.cloud.aiplatform.v1.IGoogleSearchRetrieval} message GoogleSearchRetrieval message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GoogleSearchRetrieval.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a GoogleSearchRetrieval message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.GoogleSearchRetrieval + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1.GoogleSearchRetrieval} GoogleSearchRetrieval + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GoogleSearchRetrieval.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.GoogleSearchRetrieval(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.disableAttribution = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a GoogleSearchRetrieval message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.GoogleSearchRetrieval + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.GoogleSearchRetrieval} GoogleSearchRetrieval + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GoogleSearchRetrieval.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a GoogleSearchRetrieval message. + * @function verify + * @memberof google.cloud.aiplatform.v1.GoogleSearchRetrieval + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + GoogleSearchRetrieval.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.disableAttribution != null && message.hasOwnProperty("disableAttribution")) + if (typeof message.disableAttribution !== "boolean") + return "disableAttribution: boolean expected"; + return null; + }; + + /** + * Creates a GoogleSearchRetrieval message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.GoogleSearchRetrieval + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.GoogleSearchRetrieval} GoogleSearchRetrieval + */ + GoogleSearchRetrieval.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.GoogleSearchRetrieval) + return object; + var message = new $root.google.cloud.aiplatform.v1.GoogleSearchRetrieval(); + if (object.disableAttribution != null) + message.disableAttribution = Boolean(object.disableAttribution); + return message; + }; + + /** + * Creates a plain object from a GoogleSearchRetrieval message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.GoogleSearchRetrieval + * @static + * @param {google.cloud.aiplatform.v1.GoogleSearchRetrieval} message GoogleSearchRetrieval + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + GoogleSearchRetrieval.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.disableAttribution = false; + if (message.disableAttribution != null && message.hasOwnProperty("disableAttribution")) + object.disableAttribution = message.disableAttribution; + return object; + }; + + /** + * Converts this GoogleSearchRetrieval to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.GoogleSearchRetrieval + * @instance + * @returns {Object.} JSON object + */ + GoogleSearchRetrieval.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for GoogleSearchRetrieval + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.GoogleSearchRetrieval + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GoogleSearchRetrieval.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.GoogleSearchRetrieval"; + }; + + return GoogleSearchRetrieval; + })(); + /** * Type enum. * @name google.cloud.aiplatform.v1.Type @@ -42399,6 +45024,8 @@ * @property {google.protobuf.ITimestamp|null} [updateTime] DatasetVersion updateTime * @property {string|null} [etag] DatasetVersion etag * @property {string|null} [bigQueryDatasetName] DatasetVersion bigQueryDatasetName + * @property {string|null} [displayName] DatasetVersion displayName + * @property {google.protobuf.IValue|null} [metadata] DatasetVersion metadata */ /** @@ -42456,6 +45083,22 @@ */ DatasetVersion.prototype.bigQueryDatasetName = ""; + /** + * DatasetVersion displayName. + * @member {string} displayName + * @memberof google.cloud.aiplatform.v1.DatasetVersion + * @instance + */ + DatasetVersion.prototype.displayName = ""; + + /** + * DatasetVersion metadata. + * @member {google.protobuf.IValue|null|undefined} metadata + * @memberof google.cloud.aiplatform.v1.DatasetVersion + * @instance + */ + DatasetVersion.prototype.metadata = null; + /** * Creates a new DatasetVersion instance using the specified properties. * @function create @@ -42490,6 +45133,10 @@ writer.uint32(/* id 4, wireType 2 =*/34).string(message.bigQueryDatasetName); if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime")) $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName")) + writer.uint32(/* id 7, wireType 2 =*/58).string(message.displayName); + if (message.metadata != null && Object.hasOwnProperty.call(message, "metadata")) + $root.google.protobuf.Value.encode(message.metadata, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); return writer; }; @@ -42544,6 +45191,14 @@ message.bigQueryDatasetName = reader.string(); break; } + case 7: { + message.displayName = reader.string(); + break; + } + case 8: { + message.metadata = $root.google.protobuf.Value.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -42598,6 +45253,14 @@ if (message.bigQueryDatasetName != null && message.hasOwnProperty("bigQueryDatasetName")) if (!$util.isString(message.bigQueryDatasetName)) return "bigQueryDatasetName: string expected"; + if (message.displayName != null && message.hasOwnProperty("displayName")) + if (!$util.isString(message.displayName)) + return "displayName: string expected"; + if (message.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.google.protobuf.Value.verify(message.metadata); + if (error) + return "metadata." + error; + } return null; }; @@ -42629,6 +45292,13 @@ message.etag = String(object.etag); if (object.bigQueryDatasetName != null) message.bigQueryDatasetName = String(object.bigQueryDatasetName); + if (object.displayName != null) + message.displayName = String(object.displayName); + if (object.metadata != null) { + if (typeof object.metadata !== "object") + throw TypeError(".google.cloud.aiplatform.v1.DatasetVersion.metadata: object expected"); + message.metadata = $root.google.protobuf.Value.fromObject(object.metadata); + } return message; }; @@ -42651,6 +45321,8 @@ object.etag = ""; object.bigQueryDatasetName = ""; object.updateTime = null; + object.displayName = ""; + object.metadata = null; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -42662,6 +45334,10 @@ object.bigQueryDatasetName = message.bigQueryDatasetName; if (message.updateTime != null && message.hasOwnProperty("updateTime")) object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options); + if (message.displayName != null && message.hasOwnProperty("displayName")) + object.displayName = message.displayName; + if (message.metadata != null && message.hasOwnProperty("metadata")) + object.metadata = $root.google.protobuf.Value.toObject(message.metadata, options); return object; }; @@ -64552,6 +67228,7 @@ * @memberof google.cloud.aiplatform.v1.FeatureView * @interface IFeatureRegistrySource * @property {Array.|null} [featureGroups] FeatureRegistrySource featureGroups + * @property {number|Long|null} [projectNumber] FeatureRegistrySource projectNumber */ /** @@ -64578,6 +67255,28 @@ */ FeatureRegistrySource.prototype.featureGroups = $util.emptyArray; + /** + * FeatureRegistrySource projectNumber. + * @member {number|Long|null|undefined} projectNumber + * @memberof google.cloud.aiplatform.v1.FeatureView.FeatureRegistrySource + * @instance + */ + FeatureRegistrySource.prototype.projectNumber = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * FeatureRegistrySource _projectNumber. + * @member {"projectNumber"|undefined} _projectNumber + * @memberof google.cloud.aiplatform.v1.FeatureView.FeatureRegistrySource + * @instance + */ + Object.defineProperty(FeatureRegistrySource.prototype, "_projectNumber", { + get: $util.oneOfGetter($oneOfFields = ["projectNumber"]), + set: $util.oneOfSetter($oneOfFields) + }); + /** * Creates a new FeatureRegistrySource instance using the specified properties. * @function create @@ -64605,6 +67304,8 @@ if (message.featureGroups != null && message.featureGroups.length) for (var i = 0; i < message.featureGroups.length; ++i) $root.google.cloud.aiplatform.v1.FeatureView.FeatureRegistrySource.FeatureGroup.encode(message.featureGroups[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.projectNumber != null && Object.hasOwnProperty.call(message, "projectNumber")) + writer.uint32(/* id 2, wireType 0 =*/16).int64(message.projectNumber); return writer; }; @@ -64645,6 +67346,10 @@ message.featureGroups.push($root.google.cloud.aiplatform.v1.FeatureView.FeatureRegistrySource.FeatureGroup.decode(reader, reader.uint32())); break; } + case 2: { + message.projectNumber = reader.int64(); + break; + } default: reader.skipType(tag & 7); break; @@ -64680,6 +67385,7 @@ FeatureRegistrySource.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + var properties = {}; if (message.featureGroups != null && message.hasOwnProperty("featureGroups")) { if (!Array.isArray(message.featureGroups)) return "featureGroups: array expected"; @@ -64689,6 +67395,11 @@ return "featureGroups." + error; } } + if (message.projectNumber != null && message.hasOwnProperty("projectNumber")) { + properties._projectNumber = 1; + if (!$util.isInteger(message.projectNumber) && !(message.projectNumber && $util.isInteger(message.projectNumber.low) && $util.isInteger(message.projectNumber.high))) + return "projectNumber: integer|Long expected"; + } return null; }; @@ -64714,6 +67425,15 @@ message.featureGroups[i] = $root.google.cloud.aiplatform.v1.FeatureView.FeatureRegistrySource.FeatureGroup.fromObject(object.featureGroups[i]); } } + if (object.projectNumber != null) + if ($util.Long) + (message.projectNumber = $util.Long.fromValue(object.projectNumber)).unsigned = false; + else if (typeof object.projectNumber === "string") + message.projectNumber = parseInt(object.projectNumber, 10); + else if (typeof object.projectNumber === "number") + message.projectNumber = object.projectNumber; + else if (typeof object.projectNumber === "object") + message.projectNumber = new $util.LongBits(object.projectNumber.low >>> 0, object.projectNumber.high >>> 0).toNumber(); return message; }; @@ -64737,6 +67457,14 @@ for (var j = 0; j < message.featureGroups.length; ++j) object.featureGroups[j] = $root.google.cloud.aiplatform.v1.FeatureView.FeatureRegistrySource.FeatureGroup.toObject(message.featureGroups[j], options); } + if (message.projectNumber != null && message.hasOwnProperty("projectNumber")) { + if (typeof message.projectNumber === "number") + object.projectNumber = options.longs === String ? String(message.projectNumber) : message.projectNumber; + else + object.projectNumber = options.longs === String ? $util.Long.prototype.toString.call(message.projectNumber) : options.longs === Number ? new $util.LongBits(message.projectNumber.low >>> 0, message.projectNumber.high >>> 0).toNumber() : message.projectNumber; + if (options.oneofs) + object._projectNumber = "projectNumber"; + } return object; }; @@ -65025,6 +67753,7 @@ * @property {google.protobuf.ITimestamp|null} [createTime] FeatureViewSync createTime * @property {google.type.IInterval|null} [runTime] FeatureViewSync runTime * @property {google.rpc.IStatus|null} [finalStatus] FeatureViewSync finalStatus + * @property {google.cloud.aiplatform.v1.FeatureViewSync.ISyncSummary|null} [syncSummary] FeatureViewSync syncSummary */ /** @@ -65074,6 +67803,14 @@ */ FeatureViewSync.prototype.finalStatus = null; + /** + * FeatureViewSync syncSummary. + * @member {google.cloud.aiplatform.v1.FeatureViewSync.ISyncSummary|null|undefined} syncSummary + * @memberof google.cloud.aiplatform.v1.FeatureViewSync + * @instance + */ + FeatureViewSync.prototype.syncSummary = null; + /** * Creates a new FeatureViewSync instance using the specified properties. * @function create @@ -65106,6 +67843,8 @@ $root.google.rpc.Status.encode(message.finalStatus, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); if (message.runTime != null && Object.hasOwnProperty.call(message, "runTime")) $root.google.type.Interval.encode(message.runTime, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.syncSummary != null && Object.hasOwnProperty.call(message, "syncSummary")) + $root.google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary.encode(message.syncSummary, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); return writer; }; @@ -65156,6 +67895,10 @@ message.finalStatus = $root.google.rpc.Status.decode(reader, reader.uint32()); break; } + case 6: { + message.syncSummary = $root.google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -65209,6 +67952,11 @@ if (error) return "finalStatus." + error; } + if (message.syncSummary != null && message.hasOwnProperty("syncSummary")) { + var error = $root.google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary.verify(message.syncSummary); + if (error) + return "syncSummary." + error; + } return null; }; @@ -65241,6 +67989,11 @@ throw TypeError(".google.cloud.aiplatform.v1.FeatureViewSync.finalStatus: object expected"); message.finalStatus = $root.google.rpc.Status.fromObject(object.finalStatus); } + if (object.syncSummary != null) { + if (typeof object.syncSummary !== "object") + throw TypeError(".google.cloud.aiplatform.v1.FeatureViewSync.syncSummary: object expected"); + message.syncSummary = $root.google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary.fromObject(object.syncSummary); + } return message; }; @@ -65262,6 +68015,7 @@ object.createTime = null; object.finalStatus = null; object.runTime = null; + object.syncSummary = null; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -65271,6 +68025,8 @@ object.finalStatus = $root.google.rpc.Status.toObject(message.finalStatus, options); if (message.runTime != null && message.hasOwnProperty("runTime")) object.runTime = $root.google.type.Interval.toObject(message.runTime, options); + if (message.syncSummary != null && message.hasOwnProperty("syncSummary")) + object.syncSummary = $root.google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary.toObject(message.syncSummary, options); return object; }; @@ -65300,6 +68056,261 @@ return typeUrlPrefix + "/google.cloud.aiplatform.v1.FeatureViewSync"; }; + FeatureViewSync.SyncSummary = (function() { + + /** + * Properties of a SyncSummary. + * @memberof google.cloud.aiplatform.v1.FeatureViewSync + * @interface ISyncSummary + * @property {number|Long|null} [rowSynced] SyncSummary rowSynced + * @property {number|Long|null} [totalSlot] SyncSummary totalSlot + */ + + /** + * Constructs a new SyncSummary. + * @memberof google.cloud.aiplatform.v1.FeatureViewSync + * @classdesc Represents a SyncSummary. + * @implements ISyncSummary + * @constructor + * @param {google.cloud.aiplatform.v1.FeatureViewSync.ISyncSummary=} [properties] Properties to set + */ + function SyncSummary(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * SyncSummary rowSynced. + * @member {number|Long} rowSynced + * @memberof google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary + * @instance + */ + SyncSummary.prototype.rowSynced = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + + /** + * SyncSummary totalSlot. + * @member {number|Long} totalSlot + * @memberof google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary + * @instance + */ + SyncSummary.prototype.totalSlot = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + + /** + * Creates a new SyncSummary instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary + * @static + * @param {google.cloud.aiplatform.v1.FeatureViewSync.ISyncSummary=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary} SyncSummary instance + */ + SyncSummary.create = function create(properties) { + return new SyncSummary(properties); + }; + + /** + * Encodes the specified SyncSummary message. Does not implicitly {@link google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary + * @static + * @param {google.cloud.aiplatform.v1.FeatureViewSync.ISyncSummary} message SyncSummary message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + SyncSummary.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.rowSynced != null && Object.hasOwnProperty.call(message, "rowSynced")) + writer.uint32(/* id 1, wireType 0 =*/8).int64(message.rowSynced); + if (message.totalSlot != null && Object.hasOwnProperty.call(message, "totalSlot")) + writer.uint32(/* id 2, wireType 0 =*/16).int64(message.totalSlot); + return writer; + }; + + /** + * Encodes the specified SyncSummary message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary + * @static + * @param {google.cloud.aiplatform.v1.FeatureViewSync.ISyncSummary} message SyncSummary message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + SyncSummary.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a SyncSummary message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary} SyncSummary + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + SyncSummary.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.rowSynced = reader.int64(); + break; + } + case 2: { + message.totalSlot = reader.int64(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a SyncSummary message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary} SyncSummary + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + SyncSummary.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a SyncSummary message. + * @function verify + * @memberof google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + SyncSummary.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.rowSynced != null && message.hasOwnProperty("rowSynced")) + if (!$util.isInteger(message.rowSynced) && !(message.rowSynced && $util.isInteger(message.rowSynced.low) && $util.isInteger(message.rowSynced.high))) + return "rowSynced: integer|Long expected"; + if (message.totalSlot != null && message.hasOwnProperty("totalSlot")) + if (!$util.isInteger(message.totalSlot) && !(message.totalSlot && $util.isInteger(message.totalSlot.low) && $util.isInteger(message.totalSlot.high))) + return "totalSlot: integer|Long expected"; + return null; + }; + + /** + * Creates a SyncSummary message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary} SyncSummary + */ + SyncSummary.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary) + return object; + var message = new $root.google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary(); + if (object.rowSynced != null) + if ($util.Long) + (message.rowSynced = $util.Long.fromValue(object.rowSynced)).unsigned = false; + else if (typeof object.rowSynced === "string") + message.rowSynced = parseInt(object.rowSynced, 10); + else if (typeof object.rowSynced === "number") + message.rowSynced = object.rowSynced; + else if (typeof object.rowSynced === "object") + message.rowSynced = new $util.LongBits(object.rowSynced.low >>> 0, object.rowSynced.high >>> 0).toNumber(); + if (object.totalSlot != null) + if ($util.Long) + (message.totalSlot = $util.Long.fromValue(object.totalSlot)).unsigned = false; + else if (typeof object.totalSlot === "string") + message.totalSlot = parseInt(object.totalSlot, 10); + else if (typeof object.totalSlot === "number") + message.totalSlot = object.totalSlot; + else if (typeof object.totalSlot === "object") + message.totalSlot = new $util.LongBits(object.totalSlot.low >>> 0, object.totalSlot.high >>> 0).toNumber(); + return message; + }; + + /** + * Creates a plain object from a SyncSummary message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary + * @static + * @param {google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary} message SyncSummary + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + SyncSummary.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.rowSynced = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + } else + object.rowSynced = options.longs === String ? "0" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.totalSlot = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + } else + object.totalSlot = options.longs === String ? "0" : 0; + } + if (message.rowSynced != null && message.hasOwnProperty("rowSynced")) + if (typeof message.rowSynced === "number") + object.rowSynced = options.longs === String ? String(message.rowSynced) : message.rowSynced; + else + object.rowSynced = options.longs === String ? $util.Long.prototype.toString.call(message.rowSynced) : options.longs === Number ? new $util.LongBits(message.rowSynced.low >>> 0, message.rowSynced.high >>> 0).toNumber() : message.rowSynced; + if (message.totalSlot != null && message.hasOwnProperty("totalSlot")) + if (typeof message.totalSlot === "number") + object.totalSlot = options.longs === String ? String(message.totalSlot) : message.totalSlot; + else + object.totalSlot = options.longs === String ? $util.Long.prototype.toString.call(message.totalSlot) : options.longs === Number ? new $util.LongBits(message.totalSlot.low >>> 0, message.totalSlot.high >>> 0).toNumber() : message.totalSlot; + return object; + }; + + /** + * Converts this SyncSummary to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary + * @instance + * @returns {Object.} JSON object + */ + SyncSummary.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for SyncSummary + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SyncSummary.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary"; + }; + + return SyncSummary; + })(); + return FeatureViewSync; })(); @@ -101639,6 +104650,7 @@ case 3: case 4: case 5: + case 6: break; } return null; @@ -101702,6 +104714,10 @@ case 5: message.op = 5; break; + case "NOT_EQUAL": + case 6: + message.op = 6; + break; } return message; }; @@ -101784,6 +104800,7 @@ * @property {number} EQUAL=3 EQUAL value * @property {number} GREATER_EQUAL=4 GREATER_EQUAL value * @property {number} GREATER=5 GREATER value + * @property {number} NOT_EQUAL=6 NOT_EQUAL value */ NumericRestriction.Operator = (function() { var valuesById = {}, values = Object.create(valuesById); @@ -101793,6 +104810,7 @@ values[valuesById[3] = "EQUAL"] = 3; values[valuesById[4] = "GREATER_EQUAL"] = 4; values[valuesById[5] = "GREATER"] = 5; + values[valuesById[6] = "NOT_EQUAL"] = 6; return values; })(); @@ -181365,6 +184383,39 @@ * @variation 2 */ + /** + * Callback as used by {@link google.cloud.aiplatform.v1.PipelineService|batchDeletePipelineJobs}. + * @memberof google.cloud.aiplatform.v1.PipelineService + * @typedef BatchDeletePipelineJobsCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.longrunning.Operation} [response] Operation + */ + + /** + * Calls BatchDeletePipelineJobs. + * @function batchDeletePipelineJobs + * @memberof google.cloud.aiplatform.v1.PipelineService + * @instance + * @param {google.cloud.aiplatform.v1.IBatchDeletePipelineJobsRequest} request BatchDeletePipelineJobsRequest message or plain object + * @param {google.cloud.aiplatform.v1.PipelineService.BatchDeletePipelineJobsCallback} callback Node-style callback called with the error, if any, and Operation + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(PipelineService.prototype.batchDeletePipelineJobs = function batchDeletePipelineJobs(request, callback) { + return this.rpcCall(batchDeletePipelineJobs, $root.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest, $root.google.longrunning.Operation, request, callback); + }, "name", { value: "BatchDeletePipelineJobs" }); + + /** + * Calls BatchDeletePipelineJobs. + * @function batchDeletePipelineJobs + * @memberof google.cloud.aiplatform.v1.PipelineService + * @instance + * @param {google.cloud.aiplatform.v1.IBatchDeletePipelineJobsRequest} request BatchDeletePipelineJobsRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + /** * Callback as used by {@link google.cloud.aiplatform.v1.PipelineService|cancelPipelineJob}. * @memberof google.cloud.aiplatform.v1.PipelineService @@ -181398,9 +184449,250 @@ * @variation 2 */ + /** + * Callback as used by {@link google.cloud.aiplatform.v1.PipelineService|batchCancelPipelineJobs}. + * @memberof google.cloud.aiplatform.v1.PipelineService + * @typedef BatchCancelPipelineJobsCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.longrunning.Operation} [response] Operation + */ + + /** + * Calls BatchCancelPipelineJobs. + * @function batchCancelPipelineJobs + * @memberof google.cloud.aiplatform.v1.PipelineService + * @instance + * @param {google.cloud.aiplatform.v1.IBatchCancelPipelineJobsRequest} request BatchCancelPipelineJobsRequest message or plain object + * @param {google.cloud.aiplatform.v1.PipelineService.BatchCancelPipelineJobsCallback} callback Node-style callback called with the error, if any, and Operation + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(PipelineService.prototype.batchCancelPipelineJobs = function batchCancelPipelineJobs(request, callback) { + return this.rpcCall(batchCancelPipelineJobs, $root.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest, $root.google.longrunning.Operation, request, callback); + }, "name", { value: "BatchCancelPipelineJobs" }); + + /** + * Calls BatchCancelPipelineJobs. + * @function batchCancelPipelineJobs + * @memberof google.cloud.aiplatform.v1.PipelineService + * @instance + * @param {google.cloud.aiplatform.v1.IBatchCancelPipelineJobsRequest} request BatchCancelPipelineJobsRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + return PipelineService; })(); + v1.BatchCancelPipelineJobsOperationMetadata = (function() { + + /** + * Properties of a BatchCancelPipelineJobsOperationMetadata. + * @memberof google.cloud.aiplatform.v1 + * @interface IBatchCancelPipelineJobsOperationMetadata + * @property {google.cloud.aiplatform.v1.IGenericOperationMetadata|null} [genericMetadata] BatchCancelPipelineJobsOperationMetadata genericMetadata + */ + + /** + * Constructs a new BatchCancelPipelineJobsOperationMetadata. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a BatchCancelPipelineJobsOperationMetadata. + * @implements IBatchCancelPipelineJobsOperationMetadata + * @constructor + * @param {google.cloud.aiplatform.v1.IBatchCancelPipelineJobsOperationMetadata=} [properties] Properties to set + */ + function BatchCancelPipelineJobsOperationMetadata(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * BatchCancelPipelineJobsOperationMetadata genericMetadata. + * @member {google.cloud.aiplatform.v1.IGenericOperationMetadata|null|undefined} genericMetadata + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata + * @instance + */ + BatchCancelPipelineJobsOperationMetadata.prototype.genericMetadata = null; + + /** + * Creates a new BatchCancelPipelineJobsOperationMetadata instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata + * @static + * @param {google.cloud.aiplatform.v1.IBatchCancelPipelineJobsOperationMetadata=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata} BatchCancelPipelineJobsOperationMetadata instance + */ + BatchCancelPipelineJobsOperationMetadata.create = function create(properties) { + return new BatchCancelPipelineJobsOperationMetadata(properties); + }; + + /** + * Encodes the specified BatchCancelPipelineJobsOperationMetadata message. Does not implicitly {@link google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata + * @static + * @param {google.cloud.aiplatform.v1.IBatchCancelPipelineJobsOperationMetadata} message BatchCancelPipelineJobsOperationMetadata message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + BatchCancelPipelineJobsOperationMetadata.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.genericMetadata != null && Object.hasOwnProperty.call(message, "genericMetadata")) + $root.google.cloud.aiplatform.v1.GenericOperationMetadata.encode(message.genericMetadata, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified BatchCancelPipelineJobsOperationMetadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata + * @static + * @param {google.cloud.aiplatform.v1.IBatchCancelPipelineJobsOperationMetadata} message BatchCancelPipelineJobsOperationMetadata message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + BatchCancelPipelineJobsOperationMetadata.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a BatchCancelPipelineJobsOperationMetadata message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata} BatchCancelPipelineJobsOperationMetadata + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + BatchCancelPipelineJobsOperationMetadata.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.decode(reader, reader.uint32()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a BatchCancelPipelineJobsOperationMetadata message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata} BatchCancelPipelineJobsOperationMetadata + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + BatchCancelPipelineJobsOperationMetadata.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a BatchCancelPipelineJobsOperationMetadata message. + * @function verify + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + BatchCancelPipelineJobsOperationMetadata.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.genericMetadata != null && message.hasOwnProperty("genericMetadata")) { + var error = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.verify(message.genericMetadata); + if (error) + return "genericMetadata." + error; + } + return null; + }; + + /** + * Creates a BatchCancelPipelineJobsOperationMetadata message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata} BatchCancelPipelineJobsOperationMetadata + */ + BatchCancelPipelineJobsOperationMetadata.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata) + return object; + var message = new $root.google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata(); + if (object.genericMetadata != null) { + if (typeof object.genericMetadata !== "object") + throw TypeError(".google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata.genericMetadata: object expected"); + message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.fromObject(object.genericMetadata); + } + return message; + }; + + /** + * Creates a plain object from a BatchCancelPipelineJobsOperationMetadata message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata + * @static + * @param {google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata} message BatchCancelPipelineJobsOperationMetadata + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + BatchCancelPipelineJobsOperationMetadata.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.genericMetadata = null; + if (message.genericMetadata != null && message.hasOwnProperty("genericMetadata")) + object.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.toObject(message.genericMetadata, options); + return object; + }; + + /** + * Converts this BatchCancelPipelineJobsOperationMetadata to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata + * @instance + * @returns {Object.} JSON object + */ + BatchCancelPipelineJobsOperationMetadata.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for BatchCancelPipelineJobsOperationMetadata + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchCancelPipelineJobsOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata"; + }; + + return BatchCancelPipelineJobsOperationMetadata; + })(); + v1.CreateTrainingPipelineRequest = (function() { /** @@ -184024,6 +187316,473 @@ return DeletePipelineJobRequest; })(); + v1.BatchDeletePipelineJobsRequest = (function() { + + /** + * Properties of a BatchDeletePipelineJobsRequest. + * @memberof google.cloud.aiplatform.v1 + * @interface IBatchDeletePipelineJobsRequest + * @property {string|null} [parent] BatchDeletePipelineJobsRequest parent + * @property {Array.|null} [names] BatchDeletePipelineJobsRequest names + */ + + /** + * Constructs a new BatchDeletePipelineJobsRequest. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a BatchDeletePipelineJobsRequest. + * @implements IBatchDeletePipelineJobsRequest + * @constructor + * @param {google.cloud.aiplatform.v1.IBatchDeletePipelineJobsRequest=} [properties] Properties to set + */ + function BatchDeletePipelineJobsRequest(properties) { + this.names = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * BatchDeletePipelineJobsRequest parent. + * @member {string} parent + * @memberof google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest + * @instance + */ + BatchDeletePipelineJobsRequest.prototype.parent = ""; + + /** + * BatchDeletePipelineJobsRequest names. + * @member {Array.} names + * @memberof google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest + * @instance + */ + BatchDeletePipelineJobsRequest.prototype.names = $util.emptyArray; + + /** + * Creates a new BatchDeletePipelineJobsRequest instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest + * @static + * @param {google.cloud.aiplatform.v1.IBatchDeletePipelineJobsRequest=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest} BatchDeletePipelineJobsRequest instance + */ + BatchDeletePipelineJobsRequest.create = function create(properties) { + return new BatchDeletePipelineJobsRequest(properties); + }; + + /** + * Encodes the specified BatchDeletePipelineJobsRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest + * @static + * @param {google.cloud.aiplatform.v1.IBatchDeletePipelineJobsRequest} message BatchDeletePipelineJobsRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + BatchDeletePipelineJobsRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent); + if (message.names != null && message.names.length) + for (var i = 0; i < message.names.length; ++i) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.names[i]); + return writer; + }; + + /** + * Encodes the specified BatchDeletePipelineJobsRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest + * @static + * @param {google.cloud.aiplatform.v1.IBatchDeletePipelineJobsRequest} message BatchDeletePipelineJobsRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + BatchDeletePipelineJobsRequest.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a BatchDeletePipelineJobsRequest message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest} BatchDeletePipelineJobsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + BatchDeletePipelineJobsRequest.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + if (!(message.names && message.names.length)) + message.names = []; + message.names.push(reader.string()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a BatchDeletePipelineJobsRequest message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest} BatchDeletePipelineJobsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + BatchDeletePipelineJobsRequest.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a BatchDeletePipelineJobsRequest message. + * @function verify + * @memberof google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + BatchDeletePipelineJobsRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.parent != null && message.hasOwnProperty("parent")) + if (!$util.isString(message.parent)) + return "parent: string expected"; + if (message.names != null && message.hasOwnProperty("names")) { + if (!Array.isArray(message.names)) + return "names: array expected"; + for (var i = 0; i < message.names.length; ++i) + if (!$util.isString(message.names[i])) + return "names: string[] expected"; + } + return null; + }; + + /** + * Creates a BatchDeletePipelineJobsRequest message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest} BatchDeletePipelineJobsRequest + */ + BatchDeletePipelineJobsRequest.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest) + return object; + var message = new $root.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest(); + if (object.parent != null) + message.parent = String(object.parent); + if (object.names) { + if (!Array.isArray(object.names)) + throw TypeError(".google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest.names: array expected"); + message.names = []; + for (var i = 0; i < object.names.length; ++i) + message.names[i] = String(object.names[i]); + } + return message; + }; + + /** + * Creates a plain object from a BatchDeletePipelineJobsRequest message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest + * @static + * @param {google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest} message BatchDeletePipelineJobsRequest + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + BatchDeletePipelineJobsRequest.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.names = []; + if (options.defaults) + object.parent = ""; + if (message.parent != null && message.hasOwnProperty("parent")) + object.parent = message.parent; + if (message.names && message.names.length) { + object.names = []; + for (var j = 0; j < message.names.length; ++j) + object.names[j] = message.names[j]; + } + return object; + }; + + /** + * Converts this BatchDeletePipelineJobsRequest to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest + * @instance + * @returns {Object.} JSON object + */ + BatchDeletePipelineJobsRequest.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for BatchDeletePipelineJobsRequest + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchDeletePipelineJobsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest"; + }; + + return BatchDeletePipelineJobsRequest; + })(); + + v1.BatchDeletePipelineJobsResponse = (function() { + + /** + * Properties of a BatchDeletePipelineJobsResponse. + * @memberof google.cloud.aiplatform.v1 + * @interface IBatchDeletePipelineJobsResponse + * @property {Array.|null} [pipelineJobs] BatchDeletePipelineJobsResponse pipelineJobs + */ + + /** + * Constructs a new BatchDeletePipelineJobsResponse. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a BatchDeletePipelineJobsResponse. + * @implements IBatchDeletePipelineJobsResponse + * @constructor + * @param {google.cloud.aiplatform.v1.IBatchDeletePipelineJobsResponse=} [properties] Properties to set + */ + function BatchDeletePipelineJobsResponse(properties) { + this.pipelineJobs = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * BatchDeletePipelineJobsResponse pipelineJobs. + * @member {Array.} pipelineJobs + * @memberof google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse + * @instance + */ + BatchDeletePipelineJobsResponse.prototype.pipelineJobs = $util.emptyArray; + + /** + * Creates a new BatchDeletePipelineJobsResponse instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse + * @static + * @param {google.cloud.aiplatform.v1.IBatchDeletePipelineJobsResponse=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse} BatchDeletePipelineJobsResponse instance + */ + BatchDeletePipelineJobsResponse.create = function create(properties) { + return new BatchDeletePipelineJobsResponse(properties); + }; + + /** + * Encodes the specified BatchDeletePipelineJobsResponse message. Does not implicitly {@link google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse + * @static + * @param {google.cloud.aiplatform.v1.IBatchDeletePipelineJobsResponse} message BatchDeletePipelineJobsResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + BatchDeletePipelineJobsResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.pipelineJobs != null && message.pipelineJobs.length) + for (var i = 0; i < message.pipelineJobs.length; ++i) + $root.google.cloud.aiplatform.v1.PipelineJob.encode(message.pipelineJobs[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified BatchDeletePipelineJobsResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse + * @static + * @param {google.cloud.aiplatform.v1.IBatchDeletePipelineJobsResponse} message BatchDeletePipelineJobsResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + BatchDeletePipelineJobsResponse.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a BatchDeletePipelineJobsResponse message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse} BatchDeletePipelineJobsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + BatchDeletePipelineJobsResponse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + if (!(message.pipelineJobs && message.pipelineJobs.length)) + message.pipelineJobs = []; + message.pipelineJobs.push($root.google.cloud.aiplatform.v1.PipelineJob.decode(reader, reader.uint32())); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a BatchDeletePipelineJobsResponse message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse} BatchDeletePipelineJobsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + BatchDeletePipelineJobsResponse.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a BatchDeletePipelineJobsResponse message. + * @function verify + * @memberof google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + BatchDeletePipelineJobsResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.pipelineJobs != null && message.hasOwnProperty("pipelineJobs")) { + if (!Array.isArray(message.pipelineJobs)) + return "pipelineJobs: array expected"; + for (var i = 0; i < message.pipelineJobs.length; ++i) { + var error = $root.google.cloud.aiplatform.v1.PipelineJob.verify(message.pipelineJobs[i]); + if (error) + return "pipelineJobs." + error; + } + } + return null; + }; + + /** + * Creates a BatchDeletePipelineJobsResponse message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse} BatchDeletePipelineJobsResponse + */ + BatchDeletePipelineJobsResponse.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse) + return object; + var message = new $root.google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse(); + if (object.pipelineJobs) { + if (!Array.isArray(object.pipelineJobs)) + throw TypeError(".google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse.pipelineJobs: array expected"); + message.pipelineJobs = []; + for (var i = 0; i < object.pipelineJobs.length; ++i) { + if (typeof object.pipelineJobs[i] !== "object") + throw TypeError(".google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse.pipelineJobs: object expected"); + message.pipelineJobs[i] = $root.google.cloud.aiplatform.v1.PipelineJob.fromObject(object.pipelineJobs[i]); + } + } + return message; + }; + + /** + * Creates a plain object from a BatchDeletePipelineJobsResponse message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse + * @static + * @param {google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse} message BatchDeletePipelineJobsResponse + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + BatchDeletePipelineJobsResponse.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.pipelineJobs = []; + if (message.pipelineJobs && message.pipelineJobs.length) { + object.pipelineJobs = []; + for (var j = 0; j < message.pipelineJobs.length; ++j) + object.pipelineJobs[j] = $root.google.cloud.aiplatform.v1.PipelineJob.toObject(message.pipelineJobs[j], options); + } + return object; + }; + + /** + * Converts this BatchDeletePipelineJobsResponse to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse + * @instance + * @returns {Object.} JSON object + */ + BatchDeletePipelineJobsResponse.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for BatchDeletePipelineJobsResponse + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchDeletePipelineJobsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse"; + }; + + return BatchDeletePipelineJobsResponse; + })(); + v1.CancelPipelineJobRequest = (function() { /** @@ -184227,6 +187986,473 @@ return CancelPipelineJobRequest; })(); + v1.BatchCancelPipelineJobsRequest = (function() { + + /** + * Properties of a BatchCancelPipelineJobsRequest. + * @memberof google.cloud.aiplatform.v1 + * @interface IBatchCancelPipelineJobsRequest + * @property {string|null} [parent] BatchCancelPipelineJobsRequest parent + * @property {Array.|null} [names] BatchCancelPipelineJobsRequest names + */ + + /** + * Constructs a new BatchCancelPipelineJobsRequest. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a BatchCancelPipelineJobsRequest. + * @implements IBatchCancelPipelineJobsRequest + * @constructor + * @param {google.cloud.aiplatform.v1.IBatchCancelPipelineJobsRequest=} [properties] Properties to set + */ + function BatchCancelPipelineJobsRequest(properties) { + this.names = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * BatchCancelPipelineJobsRequest parent. + * @member {string} parent + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest + * @instance + */ + BatchCancelPipelineJobsRequest.prototype.parent = ""; + + /** + * BatchCancelPipelineJobsRequest names. + * @member {Array.} names + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest + * @instance + */ + BatchCancelPipelineJobsRequest.prototype.names = $util.emptyArray; + + /** + * Creates a new BatchCancelPipelineJobsRequest instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest + * @static + * @param {google.cloud.aiplatform.v1.IBatchCancelPipelineJobsRequest=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest} BatchCancelPipelineJobsRequest instance + */ + BatchCancelPipelineJobsRequest.create = function create(properties) { + return new BatchCancelPipelineJobsRequest(properties); + }; + + /** + * Encodes the specified BatchCancelPipelineJobsRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest + * @static + * @param {google.cloud.aiplatform.v1.IBatchCancelPipelineJobsRequest} message BatchCancelPipelineJobsRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + BatchCancelPipelineJobsRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent); + if (message.names != null && message.names.length) + for (var i = 0; i < message.names.length; ++i) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.names[i]); + return writer; + }; + + /** + * Encodes the specified BatchCancelPipelineJobsRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest + * @static + * @param {google.cloud.aiplatform.v1.IBatchCancelPipelineJobsRequest} message BatchCancelPipelineJobsRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + BatchCancelPipelineJobsRequest.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a BatchCancelPipelineJobsRequest message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest} BatchCancelPipelineJobsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + BatchCancelPipelineJobsRequest.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + if (!(message.names && message.names.length)) + message.names = []; + message.names.push(reader.string()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a BatchCancelPipelineJobsRequest message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest} BatchCancelPipelineJobsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + BatchCancelPipelineJobsRequest.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a BatchCancelPipelineJobsRequest message. + * @function verify + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + BatchCancelPipelineJobsRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.parent != null && message.hasOwnProperty("parent")) + if (!$util.isString(message.parent)) + return "parent: string expected"; + if (message.names != null && message.hasOwnProperty("names")) { + if (!Array.isArray(message.names)) + return "names: array expected"; + for (var i = 0; i < message.names.length; ++i) + if (!$util.isString(message.names[i])) + return "names: string[] expected"; + } + return null; + }; + + /** + * Creates a BatchCancelPipelineJobsRequest message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest} BatchCancelPipelineJobsRequest + */ + BatchCancelPipelineJobsRequest.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest) + return object; + var message = new $root.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest(); + if (object.parent != null) + message.parent = String(object.parent); + if (object.names) { + if (!Array.isArray(object.names)) + throw TypeError(".google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest.names: array expected"); + message.names = []; + for (var i = 0; i < object.names.length; ++i) + message.names[i] = String(object.names[i]); + } + return message; + }; + + /** + * Creates a plain object from a BatchCancelPipelineJobsRequest message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest + * @static + * @param {google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest} message BatchCancelPipelineJobsRequest + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + BatchCancelPipelineJobsRequest.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.names = []; + if (options.defaults) + object.parent = ""; + if (message.parent != null && message.hasOwnProperty("parent")) + object.parent = message.parent; + if (message.names && message.names.length) { + object.names = []; + for (var j = 0; j < message.names.length; ++j) + object.names[j] = message.names[j]; + } + return object; + }; + + /** + * Converts this BatchCancelPipelineJobsRequest to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest + * @instance + * @returns {Object.} JSON object + */ + BatchCancelPipelineJobsRequest.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for BatchCancelPipelineJobsRequest + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchCancelPipelineJobsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest"; + }; + + return BatchCancelPipelineJobsRequest; + })(); + + v1.BatchCancelPipelineJobsResponse = (function() { + + /** + * Properties of a BatchCancelPipelineJobsResponse. + * @memberof google.cloud.aiplatform.v1 + * @interface IBatchCancelPipelineJobsResponse + * @property {Array.|null} [pipelineJobs] BatchCancelPipelineJobsResponse pipelineJobs + */ + + /** + * Constructs a new BatchCancelPipelineJobsResponse. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a BatchCancelPipelineJobsResponse. + * @implements IBatchCancelPipelineJobsResponse + * @constructor + * @param {google.cloud.aiplatform.v1.IBatchCancelPipelineJobsResponse=} [properties] Properties to set + */ + function BatchCancelPipelineJobsResponse(properties) { + this.pipelineJobs = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * BatchCancelPipelineJobsResponse pipelineJobs. + * @member {Array.} pipelineJobs + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse + * @instance + */ + BatchCancelPipelineJobsResponse.prototype.pipelineJobs = $util.emptyArray; + + /** + * Creates a new BatchCancelPipelineJobsResponse instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse + * @static + * @param {google.cloud.aiplatform.v1.IBatchCancelPipelineJobsResponse=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse} BatchCancelPipelineJobsResponse instance + */ + BatchCancelPipelineJobsResponse.create = function create(properties) { + return new BatchCancelPipelineJobsResponse(properties); + }; + + /** + * Encodes the specified BatchCancelPipelineJobsResponse message. Does not implicitly {@link google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse + * @static + * @param {google.cloud.aiplatform.v1.IBatchCancelPipelineJobsResponse} message BatchCancelPipelineJobsResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + BatchCancelPipelineJobsResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.pipelineJobs != null && message.pipelineJobs.length) + for (var i = 0; i < message.pipelineJobs.length; ++i) + $root.google.cloud.aiplatform.v1.PipelineJob.encode(message.pipelineJobs[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified BatchCancelPipelineJobsResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse + * @static + * @param {google.cloud.aiplatform.v1.IBatchCancelPipelineJobsResponse} message BatchCancelPipelineJobsResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + BatchCancelPipelineJobsResponse.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a BatchCancelPipelineJobsResponse message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse} BatchCancelPipelineJobsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + BatchCancelPipelineJobsResponse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + if (!(message.pipelineJobs && message.pipelineJobs.length)) + message.pipelineJobs = []; + message.pipelineJobs.push($root.google.cloud.aiplatform.v1.PipelineJob.decode(reader, reader.uint32())); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a BatchCancelPipelineJobsResponse message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse} BatchCancelPipelineJobsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + BatchCancelPipelineJobsResponse.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a BatchCancelPipelineJobsResponse message. + * @function verify + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + BatchCancelPipelineJobsResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.pipelineJobs != null && message.hasOwnProperty("pipelineJobs")) { + if (!Array.isArray(message.pipelineJobs)) + return "pipelineJobs: array expected"; + for (var i = 0; i < message.pipelineJobs.length; ++i) { + var error = $root.google.cloud.aiplatform.v1.PipelineJob.verify(message.pipelineJobs[i]); + if (error) + return "pipelineJobs." + error; + } + } + return null; + }; + + /** + * Creates a BatchCancelPipelineJobsResponse message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse} BatchCancelPipelineJobsResponse + */ + BatchCancelPipelineJobsResponse.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse) + return object; + var message = new $root.google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse(); + if (object.pipelineJobs) { + if (!Array.isArray(object.pipelineJobs)) + throw TypeError(".google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse.pipelineJobs: array expected"); + message.pipelineJobs = []; + for (var i = 0; i < object.pipelineJobs.length; ++i) { + if (typeof object.pipelineJobs[i] !== "object") + throw TypeError(".google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse.pipelineJobs: object expected"); + message.pipelineJobs[i] = $root.google.cloud.aiplatform.v1.PipelineJob.fromObject(object.pipelineJobs[i]); + } + } + return message; + }; + + /** + * Creates a plain object from a BatchCancelPipelineJobsResponse message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse + * @static + * @param {google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse} message BatchCancelPipelineJobsResponse + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + BatchCancelPipelineJobsResponse.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.pipelineJobs = []; + if (message.pipelineJobs && message.pipelineJobs.length) { + object.pipelineJobs = []; + for (var j = 0; j < message.pipelineJobs.length; ++j) + object.pipelineJobs[j] = $root.google.cloud.aiplatform.v1.PipelineJob.toObject(message.pipelineJobs[j], options); + } + return object; + }; + + /** + * Converts this BatchCancelPipelineJobsResponse to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse + * @instance + * @returns {Object.} JSON object + */ + BatchCancelPipelineJobsResponse.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for BatchCancelPipelineJobsResponse + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchCancelPipelineJobsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse"; + }; + + return BatchCancelPipelineJobsResponse; + })(); + v1.TrainingPipeline = (function() { /** @@ -252802,6 +257028,7 @@ * @property {google.cloud.aiplatform.v1beta1.IModelSourceInfo|null} [modelSourceInfo] Model modelSourceInfo * @property {google.cloud.aiplatform.v1beta1.Model.IOriginalModelInfo|null} [originalModelInfo] Model originalModelInfo * @property {string|null} [metadataArtifact] Model metadataArtifact + * @property {google.cloud.aiplatform.v1beta1.Model.IBaseModelSource|null} [baseModelSource] Model baseModelSource */ /** @@ -253050,6 +257277,14 @@ */ Model.prototype.metadataArtifact = ""; + /** + * Model baseModelSource. + * @member {google.cloud.aiplatform.v1beta1.Model.IBaseModelSource|null|undefined} baseModelSource + * @memberof google.cloud.aiplatform.v1beta1.Model + * @instance + */ + Model.prototype.baseModelSource = null; + /** * Creates a new Model instance using the specified properties. * @function create @@ -253140,6 +257375,8 @@ $root.google.cloud.aiplatform.v1beta1.ModelSourceInfo.encode(message.modelSourceInfo, writer.uint32(/* id 38, wireType 2 =*/306).fork()).ldelim(); if (message.metadataArtifact != null && Object.hasOwnProperty.call(message, "metadataArtifact")) writer.uint32(/* id 44, wireType 2 =*/354).string(message.metadataArtifact); + if (message.baseModelSource != null && Object.hasOwnProperty.call(message, "baseModelSource")) + $root.google.cloud.aiplatform.v1beta1.Model.BaseModelSource.encode(message.baseModelSource, writer.uint32(/* id 50, wireType 2 =*/402).fork()).ldelim(); return writer; }; @@ -253322,6 +257559,10 @@ message.metadataArtifact = reader.string(); break; } + case 50: { + message.baseModelSource = $root.google.cloud.aiplatform.v1beta1.Model.BaseModelSource.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -253503,6 +257744,11 @@ if (message.metadataArtifact != null && message.hasOwnProperty("metadataArtifact")) if (!$util.isString(message.metadataArtifact)) return "metadataArtifact: string expected"; + if (message.baseModelSource != null && message.hasOwnProperty("baseModelSource")) { + var error = $root.google.cloud.aiplatform.v1beta1.Model.BaseModelSource.verify(message.baseModelSource); + if (error) + return "baseModelSource." + error; + } return null; }; @@ -253670,6 +257916,11 @@ } if (object.metadataArtifact != null) message.metadataArtifact = String(object.metadataArtifact); + if (object.baseModelSource != null) { + if (typeof object.baseModelSource !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.Model.baseModelSource: object expected"); + message.baseModelSource = $root.google.cloud.aiplatform.v1beta1.Model.BaseModelSource.fromObject(object.baseModelSource); + } return message; }; @@ -253718,6 +257969,7 @@ object.originalModelInfo = null; object.modelSourceInfo = null; object.metadataArtifact = ""; + object.baseModelSource = null; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -253797,6 +258049,8 @@ object.modelSourceInfo = $root.google.cloud.aiplatform.v1beta1.ModelSourceInfo.toObject(message.modelSourceInfo, options); if (message.metadataArtifact != null && message.hasOwnProperty("metadataArtifact")) object.metadataArtifact = message.metadataArtifact; + if (message.baseModelSource != null && message.hasOwnProperty("baseModelSource")) + object.baseModelSource = $root.google.cloud.aiplatform.v1beta1.Model.BaseModelSource.toObject(message.baseModelSource, options); return object; }; @@ -254320,6 +258574,268 @@ return OriginalModelInfo; })(); + Model.BaseModelSource = (function() { + + /** + * Properties of a BaseModelSource. + * @memberof google.cloud.aiplatform.v1beta1.Model + * @interface IBaseModelSource + * @property {google.cloud.aiplatform.v1beta1.IModelGardenSource|null} [modelGardenSource] BaseModelSource modelGardenSource + * @property {google.cloud.aiplatform.v1beta1.IGenieSource|null} [genieSource] BaseModelSource genieSource + */ + + /** + * Constructs a new BaseModelSource. + * @memberof google.cloud.aiplatform.v1beta1.Model + * @classdesc Represents a BaseModelSource. + * @implements IBaseModelSource + * @constructor + * @param {google.cloud.aiplatform.v1beta1.Model.IBaseModelSource=} [properties] Properties to set + */ + function BaseModelSource(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * BaseModelSource modelGardenSource. + * @member {google.cloud.aiplatform.v1beta1.IModelGardenSource|null|undefined} modelGardenSource + * @memberof google.cloud.aiplatform.v1beta1.Model.BaseModelSource + * @instance + */ + BaseModelSource.prototype.modelGardenSource = null; + + /** + * BaseModelSource genieSource. + * @member {google.cloud.aiplatform.v1beta1.IGenieSource|null|undefined} genieSource + * @memberof google.cloud.aiplatform.v1beta1.Model.BaseModelSource + * @instance + */ + BaseModelSource.prototype.genieSource = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * BaseModelSource source. + * @member {"modelGardenSource"|"genieSource"|undefined} source + * @memberof google.cloud.aiplatform.v1beta1.Model.BaseModelSource + * @instance + */ + Object.defineProperty(BaseModelSource.prototype, "source", { + get: $util.oneOfGetter($oneOfFields = ["modelGardenSource", "genieSource"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new BaseModelSource instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1beta1.Model.BaseModelSource + * @static + * @param {google.cloud.aiplatform.v1beta1.Model.IBaseModelSource=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1beta1.Model.BaseModelSource} BaseModelSource instance + */ + BaseModelSource.create = function create(properties) { + return new BaseModelSource(properties); + }; + + /** + * Encodes the specified BaseModelSource message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.Model.BaseModelSource.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1beta1.Model.BaseModelSource + * @static + * @param {google.cloud.aiplatform.v1beta1.Model.IBaseModelSource} message BaseModelSource message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + BaseModelSource.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.modelGardenSource != null && Object.hasOwnProperty.call(message, "modelGardenSource")) + $root.google.cloud.aiplatform.v1beta1.ModelGardenSource.encode(message.modelGardenSource, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.genieSource != null && Object.hasOwnProperty.call(message, "genieSource")) + $root.google.cloud.aiplatform.v1beta1.GenieSource.encode(message.genieSource, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified BaseModelSource message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.Model.BaseModelSource.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.Model.BaseModelSource + * @static + * @param {google.cloud.aiplatform.v1beta1.Model.IBaseModelSource} message BaseModelSource message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + BaseModelSource.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a BaseModelSource message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1beta1.Model.BaseModelSource + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1beta1.Model.BaseModelSource} BaseModelSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + BaseModelSource.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1beta1.Model.BaseModelSource(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.modelGardenSource = $root.google.cloud.aiplatform.v1beta1.ModelGardenSource.decode(reader, reader.uint32()); + break; + } + case 2: { + message.genieSource = $root.google.cloud.aiplatform.v1beta1.GenieSource.decode(reader, reader.uint32()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a BaseModelSource message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.Model.BaseModelSource + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1beta1.Model.BaseModelSource} BaseModelSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + BaseModelSource.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a BaseModelSource message. + * @function verify + * @memberof google.cloud.aiplatform.v1beta1.Model.BaseModelSource + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + BaseModelSource.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.modelGardenSource != null && message.hasOwnProperty("modelGardenSource")) { + properties.source = 1; + { + var error = $root.google.cloud.aiplatform.v1beta1.ModelGardenSource.verify(message.modelGardenSource); + if (error) + return "modelGardenSource." + error; + } + } + if (message.genieSource != null && message.hasOwnProperty("genieSource")) { + if (properties.source === 1) + return "source: multiple values"; + properties.source = 1; + { + var error = $root.google.cloud.aiplatform.v1beta1.GenieSource.verify(message.genieSource); + if (error) + return "genieSource." + error; + } + } + return null; + }; + + /** + * Creates a BaseModelSource message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1beta1.Model.BaseModelSource + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1beta1.Model.BaseModelSource} BaseModelSource + */ + BaseModelSource.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1beta1.Model.BaseModelSource) + return object; + var message = new $root.google.cloud.aiplatform.v1beta1.Model.BaseModelSource(); + if (object.modelGardenSource != null) { + if (typeof object.modelGardenSource !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.Model.BaseModelSource.modelGardenSource: object expected"); + message.modelGardenSource = $root.google.cloud.aiplatform.v1beta1.ModelGardenSource.fromObject(object.modelGardenSource); + } + if (object.genieSource != null) { + if (typeof object.genieSource !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.Model.BaseModelSource.genieSource: object expected"); + message.genieSource = $root.google.cloud.aiplatform.v1beta1.GenieSource.fromObject(object.genieSource); + } + return message; + }; + + /** + * Creates a plain object from a BaseModelSource message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1beta1.Model.BaseModelSource + * @static + * @param {google.cloud.aiplatform.v1beta1.Model.BaseModelSource} message BaseModelSource + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + BaseModelSource.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (message.modelGardenSource != null && message.hasOwnProperty("modelGardenSource")) { + object.modelGardenSource = $root.google.cloud.aiplatform.v1beta1.ModelGardenSource.toObject(message.modelGardenSource, options); + if (options.oneofs) + object.source = "modelGardenSource"; + } + if (message.genieSource != null && message.hasOwnProperty("genieSource")) { + object.genieSource = $root.google.cloud.aiplatform.v1beta1.GenieSource.toObject(message.genieSource, options); + if (options.oneofs) + object.source = "genieSource"; + } + return object; + }; + + /** + * Converts this BaseModelSource to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1beta1.Model.BaseModelSource + * @instance + * @returns {Object.} JSON object + */ + BaseModelSource.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for BaseModelSource + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1beta1.Model.BaseModelSource + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BaseModelSource.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1beta1.Model.BaseModelSource"; + }; + + return BaseModelSource; + })(); + /** * DeploymentResourcesType enum. * @name google.cloud.aiplatform.v1beta1.Model.DeploymentResourcesType @@ -254544,6 +259060,412 @@ return LargeModelReference; })(); + v1beta1.ModelGardenSource = (function() { + + /** + * Properties of a ModelGardenSource. + * @memberof google.cloud.aiplatform.v1beta1 + * @interface IModelGardenSource + * @property {string|null} [publicModelName] ModelGardenSource publicModelName + */ + + /** + * Constructs a new ModelGardenSource. + * @memberof google.cloud.aiplatform.v1beta1 + * @classdesc Represents a ModelGardenSource. + * @implements IModelGardenSource + * @constructor + * @param {google.cloud.aiplatform.v1beta1.IModelGardenSource=} [properties] Properties to set + */ + function ModelGardenSource(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * ModelGardenSource publicModelName. + * @member {string} publicModelName + * @memberof google.cloud.aiplatform.v1beta1.ModelGardenSource + * @instance + */ + ModelGardenSource.prototype.publicModelName = ""; + + /** + * Creates a new ModelGardenSource instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1beta1.ModelGardenSource + * @static + * @param {google.cloud.aiplatform.v1beta1.IModelGardenSource=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1beta1.ModelGardenSource} ModelGardenSource instance + */ + ModelGardenSource.create = function create(properties) { + return new ModelGardenSource(properties); + }; + + /** + * Encodes the specified ModelGardenSource message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.ModelGardenSource.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1beta1.ModelGardenSource + * @static + * @param {google.cloud.aiplatform.v1beta1.IModelGardenSource} message ModelGardenSource message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ModelGardenSource.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.publicModelName != null && Object.hasOwnProperty.call(message, "publicModelName")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.publicModelName); + return writer; + }; + + /** + * Encodes the specified ModelGardenSource message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.ModelGardenSource.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.ModelGardenSource + * @static + * @param {google.cloud.aiplatform.v1beta1.IModelGardenSource} message ModelGardenSource message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ModelGardenSource.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ModelGardenSource message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1beta1.ModelGardenSource + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1beta1.ModelGardenSource} ModelGardenSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ModelGardenSource.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1beta1.ModelGardenSource(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.publicModelName = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ModelGardenSource message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.ModelGardenSource + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1beta1.ModelGardenSource} ModelGardenSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ModelGardenSource.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ModelGardenSource message. + * @function verify + * @memberof google.cloud.aiplatform.v1beta1.ModelGardenSource + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ModelGardenSource.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.publicModelName != null && message.hasOwnProperty("publicModelName")) + if (!$util.isString(message.publicModelName)) + return "publicModelName: string expected"; + return null; + }; + + /** + * Creates a ModelGardenSource message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1beta1.ModelGardenSource + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1beta1.ModelGardenSource} ModelGardenSource + */ + ModelGardenSource.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1beta1.ModelGardenSource) + return object; + var message = new $root.google.cloud.aiplatform.v1beta1.ModelGardenSource(); + if (object.publicModelName != null) + message.publicModelName = String(object.publicModelName); + return message; + }; + + /** + * Creates a plain object from a ModelGardenSource message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1beta1.ModelGardenSource + * @static + * @param {google.cloud.aiplatform.v1beta1.ModelGardenSource} message ModelGardenSource + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ModelGardenSource.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.publicModelName = ""; + if (message.publicModelName != null && message.hasOwnProperty("publicModelName")) + object.publicModelName = message.publicModelName; + return object; + }; + + /** + * Converts this ModelGardenSource to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1beta1.ModelGardenSource + * @instance + * @returns {Object.} JSON object + */ + ModelGardenSource.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ModelGardenSource + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1beta1.ModelGardenSource + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ModelGardenSource.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1beta1.ModelGardenSource"; + }; + + return ModelGardenSource; + })(); + + v1beta1.GenieSource = (function() { + + /** + * Properties of a GenieSource. + * @memberof google.cloud.aiplatform.v1beta1 + * @interface IGenieSource + * @property {string|null} [baseModelUri] GenieSource baseModelUri + */ + + /** + * Constructs a new GenieSource. + * @memberof google.cloud.aiplatform.v1beta1 + * @classdesc Represents a GenieSource. + * @implements IGenieSource + * @constructor + * @param {google.cloud.aiplatform.v1beta1.IGenieSource=} [properties] Properties to set + */ + function GenieSource(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * GenieSource baseModelUri. + * @member {string} baseModelUri + * @memberof google.cloud.aiplatform.v1beta1.GenieSource + * @instance + */ + GenieSource.prototype.baseModelUri = ""; + + /** + * Creates a new GenieSource instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1beta1.GenieSource + * @static + * @param {google.cloud.aiplatform.v1beta1.IGenieSource=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1beta1.GenieSource} GenieSource instance + */ + GenieSource.create = function create(properties) { + return new GenieSource(properties); + }; + + /** + * Encodes the specified GenieSource message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.GenieSource.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1beta1.GenieSource + * @static + * @param {google.cloud.aiplatform.v1beta1.IGenieSource} message GenieSource message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GenieSource.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.baseModelUri != null && Object.hasOwnProperty.call(message, "baseModelUri")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.baseModelUri); + return writer; + }; + + /** + * Encodes the specified GenieSource message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.GenieSource.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.GenieSource + * @static + * @param {google.cloud.aiplatform.v1beta1.IGenieSource} message GenieSource message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GenieSource.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a GenieSource message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1beta1.GenieSource + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1beta1.GenieSource} GenieSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GenieSource.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1beta1.GenieSource(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.baseModelUri = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a GenieSource message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.GenieSource + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1beta1.GenieSource} GenieSource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GenieSource.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a GenieSource message. + * @function verify + * @memberof google.cloud.aiplatform.v1beta1.GenieSource + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + GenieSource.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.baseModelUri != null && message.hasOwnProperty("baseModelUri")) + if (!$util.isString(message.baseModelUri)) + return "baseModelUri: string expected"; + return null; + }; + + /** + * Creates a GenieSource message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1beta1.GenieSource + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1beta1.GenieSource} GenieSource + */ + GenieSource.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1beta1.GenieSource) + return object; + var message = new $root.google.cloud.aiplatform.v1beta1.GenieSource(); + if (object.baseModelUri != null) + message.baseModelUri = String(object.baseModelUri); + return message; + }; + + /** + * Creates a plain object from a GenieSource message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1beta1.GenieSource + * @static + * @param {google.cloud.aiplatform.v1beta1.GenieSource} message GenieSource + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + GenieSource.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.baseModelUri = ""; + if (message.baseModelUri != null && message.hasOwnProperty("baseModelUri")) + object.baseModelUri = message.baseModelUri; + return object; + }; + + /** + * Converts this GenieSource to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1beta1.GenieSource + * @instance + * @returns {Object.} JSON object + */ + GenieSource.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for GenieSource + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1beta1.GenieSource + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GenieSource.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1beta1.GenieSource"; + }; + + return GenieSource; + })(); + v1beta1.PredictSchemata = (function() { /** @@ -258939,6 +263861,9 @@ * @interface ISafetyRating * @property {google.cloud.aiplatform.v1beta1.HarmCategory|null} [category] SafetyRating category * @property {google.cloud.aiplatform.v1beta1.SafetyRating.HarmProbability|null} [probability] SafetyRating probability + * @property {number|null} [probabilityScore] SafetyRating probabilityScore + * @property {google.cloud.aiplatform.v1beta1.SafetyRating.HarmSeverity|null} [severity] SafetyRating severity + * @property {number|null} [severityScore] SafetyRating severityScore * @property {boolean|null} [blocked] SafetyRating blocked */ @@ -258973,6 +263898,30 @@ */ SafetyRating.prototype.probability = 0; + /** + * SafetyRating probabilityScore. + * @member {number} probabilityScore + * @memberof google.cloud.aiplatform.v1beta1.SafetyRating + * @instance + */ + SafetyRating.prototype.probabilityScore = 0; + + /** + * SafetyRating severity. + * @member {google.cloud.aiplatform.v1beta1.SafetyRating.HarmSeverity} severity + * @memberof google.cloud.aiplatform.v1beta1.SafetyRating + * @instance + */ + SafetyRating.prototype.severity = 0; + + /** + * SafetyRating severityScore. + * @member {number} severityScore + * @memberof google.cloud.aiplatform.v1beta1.SafetyRating + * @instance + */ + SafetyRating.prototype.severityScore = 0; + /** * SafetyRating blocked. * @member {boolean} blocked @@ -259011,6 +263960,12 @@ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.probability); if (message.blocked != null && Object.hasOwnProperty.call(message, "blocked")) writer.uint32(/* id 3, wireType 0 =*/24).bool(message.blocked); + if (message.probabilityScore != null && Object.hasOwnProperty.call(message, "probabilityScore")) + writer.uint32(/* id 5, wireType 5 =*/45).float(message.probabilityScore); + if (message.severity != null && Object.hasOwnProperty.call(message, "severity")) + writer.uint32(/* id 6, wireType 0 =*/48).int32(message.severity); + if (message.severityScore != null && Object.hasOwnProperty.call(message, "severityScore")) + writer.uint32(/* id 7, wireType 5 =*/61).float(message.severityScore); return writer; }; @@ -259053,6 +264008,18 @@ message.probability = reader.int32(); break; } + case 5: { + message.probabilityScore = reader.float(); + break; + } + case 6: { + message.severity = reader.int32(); + break; + } + case 7: { + message.severityScore = reader.float(); + break; + } case 3: { message.blocked = reader.bool(); break; @@ -259114,6 +264081,23 @@ case 4: break; } + if (message.probabilityScore != null && message.hasOwnProperty("probabilityScore")) + if (typeof message.probabilityScore !== "number") + return "probabilityScore: number expected"; + if (message.severity != null && message.hasOwnProperty("severity")) + switch (message.severity) { + default: + return "severity: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + break; + } + if (message.severityScore != null && message.hasOwnProperty("severityScore")) + if (typeof message.severityScore !== "number") + return "severityScore: number expected"; if (message.blocked != null && message.hasOwnProperty("blocked")) if (typeof message.blocked !== "boolean") return "blocked: boolean expected"; @@ -259188,6 +264172,38 @@ message.probability = 4; break; } + if (object.probabilityScore != null) + message.probabilityScore = Number(object.probabilityScore); + switch (object.severity) { + default: + if (typeof object.severity === "number") { + message.severity = object.severity; + break; + } + break; + case "HARM_SEVERITY_UNSPECIFIED": + case 0: + message.severity = 0; + break; + case "HARM_SEVERITY_NEGLIGIBLE": + case 1: + message.severity = 1; + break; + case "HARM_SEVERITY_LOW": + case 2: + message.severity = 2; + break; + case "HARM_SEVERITY_MEDIUM": + case 3: + message.severity = 3; + break; + case "HARM_SEVERITY_HIGH": + case 4: + message.severity = 4; + break; + } + if (object.severityScore != null) + message.severityScore = Number(object.severityScore); if (object.blocked != null) message.blocked = Boolean(object.blocked); return message; @@ -259210,6 +264226,9 @@ object.category = options.enums === String ? "HARM_CATEGORY_UNSPECIFIED" : 0; object.probability = options.enums === String ? "HARM_PROBABILITY_UNSPECIFIED" : 0; object.blocked = false; + object.probabilityScore = 0; + object.severity = options.enums === String ? "HARM_SEVERITY_UNSPECIFIED" : 0; + object.severityScore = 0; } if (message.category != null && message.hasOwnProperty("category")) object.category = options.enums === String ? $root.google.cloud.aiplatform.v1beta1.HarmCategory[message.category] === undefined ? message.category : $root.google.cloud.aiplatform.v1beta1.HarmCategory[message.category] : message.category; @@ -259217,6 +264236,12 @@ object.probability = options.enums === String ? $root.google.cloud.aiplatform.v1beta1.SafetyRating.HarmProbability[message.probability] === undefined ? message.probability : $root.google.cloud.aiplatform.v1beta1.SafetyRating.HarmProbability[message.probability] : message.probability; if (message.blocked != null && message.hasOwnProperty("blocked")) object.blocked = message.blocked; + if (message.probabilityScore != null && message.hasOwnProperty("probabilityScore")) + object.probabilityScore = options.json && !isFinite(message.probabilityScore) ? String(message.probabilityScore) : message.probabilityScore; + if (message.severity != null && message.hasOwnProperty("severity")) + object.severity = options.enums === String ? $root.google.cloud.aiplatform.v1beta1.SafetyRating.HarmSeverity[message.severity] === undefined ? message.severity : $root.google.cloud.aiplatform.v1beta1.SafetyRating.HarmSeverity[message.severity] : message.severity; + if (message.severityScore != null && message.hasOwnProperty("severityScore")) + object.severityScore = options.json && !isFinite(message.severityScore) ? String(message.severityScore) : message.severityScore; return object; }; @@ -259266,6 +264291,26 @@ return values; })(); + /** + * HarmSeverity enum. + * @name google.cloud.aiplatform.v1beta1.SafetyRating.HarmSeverity + * @enum {number} + * @property {number} HARM_SEVERITY_UNSPECIFIED=0 HARM_SEVERITY_UNSPECIFIED value + * @property {number} HARM_SEVERITY_NEGLIGIBLE=1 HARM_SEVERITY_NEGLIGIBLE value + * @property {number} HARM_SEVERITY_LOW=2 HARM_SEVERITY_LOW value + * @property {number} HARM_SEVERITY_MEDIUM=3 HARM_SEVERITY_MEDIUM value + * @property {number} HARM_SEVERITY_HIGH=4 HARM_SEVERITY_HIGH value + */ + SafetyRating.HarmSeverity = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "HARM_SEVERITY_UNSPECIFIED"] = 0; + values[valuesById[1] = "HARM_SEVERITY_NEGLIGIBLE"] = 1; + values[valuesById[2] = "HARM_SEVERITY_LOW"] = 2; + values[valuesById[3] = "HARM_SEVERITY_MEDIUM"] = 3; + values[valuesById[4] = "HARM_SEVERITY_HIGH"] = 4; + return values; + })(); + return SafetyRating; })(); @@ -260075,6 +265120,9 @@ case 3: case 4: case 5: + case 6: + case 7: + case 8: break; } if (message.safetyRatings != null && message.hasOwnProperty("safetyRatings")) { @@ -260154,6 +265202,18 @@ case 5: message.finishReason = 5; break; + case "BLOCKLIST": + case 6: + message.finishReason = 6; + break; + case "PROHIBITED_CONTENT": + case 7: + message.finishReason = 7; + break; + case "SPII": + case 8: + message.finishReason = 8; + break; } if (object.safetyRatings) { if (!Array.isArray(object.safetyRatings)) @@ -260261,6 +265321,9 @@ * @property {number} SAFETY=3 SAFETY value * @property {number} RECITATION=4 RECITATION value * @property {number} OTHER=5 OTHER value + * @property {number} BLOCKLIST=6 BLOCKLIST value + * @property {number} PROHIBITED_CONTENT=7 PROHIBITED_CONTENT value + * @property {number} SPII=8 SPII value */ Candidate.FinishReason = (function() { var valuesById = {}, values = Object.create(valuesById); @@ -260270,6 +265333,9 @@ values[valuesById[3] = "SAFETY"] = 3; values[valuesById[4] = "RECITATION"] = 4; values[valuesById[5] = "OTHER"] = 5; + values[valuesById[6] = "BLOCKLIST"] = 6; + values[valuesById[7] = "PROHIBITED_CONTENT"] = 7; + values[valuesById[8] = "SPII"] = 8; return values; })(); @@ -279417,6 +284483,8 @@ * @property {google.protobuf.ITimestamp|null} [updateTime] DatasetVersion updateTime * @property {string|null} [etag] DatasetVersion etag * @property {string|null} [bigQueryDatasetName] DatasetVersion bigQueryDatasetName + * @property {string|null} [displayName] DatasetVersion displayName + * @property {google.protobuf.IValue|null} [metadata] DatasetVersion metadata */ /** @@ -279474,6 +284542,22 @@ */ DatasetVersion.prototype.bigQueryDatasetName = ""; + /** + * DatasetVersion displayName. + * @member {string} displayName + * @memberof google.cloud.aiplatform.v1beta1.DatasetVersion + * @instance + */ + DatasetVersion.prototype.displayName = ""; + + /** + * DatasetVersion metadata. + * @member {google.protobuf.IValue|null|undefined} metadata + * @memberof google.cloud.aiplatform.v1beta1.DatasetVersion + * @instance + */ + DatasetVersion.prototype.metadata = null; + /** * Creates a new DatasetVersion instance using the specified properties. * @function create @@ -279508,6 +284592,10 @@ writer.uint32(/* id 4, wireType 2 =*/34).string(message.bigQueryDatasetName); if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime")) $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName")) + writer.uint32(/* id 7, wireType 2 =*/58).string(message.displayName); + if (message.metadata != null && Object.hasOwnProperty.call(message, "metadata")) + $root.google.protobuf.Value.encode(message.metadata, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); return writer; }; @@ -279562,6 +284650,14 @@ message.bigQueryDatasetName = reader.string(); break; } + case 7: { + message.displayName = reader.string(); + break; + } + case 8: { + message.metadata = $root.google.protobuf.Value.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -279616,6 +284712,14 @@ if (message.bigQueryDatasetName != null && message.hasOwnProperty("bigQueryDatasetName")) if (!$util.isString(message.bigQueryDatasetName)) return "bigQueryDatasetName: string expected"; + if (message.displayName != null && message.hasOwnProperty("displayName")) + if (!$util.isString(message.displayName)) + return "displayName: string expected"; + if (message.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.google.protobuf.Value.verify(message.metadata); + if (error) + return "metadata." + error; + } return null; }; @@ -279647,6 +284751,13 @@ message.etag = String(object.etag); if (object.bigQueryDatasetName != null) message.bigQueryDatasetName = String(object.bigQueryDatasetName); + if (object.displayName != null) + message.displayName = String(object.displayName); + if (object.metadata != null) { + if (typeof object.metadata !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.DatasetVersion.metadata: object expected"); + message.metadata = $root.google.protobuf.Value.fromObject(object.metadata); + } return message; }; @@ -279669,6 +284780,8 @@ object.etag = ""; object.bigQueryDatasetName = ""; object.updateTime = null; + object.displayName = ""; + object.metadata = null; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -279680,6 +284793,10 @@ object.bigQueryDatasetName = message.bigQueryDatasetName; if (message.updateTime != null && message.hasOwnProperty("updateTime")) object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options); + if (message.displayName != null && message.hasOwnProperty("displayName")) + object.displayName = message.displayName; + if (message.metadata != null && message.hasOwnProperty("metadata")) + object.metadata = $root.google.protobuf.Value.toObject(message.metadata, options); return object; }; @@ -303498,6 +308615,7 @@ * @memberof google.cloud.aiplatform.v1beta1.FeatureView * @interface IFeatureRegistrySource * @property {Array.|null} [featureGroups] FeatureRegistrySource featureGroups + * @property {number|Long|null} [projectNumber] FeatureRegistrySource projectNumber */ /** @@ -303524,6 +308642,28 @@ */ FeatureRegistrySource.prototype.featureGroups = $util.emptyArray; + /** + * FeatureRegistrySource projectNumber. + * @member {number|Long|null|undefined} projectNumber + * @memberof google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource + * @instance + */ + FeatureRegistrySource.prototype.projectNumber = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * FeatureRegistrySource _projectNumber. + * @member {"projectNumber"|undefined} _projectNumber + * @memberof google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource + * @instance + */ + Object.defineProperty(FeatureRegistrySource.prototype, "_projectNumber", { + get: $util.oneOfGetter($oneOfFields = ["projectNumber"]), + set: $util.oneOfSetter($oneOfFields) + }); + /** * Creates a new FeatureRegistrySource instance using the specified properties. * @function create @@ -303551,6 +308691,8 @@ if (message.featureGroups != null && message.featureGroups.length) for (var i = 0; i < message.featureGroups.length; ++i) $root.google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup.encode(message.featureGroups[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.projectNumber != null && Object.hasOwnProperty.call(message, "projectNumber")) + writer.uint32(/* id 2, wireType 0 =*/16).int64(message.projectNumber); return writer; }; @@ -303591,6 +308733,10 @@ message.featureGroups.push($root.google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup.decode(reader, reader.uint32())); break; } + case 2: { + message.projectNumber = reader.int64(); + break; + } default: reader.skipType(tag & 7); break; @@ -303626,6 +308772,7 @@ FeatureRegistrySource.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + var properties = {}; if (message.featureGroups != null && message.hasOwnProperty("featureGroups")) { if (!Array.isArray(message.featureGroups)) return "featureGroups: array expected"; @@ -303635,6 +308782,11 @@ return "featureGroups." + error; } } + if (message.projectNumber != null && message.hasOwnProperty("projectNumber")) { + properties._projectNumber = 1; + if (!$util.isInteger(message.projectNumber) && !(message.projectNumber && $util.isInteger(message.projectNumber.low) && $util.isInteger(message.projectNumber.high))) + return "projectNumber: integer|Long expected"; + } return null; }; @@ -303660,6 +308812,15 @@ message.featureGroups[i] = $root.google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup.fromObject(object.featureGroups[i]); } } + if (object.projectNumber != null) + if ($util.Long) + (message.projectNumber = $util.Long.fromValue(object.projectNumber)).unsigned = false; + else if (typeof object.projectNumber === "string") + message.projectNumber = parseInt(object.projectNumber, 10); + else if (typeof object.projectNumber === "number") + message.projectNumber = object.projectNumber; + else if (typeof object.projectNumber === "object") + message.projectNumber = new $util.LongBits(object.projectNumber.low >>> 0, object.projectNumber.high >>> 0).toNumber(); return message; }; @@ -303683,6 +308844,14 @@ for (var j = 0; j < message.featureGroups.length; ++j) object.featureGroups[j] = $root.google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup.toObject(message.featureGroups[j], options); } + if (message.projectNumber != null && message.hasOwnProperty("projectNumber")) { + if (typeof message.projectNumber === "number") + object.projectNumber = options.longs === String ? String(message.projectNumber) : message.projectNumber; + else + object.projectNumber = options.longs === String ? $util.Long.prototype.toString.call(message.projectNumber) : options.longs === Number ? new $util.LongBits(message.projectNumber.low >>> 0, message.projectNumber.high >>> 0).toNumber() : message.projectNumber; + if (options.oneofs) + object._projectNumber = "projectNumber"; + } return object; }; @@ -303987,6 +309156,7 @@ * @property {google.protobuf.ITimestamp|null} [createTime] FeatureViewSync createTime * @property {google.type.IInterval|null} [runTime] FeatureViewSync runTime * @property {google.rpc.IStatus|null} [finalStatus] FeatureViewSync finalStatus + * @property {google.cloud.aiplatform.v1beta1.FeatureViewSync.ISyncSummary|null} [syncSummary] FeatureViewSync syncSummary */ /** @@ -304036,6 +309206,14 @@ */ FeatureViewSync.prototype.finalStatus = null; + /** + * FeatureViewSync syncSummary. + * @member {google.cloud.aiplatform.v1beta1.FeatureViewSync.ISyncSummary|null|undefined} syncSummary + * @memberof google.cloud.aiplatform.v1beta1.FeatureViewSync + * @instance + */ + FeatureViewSync.prototype.syncSummary = null; + /** * Creates a new FeatureViewSync instance using the specified properties. * @function create @@ -304068,6 +309246,8 @@ $root.google.rpc.Status.encode(message.finalStatus, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); if (message.runTime != null && Object.hasOwnProperty.call(message, "runTime")) $root.google.type.Interval.encode(message.runTime, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.syncSummary != null && Object.hasOwnProperty.call(message, "syncSummary")) + $root.google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary.encode(message.syncSummary, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); return writer; }; @@ -304118,6 +309298,10 @@ message.finalStatus = $root.google.rpc.Status.decode(reader, reader.uint32()); break; } + case 6: { + message.syncSummary = $root.google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -304171,6 +309355,11 @@ if (error) return "finalStatus." + error; } + if (message.syncSummary != null && message.hasOwnProperty("syncSummary")) { + var error = $root.google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary.verify(message.syncSummary); + if (error) + return "syncSummary." + error; + } return null; }; @@ -304203,6 +309392,11 @@ throw TypeError(".google.cloud.aiplatform.v1beta1.FeatureViewSync.finalStatus: object expected"); message.finalStatus = $root.google.rpc.Status.fromObject(object.finalStatus); } + if (object.syncSummary != null) { + if (typeof object.syncSummary !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.FeatureViewSync.syncSummary: object expected"); + message.syncSummary = $root.google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary.fromObject(object.syncSummary); + } return message; }; @@ -304224,6 +309418,7 @@ object.createTime = null; object.finalStatus = null; object.runTime = null; + object.syncSummary = null; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -304233,6 +309428,8 @@ object.finalStatus = $root.google.rpc.Status.toObject(message.finalStatus, options); if (message.runTime != null && message.hasOwnProperty("runTime")) object.runTime = $root.google.type.Interval.toObject(message.runTime, options); + if (message.syncSummary != null && message.hasOwnProperty("syncSummary")) + object.syncSummary = $root.google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary.toObject(message.syncSummary, options); return object; }; @@ -304262,6 +309459,261 @@ return typeUrlPrefix + "/google.cloud.aiplatform.v1beta1.FeatureViewSync"; }; + FeatureViewSync.SyncSummary = (function() { + + /** + * Properties of a SyncSummary. + * @memberof google.cloud.aiplatform.v1beta1.FeatureViewSync + * @interface ISyncSummary + * @property {number|Long|null} [rowSynced] SyncSummary rowSynced + * @property {number|Long|null} [totalSlot] SyncSummary totalSlot + */ + + /** + * Constructs a new SyncSummary. + * @memberof google.cloud.aiplatform.v1beta1.FeatureViewSync + * @classdesc Represents a SyncSummary. + * @implements ISyncSummary + * @constructor + * @param {google.cloud.aiplatform.v1beta1.FeatureViewSync.ISyncSummary=} [properties] Properties to set + */ + function SyncSummary(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * SyncSummary rowSynced. + * @member {number|Long} rowSynced + * @memberof google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary + * @instance + */ + SyncSummary.prototype.rowSynced = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + + /** + * SyncSummary totalSlot. + * @member {number|Long} totalSlot + * @memberof google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary + * @instance + */ + SyncSummary.prototype.totalSlot = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + + /** + * Creates a new SyncSummary instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary + * @static + * @param {google.cloud.aiplatform.v1beta1.FeatureViewSync.ISyncSummary=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary} SyncSummary instance + */ + SyncSummary.create = function create(properties) { + return new SyncSummary(properties); + }; + + /** + * Encodes the specified SyncSummary message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary + * @static + * @param {google.cloud.aiplatform.v1beta1.FeatureViewSync.ISyncSummary} message SyncSummary message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + SyncSummary.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.rowSynced != null && Object.hasOwnProperty.call(message, "rowSynced")) + writer.uint32(/* id 1, wireType 0 =*/8).int64(message.rowSynced); + if (message.totalSlot != null && Object.hasOwnProperty.call(message, "totalSlot")) + writer.uint32(/* id 2, wireType 0 =*/16).int64(message.totalSlot); + return writer; + }; + + /** + * Encodes the specified SyncSummary message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary + * @static + * @param {google.cloud.aiplatform.v1beta1.FeatureViewSync.ISyncSummary} message SyncSummary message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + SyncSummary.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a SyncSummary message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary} SyncSummary + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + SyncSummary.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.rowSynced = reader.int64(); + break; + } + case 2: { + message.totalSlot = reader.int64(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a SyncSummary message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary} SyncSummary + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + SyncSummary.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a SyncSummary message. + * @function verify + * @memberof google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + SyncSummary.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.rowSynced != null && message.hasOwnProperty("rowSynced")) + if (!$util.isInteger(message.rowSynced) && !(message.rowSynced && $util.isInteger(message.rowSynced.low) && $util.isInteger(message.rowSynced.high))) + return "rowSynced: integer|Long expected"; + if (message.totalSlot != null && message.hasOwnProperty("totalSlot")) + if (!$util.isInteger(message.totalSlot) && !(message.totalSlot && $util.isInteger(message.totalSlot.low) && $util.isInteger(message.totalSlot.high))) + return "totalSlot: integer|Long expected"; + return null; + }; + + /** + * Creates a SyncSummary message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary} SyncSummary + */ + SyncSummary.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary) + return object; + var message = new $root.google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary(); + if (object.rowSynced != null) + if ($util.Long) + (message.rowSynced = $util.Long.fromValue(object.rowSynced)).unsigned = false; + else if (typeof object.rowSynced === "string") + message.rowSynced = parseInt(object.rowSynced, 10); + else if (typeof object.rowSynced === "number") + message.rowSynced = object.rowSynced; + else if (typeof object.rowSynced === "object") + message.rowSynced = new $util.LongBits(object.rowSynced.low >>> 0, object.rowSynced.high >>> 0).toNumber(); + if (object.totalSlot != null) + if ($util.Long) + (message.totalSlot = $util.Long.fromValue(object.totalSlot)).unsigned = false; + else if (typeof object.totalSlot === "string") + message.totalSlot = parseInt(object.totalSlot, 10); + else if (typeof object.totalSlot === "number") + message.totalSlot = object.totalSlot; + else if (typeof object.totalSlot === "object") + message.totalSlot = new $util.LongBits(object.totalSlot.low >>> 0, object.totalSlot.high >>> 0).toNumber(); + return message; + }; + + /** + * Creates a plain object from a SyncSummary message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary + * @static + * @param {google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary} message SyncSummary + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + SyncSummary.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.rowSynced = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + } else + object.rowSynced = options.longs === String ? "0" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.totalSlot = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + } else + object.totalSlot = options.longs === String ? "0" : 0; + } + if (message.rowSynced != null && message.hasOwnProperty("rowSynced")) + if (typeof message.rowSynced === "number") + object.rowSynced = options.longs === String ? String(message.rowSynced) : message.rowSynced; + else + object.rowSynced = options.longs === String ? $util.Long.prototype.toString.call(message.rowSynced) : options.longs === Number ? new $util.LongBits(message.rowSynced.low >>> 0, message.rowSynced.high >>> 0).toNumber() : message.rowSynced; + if (message.totalSlot != null && message.hasOwnProperty("totalSlot")) + if (typeof message.totalSlot === "number") + object.totalSlot = options.longs === String ? String(message.totalSlot) : message.totalSlot; + else + object.totalSlot = options.longs === String ? $util.Long.prototype.toString.call(message.totalSlot) : options.longs === Number ? new $util.LongBits(message.totalSlot.low >>> 0, message.totalSlot.high >>> 0).toNumber() : message.totalSlot; + return object; + }; + + /** + * Converts this SyncSummary to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary + * @instance + * @returns {Object.} JSON object + */ + SyncSummary.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for SyncSummary + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SyncSummary.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1beta1.FeatureViewSync.SyncSummary"; + }; + + return SyncSummary; + })(); + return FeatureViewSync; })(); @@ -341350,6 +346802,7 @@ case 3: case 4: case 5: + case 6: break; } return null; @@ -341413,6 +346866,10 @@ case 5: message.op = 5; break; + case "NOT_EQUAL": + case 6: + message.op = 6; + break; } return message; }; @@ -341495,6 +346952,7 @@ * @property {number} EQUAL=3 EQUAL value * @property {number} GREATER_EQUAL=4 GREATER_EQUAL value * @property {number} GREATER=5 GREATER value + * @property {number} NOT_EQUAL=6 NOT_EQUAL value */ NumericRestriction.Operator = (function() { var valuesById = {}, values = Object.create(valuesById); @@ -341504,6 +346962,7 @@ values[valuesById[3] = "EQUAL"] = 3; values[valuesById[4] = "GREATER_EQUAL"] = 4; values[valuesById[5] = "GREATER"] = 5; + values[valuesById[6] = "NOT_EQUAL"] = 6; return values; })(); @@ -407349,6 +412808,7 @@ * @memberof google.cloud.aiplatform.v1beta1 * @interface ICreatePersistentResourceOperationMetadata * @property {google.cloud.aiplatform.v1beta1.IGenericOperationMetadata|null} [genericMetadata] CreatePersistentResourceOperationMetadata genericMetadata + * @property {string|null} [progressMessage] CreatePersistentResourceOperationMetadata progressMessage */ /** @@ -407374,6 +412834,14 @@ */ CreatePersistentResourceOperationMetadata.prototype.genericMetadata = null; + /** + * CreatePersistentResourceOperationMetadata progressMessage. + * @member {string} progressMessage + * @memberof google.cloud.aiplatform.v1beta1.CreatePersistentResourceOperationMetadata + * @instance + */ + CreatePersistentResourceOperationMetadata.prototype.progressMessage = ""; + /** * Creates a new CreatePersistentResourceOperationMetadata instance using the specified properties. * @function create @@ -407400,6 +412868,8 @@ writer = $Writer.create(); if (message.genericMetadata != null && Object.hasOwnProperty.call(message, "genericMetadata")) $root.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.encode(message.genericMetadata, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.progressMessage != null && Object.hasOwnProperty.call(message, "progressMessage")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.progressMessage); return writer; }; @@ -407438,6 +412908,10 @@ message.genericMetadata = $root.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.decode(reader, reader.uint32()); break; } + case 2: { + message.progressMessage = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -407478,6 +412952,9 @@ if (error) return "genericMetadata." + error; } + if (message.progressMessage != null && message.hasOwnProperty("progressMessage")) + if (!$util.isString(message.progressMessage)) + return "progressMessage: string expected"; return null; }; @@ -407498,6 +412975,8 @@ throw TypeError(".google.cloud.aiplatform.v1beta1.CreatePersistentResourceOperationMetadata.genericMetadata: object expected"); message.genericMetadata = $root.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.fromObject(object.genericMetadata); } + if (object.progressMessage != null) + message.progressMessage = String(object.progressMessage); return message; }; @@ -407514,10 +412993,14 @@ if (!options) options = {}; var object = {}; - if (options.defaults) + if (options.defaults) { object.genericMetadata = null; + object.progressMessage = ""; + } if (message.genericMetadata != null && message.hasOwnProperty("genericMetadata")) object.genericMetadata = $root.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.toObject(message.genericMetadata, options); + if (message.progressMessage != null && message.hasOwnProperty("progressMessage")) + object.progressMessage = message.progressMessage; return object; }; @@ -407557,6 +413040,7 @@ * @memberof google.cloud.aiplatform.v1beta1 * @interface IUpdatePersistentResourceOperationMetadata * @property {google.cloud.aiplatform.v1beta1.IGenericOperationMetadata|null} [genericMetadata] UpdatePersistentResourceOperationMetadata genericMetadata + * @property {string|null} [progressMessage] UpdatePersistentResourceOperationMetadata progressMessage */ /** @@ -407582,6 +413066,14 @@ */ UpdatePersistentResourceOperationMetadata.prototype.genericMetadata = null; + /** + * UpdatePersistentResourceOperationMetadata progressMessage. + * @member {string} progressMessage + * @memberof google.cloud.aiplatform.v1beta1.UpdatePersistentResourceOperationMetadata + * @instance + */ + UpdatePersistentResourceOperationMetadata.prototype.progressMessage = ""; + /** * Creates a new UpdatePersistentResourceOperationMetadata instance using the specified properties. * @function create @@ -407608,6 +413100,8 @@ writer = $Writer.create(); if (message.genericMetadata != null && Object.hasOwnProperty.call(message, "genericMetadata")) $root.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.encode(message.genericMetadata, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.progressMessage != null && Object.hasOwnProperty.call(message, "progressMessage")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.progressMessage); return writer; }; @@ -407646,6 +413140,10 @@ message.genericMetadata = $root.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.decode(reader, reader.uint32()); break; } + case 2: { + message.progressMessage = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -407686,6 +413184,9 @@ if (error) return "genericMetadata." + error; } + if (message.progressMessage != null && message.hasOwnProperty("progressMessage")) + if (!$util.isString(message.progressMessage)) + return "progressMessage: string expected"; return null; }; @@ -407706,6 +413207,8 @@ throw TypeError(".google.cloud.aiplatform.v1beta1.UpdatePersistentResourceOperationMetadata.genericMetadata: object expected"); message.genericMetadata = $root.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.fromObject(object.genericMetadata); } + if (object.progressMessage != null) + message.progressMessage = String(object.progressMessage); return message; }; @@ -407722,10 +413225,14 @@ if (!options) options = {}; var object = {}; - if (options.defaults) + if (options.defaults) { object.genericMetadata = null; + object.progressMessage = ""; + } if (message.genericMetadata != null && message.hasOwnProperty("genericMetadata")) object.genericMetadata = $root.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.toObject(message.genericMetadata, options); + if (message.progressMessage != null && message.hasOwnProperty("progressMessage")) + object.progressMessage = message.progressMessage; return object; }; @@ -408940,6 +414447,7 @@ * @property {string|null} [templateUri] PipelineJob templateUri * @property {google.cloud.aiplatform.v1beta1.IPipelineTemplateMetadata|null} [templateMetadata] PipelineJob templateMetadata * @property {string|null} [scheduleName] PipelineJob scheduleName + * @property {boolean|null} [preflightValidations] PipelineJob preflightValidations */ /** @@ -409111,6 +414619,14 @@ */ PipelineJob.prototype.scheduleName = ""; + /** + * PipelineJob preflightValidations. + * @member {boolean} preflightValidations + * @memberof google.cloud.aiplatform.v1beta1.PipelineJob + * @instance + */ + PipelineJob.prototype.preflightValidations = false; + /** * Creates a new PipelineJob instance using the specified properties. * @function create @@ -409175,6 +414691,8 @@ if (message.reservedIpRanges != null && message.reservedIpRanges.length) for (var i = 0; i < message.reservedIpRanges.length; ++i) writer.uint32(/* id 25, wireType 2 =*/202).string(message.reservedIpRanges[i]); + if (message.preflightValidations != null && Object.hasOwnProperty.call(message, "preflightValidations")) + writer.uint32(/* id 26, wireType 0 =*/208).bool(message.preflightValidations); return writer; }; @@ -409306,6 +414824,10 @@ message.scheduleName = reader.string(); break; } + case 26: { + message.preflightValidations = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -409439,6 +414961,9 @@ if (message.scheduleName != null && message.hasOwnProperty("scheduleName")) if (!$util.isString(message.scheduleName)) return "scheduleName: string expected"; + if (message.preflightValidations != null && message.hasOwnProperty("preflightValidations")) + if (typeof message.preflightValidations !== "boolean") + return "preflightValidations: boolean expected"; return null; }; @@ -409574,6 +415099,8 @@ } if (object.scheduleName != null) message.scheduleName = String(object.scheduleName); + if (object.preflightValidations != null) + message.preflightValidations = Boolean(object.preflightValidations); return message; }; @@ -409612,6 +415139,7 @@ object.templateUri = ""; object.templateMetadata = null; object.scheduleName = ""; + object.preflightValidations = false; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -409658,6 +415186,8 @@ for (var j = 0; j < message.reservedIpRanges.length; ++j) object.reservedIpRanges[j] = message.reservedIpRanges[j]; } + if (message.preflightValidations != null && message.hasOwnProperty("preflightValidations")) + object.preflightValidations = message.preflightValidations; return object; }; @@ -415286,7 +420816,6 @@ * @property {string|null} [parent] CreatePipelineJobRequest parent * @property {google.cloud.aiplatform.v1beta1.IPipelineJob|null} [pipelineJob] CreatePipelineJobRequest pipelineJob * @property {string|null} [pipelineJobId] CreatePipelineJobRequest pipelineJobId - * @property {boolean|null} [preflightValidations] CreatePipelineJobRequest preflightValidations */ /** @@ -415328,14 +420857,6 @@ */ CreatePipelineJobRequest.prototype.pipelineJobId = ""; - /** - * CreatePipelineJobRequest preflightValidations. - * @member {boolean} preflightValidations - * @memberof google.cloud.aiplatform.v1beta1.CreatePipelineJobRequest - * @instance - */ - CreatePipelineJobRequest.prototype.preflightValidations = false; - /** * Creates a new CreatePipelineJobRequest instance using the specified properties. * @function create @@ -415366,8 +420887,6 @@ $root.google.cloud.aiplatform.v1beta1.PipelineJob.encode(message.pipelineJob, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.pipelineJobId != null && Object.hasOwnProperty.call(message, "pipelineJobId")) writer.uint32(/* id 3, wireType 2 =*/26).string(message.pipelineJobId); - if (message.preflightValidations != null && Object.hasOwnProperty.call(message, "preflightValidations")) - writer.uint32(/* id 4, wireType 0 =*/32).bool(message.preflightValidations); return writer; }; @@ -415414,10 +420933,6 @@ message.pipelineJobId = reader.string(); break; } - case 4: { - message.preflightValidations = reader.bool(); - break; - } default: reader.skipType(tag & 7); break; @@ -415464,9 +420979,6 @@ if (message.pipelineJobId != null && message.hasOwnProperty("pipelineJobId")) if (!$util.isString(message.pipelineJobId)) return "pipelineJobId: string expected"; - if (message.preflightValidations != null && message.hasOwnProperty("preflightValidations")) - if (typeof message.preflightValidations !== "boolean") - return "preflightValidations: boolean expected"; return null; }; @@ -415491,8 +421003,6 @@ } if (object.pipelineJobId != null) message.pipelineJobId = String(object.pipelineJobId); - if (object.preflightValidations != null) - message.preflightValidations = Boolean(object.preflightValidations); return message; }; @@ -415513,7 +421023,6 @@ object.parent = ""; object.pipelineJob = null; object.pipelineJobId = ""; - object.preflightValidations = false; } if (message.parent != null && message.hasOwnProperty("parent")) object.parent = message.parent; @@ -415521,8 +421030,6 @@ object.pipelineJob = $root.google.cloud.aiplatform.v1beta1.PipelineJob.toObject(message.pipelineJob, options); if (message.pipelineJobId != null && message.hasOwnProperty("pipelineJobId")) object.pipelineJobId = message.pipelineJobId; - if (message.preflightValidations != null && message.hasOwnProperty("preflightValidations")) - object.preflightValidations = message.preflightValidations; return object; }; diff --git a/packages/google-cloud-aiplatform/protos/protos.json b/packages/google-cloud-aiplatform/protos/protos.json index e9ba2e95a71..19e1e1f74d0 100644 --- a/packages/google-cloud-aiplatform/protos/protos.json +++ b/packages/google-cloud-aiplatform/protos/protos.json @@ -30,6 +30,7 @@ "NVIDIA_TESLA_A100": 8, "NVIDIA_A100_80GB": 9, "NVIDIA_L4": 11, + "NVIDIA_H100_80GB": 13, "TPU_V2": 6, "TPU_V3": 7, "TPU_V4_POD": 10 @@ -1740,6 +1741,13 @@ "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } + }, + "baseModelSource": { + "type": "BaseModelSource", + "id": 50, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } } }, "nested": { @@ -1811,6 +1819,26 @@ } } }, + "BaseModelSource": { + "oneofs": { + "source": { + "oneof": [ + "modelGardenSource", + "genieSource" + ] + } + }, + "fields": { + "modelGardenSource": { + "type": "ModelGardenSource", + "id": 1 + }, + "genieSource": { + "type": "GenieSource", + "id": 2 + } + } + }, "DeploymentResourcesType": { "values": { "DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED": 0, @@ -1832,6 +1860,28 @@ } } }, + "ModelGardenSource": { + "fields": { + "publicModelName": { + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "REQUIRED" + } + } + } + }, + "GenieSource": { + "fields": { + "baseModelUri": { + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "REQUIRED" + } + } + } + }, "PredictSchemata": { "fields": { "instanceSchemaUri": { @@ -2323,6 +2373,27 @@ "(google.api.field_behavior)": "OUTPUT_ONLY" } }, + "probabilityScore": { + "type": "float", + "id": 5, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + }, + "severity": { + "type": "HarmSeverity", + "id": 6, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + }, + "severityScore": { + "type": "float", + "id": 7, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + }, "blocked": { "type": "bool", "id": 3, @@ -2340,6 +2411,15 @@ "MEDIUM": 3, "HIGH": 4 } + }, + "HarmSeverity": { + "values": { + "HARM_SEVERITY_UNSPECIFIED": 0, + "HARM_SEVERITY_NEGLIGIBLE": 1, + "HARM_SEVERITY_LOW": 2, + "HARM_SEVERITY_MEDIUM": 3, + "HARM_SEVERITY_HIGH": 4 + } } } }, @@ -2453,6 +2533,13 @@ "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } + }, + "groundingMetadata": { + "type": "GroundingMetadata", + "id": 7, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } } }, "nested": { @@ -2463,7 +2550,113 @@ "MAX_TOKENS": 2, "SAFETY": 3, "RECITATION": 4, - "OTHER": 5 + "OTHER": 5, + "BLOCKLIST": 6, + "PROHIBITED_CONTENT": 7, + "SPII": 8 + } + } + } + }, + "Segment": { + "fields": { + "partIndex": { + "type": "int32", + "id": 1, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + }, + "startIndex": { + "type": "int32", + "id": 2, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + }, + "endIndex": { + "type": "int32", + "id": 3, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + } + } + }, + "GroundingAttribution": { + "oneofs": { + "reference": { + "oneof": [ + "web" + ] + }, + "_confidenceScore": { + "oneof": [ + "confidenceScore" + ] + } + }, + "fields": { + "web": { + "type": "Web", + "id": 3, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "segment": { + "type": "Segment", + "id": 1, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + }, + "confidenceScore": { + "type": "float", + "id": 2, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY", + "proto3_optional": true + } + } + }, + "nested": { + "Web": { + "fields": { + "uri": { + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + }, + "title": { + "type": "string", + "id": 2, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + } + } + } + } + }, + "GroundingMetadata": { + "fields": { + "webSearchQueries": { + "rule": "repeated", + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "groundingAttributions": { + "rule": "repeated", + "type": "GroundingAttribution", + "id": 2, + "options": { + "(google.api.field_behavior)": "OPTIONAL" } } } @@ -2477,6 +2670,20 @@ "options": { "(google.api.field_behavior)": "OPTIONAL" } + }, + "retrieval": { + "type": "Retrieval", + "id": 2, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "googleSearchRetrieval": { + "type": "GoogleSearchRetrieval", + "id": 3, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } } } }, @@ -2541,6 +2748,50 @@ } } }, + "Retrieval": { + "oneofs": { + "source": { + "oneof": [ + "vertexAiSearch" + ] + } + }, + "fields": { + "vertexAiSearch": { + "type": "VertexAISearch", + "id": 2 + }, + "disableAttribution": { + "type": "bool", + "id": 3, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + } + } + }, + "VertexAISearch": { + "fields": { + "datastore": { + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "REQUIRED" + } + } + } + }, + "GoogleSearchRetrieval": { + "fields": { + "disableAttribution": { + "type": "bool", + "id": 1, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + } + } + }, "Type": { "values": { "TYPE_UNSPECIFIED": 0, @@ -4582,6 +4833,17 @@ "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } + }, + "displayName": { + "type": "string", + "id": 7 + }, + "metadata": { + "type": "google.protobuf.Value", + "id": 8, + "options": { + "(google.api.field_behavior)": "REQUIRED" + } } } }, @@ -7076,6 +7338,13 @@ } }, "FeatureRegistrySource": { + "oneofs": { + "_projectNumber": { + "oneof": [ + "projectNumber" + ] + } + }, "fields": { "featureGroups": { "rule": "repeated", @@ -7084,6 +7353,14 @@ "options": { "(google.api.field_behavior)": "REQUIRED" } + }, + "projectNumber": { + "type": "int64", + "id": 2, + "options": { + "(google.api.field_behavior)": "OPTIONAL", + "proto3_optional": true + } } }, "nested": { @@ -7143,6 +7420,33 @@ "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } + }, + "syncSummary": { + "type": "SyncSummary", + "id": 6, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + } + }, + "nested": { + "SyncSummary": { + "fields": { + "rowSynced": { + "type": "int64", + "id": 1, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + }, + "totalSlot": { + "type": "int64", + "id": 2, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + } + } } } }, @@ -10979,7 +11283,8 @@ "LESS_EQUAL": 2, "EQUAL": 3, "GREATER_EQUAL": 4, - "GREATER": 5 + "GREATER": 5, + "NOT_EQUAL": 6 } } } @@ -19945,6 +20250,34 @@ } ] }, + "BatchDeletePipelineJobs": { + "requestType": "BatchDeletePipelineJobsRequest", + "responseType": "google.longrunning.Operation", + "options": { + "(google.api.http).post": "/v1/{parent=projects/*/locations/*}/pipelineJobs:batchDelete", + "(google.api.http).body": "*", + "(google.api.method_signature)": "parent,names", + "(google.longrunning.operation_info).response_type": "BatchDeletePipelineJobsResponse", + "(google.longrunning.operation_info).metadata_type": "DeleteOperationMetadata" + }, + "parsedOptions": [ + { + "(google.api.http)": { + "post": "/v1/{parent=projects/*/locations/*}/pipelineJobs:batchDelete", + "body": "*" + } + }, + { + "(google.api.method_signature)": "parent,names" + }, + { + "(google.longrunning.operation_info)": { + "response_type": "BatchDeletePipelineJobsResponse", + "metadata_type": "DeleteOperationMetadata" + } + } + ] + }, "CancelPipelineJob": { "requestType": "CancelPipelineJobRequest", "responseType": "google.protobuf.Empty", @@ -19964,6 +20297,42 @@ "(google.api.method_signature)": "name" } ] + }, + "BatchCancelPipelineJobs": { + "requestType": "BatchCancelPipelineJobsRequest", + "responseType": "google.longrunning.Operation", + "options": { + "(google.api.http).post": "/v1/{parent=projects/*/locations/*}/pipelineJobs:batchCancel", + "(google.api.http).body": "*", + "(google.api.method_signature)": "parent,names", + "(google.longrunning.operation_info).response_type": "BatchCancelPipelineJobsResponse", + "(google.longrunning.operation_info).metadata_type": "BatchCancelPipelineJobsOperationMetadata" + }, + "parsedOptions": [ + { + "(google.api.http)": { + "post": "/v1/{parent=projects/*/locations/*}/pipelineJobs:batchCancel", + "body": "*" + } + }, + { + "(google.api.method_signature)": "parent,names" + }, + { + "(google.longrunning.operation_info)": { + "response_type": "BatchCancelPipelineJobsResponse", + "metadata_type": "BatchCancelPipelineJobsOperationMetadata" + } + } + ] + } + } + }, + "BatchCancelPipelineJobsOperationMetadata": { + "fields": { + "genericMetadata": { + "type": "GenericOperationMetadata", + "id": 1 } } }, @@ -20155,6 +20524,36 @@ } } }, + "BatchDeletePipelineJobsRequest": { + "fields": { + "parent": { + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "REQUIRED", + "(google.api.resource_reference).child_type": "aiplatform.googleapis.com/PipelineJob" + } + }, + "names": { + "rule": "repeated", + "type": "string", + "id": 2, + "options": { + "(google.api.field_behavior)": "REQUIRED", + "(google.api.resource_reference).type": "aiplatform.googleapis.com/PipelineJob" + } + } + } + }, + "BatchDeletePipelineJobsResponse": { + "fields": { + "pipelineJobs": { + "rule": "repeated", + "type": "PipelineJob", + "id": 1 + } + } + }, "CancelPipelineJobRequest": { "fields": { "name": { @@ -20167,6 +20566,36 @@ } } }, + "BatchCancelPipelineJobsRequest": { + "fields": { + "parent": { + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "REQUIRED", + "(google.api.resource_reference).child_type": "aiplatform.googleapis.com/PipelineJob" + } + }, + "names": { + "rule": "repeated", + "type": "string", + "id": 2, + "options": { + "(google.api.field_behavior)": "REQUIRED", + "(google.api.resource_reference).type": "aiplatform.googleapis.com/PipelineJob" + } + } + } + }, + "BatchCancelPipelineJobsResponse": { + "fields": { + "pipelineJobs": { + "rule": "repeated", + "type": "PipelineJob", + "id": 1 + } + } + }, "TrainingPipeline": { "options": { "(google.api.resource).type": "aiplatform.googleapis.com/TrainingPipeline", @@ -26978,6 +27407,13 @@ "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } + }, + "baseModelSource": { + "type": "BaseModelSource", + "id": 50, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } } }, "nested": { @@ -27021,6 +27457,26 @@ } } }, + "BaseModelSource": { + "oneofs": { + "source": { + "oneof": [ + "modelGardenSource", + "genieSource" + ] + } + }, + "fields": { + "modelGardenSource": { + "type": "ModelGardenSource", + "id": 1 + }, + "genieSource": { + "type": "GenieSource", + "id": 2 + } + } + }, "DeploymentResourcesType": { "values": { "DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED": 0, @@ -27042,6 +27498,28 @@ } } }, + "ModelGardenSource": { + "fields": { + "publicModelName": { + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "REQUIRED" + } + } + } + }, + "GenieSource": { + "fields": { + "baseModelUri": { + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "REQUIRED" + } + } + } + }, "PredictSchemata": { "fields": { "instanceSchemaUri": { @@ -27533,6 +28011,27 @@ "(google.api.field_behavior)": "OUTPUT_ONLY" } }, + "probabilityScore": { + "type": "float", + "id": 5, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + }, + "severity": { + "type": "HarmSeverity", + "id": 6, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + }, + "severityScore": { + "type": "float", + "id": 7, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + }, "blocked": { "type": "bool", "id": 3, @@ -27550,6 +28049,15 @@ "MEDIUM": 3, "HIGH": 4 } + }, + "HarmSeverity": { + "values": { + "HARM_SEVERITY_UNSPECIFIED": 0, + "HARM_SEVERITY_NEGLIGIBLE": 1, + "HARM_SEVERITY_LOW": 2, + "HARM_SEVERITY_MEDIUM": 3, + "HARM_SEVERITY_HIGH": 4 + } } } }, @@ -27680,7 +28188,10 @@ "MAX_TOKENS": 2, "SAFETY": 3, "RECITATION": 4, - "OTHER": 5 + "OTHER": 5, + "BLOCKLIST": 6, + "PROHIBITED_CONTENT": 7, + "SPII": 8 } } } @@ -29914,6 +30425,17 @@ "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } + }, + "displayName": { + "type": "string", + "id": 7 + }, + "metadata": { + "type": "google.protobuf.Value", + "id": 8, + "options": { + "(google.api.field_behavior)": "REQUIRED" + } } } }, @@ -32463,6 +32985,7 @@ "type": "VectorSearchConfig", "id": 8, "options": { + "deprecated": true, "(google.api.field_behavior)": "OPTIONAL" } }, @@ -32510,6 +33033,9 @@ } }, "VectorSearchConfig": { + "options": { + "deprecated": true + }, "oneofs": { "algorithmConfig": { "oneof": [ @@ -32610,6 +33136,13 @@ } }, "FeatureRegistrySource": { + "oneofs": { + "_projectNumber": { + "oneof": [ + "projectNumber" + ] + } + }, "fields": { "featureGroups": { "rule": "repeated", @@ -32618,6 +33151,14 @@ "options": { "(google.api.field_behavior)": "REQUIRED" } + }, + "projectNumber": { + "type": "int64", + "id": 2, + "options": { + "(google.api.field_behavior)": "OPTIONAL", + "proto3_optional": true + } } }, "nested": { @@ -32684,6 +33225,33 @@ "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } + }, + "syncSummary": { + "type": "SyncSummary", + "id": 6, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + } + }, + "nested": { + "SyncSummary": { + "fields": { + "rowSynced": { + "type": "int64", + "id": 1, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + }, + "totalSlot": { + "type": "int64", + "id": 2, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + } + } } } }, @@ -36608,7 +37176,8 @@ "LESS_EQUAL": 2, "EQUAL": 3, "GREATER_EQUAL": 4, - "GREATER": 5 + "GREATER": 5, + "NOT_EQUAL": 6 } } } @@ -44160,6 +44729,10 @@ "genericMetadata": { "type": "GenericOperationMetadata", "id": 1 + }, + "progressMessage": { + "type": "string", + "id": 2 } } }, @@ -44168,6 +44741,10 @@ "genericMetadata": { "type": "GenericOperationMetadata", "id": 1 + }, + "progressMessage": { + "type": "string", + "id": 2 } } }, @@ -44375,6 +44952,13 @@ "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } + }, + "preflightValidations": { + "type": "bool", + "id": 26, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } } }, "nested": { @@ -45129,13 +45713,6 @@ "pipelineJobId": { "type": "string", "id": 3 - }, - "preflightValidations": { - "type": "bool", - "id": 4, - "options": { - "(google.api.field_behavior)": "OPTIONAL" - } } } }, diff --git a/packages/google-cloud-aiplatform/samples/README.md b/packages/google-cloud-aiplatform/samples/README.md index e05dbccdaf9..ce2aa76fb78 100644 --- a/packages/google-cloud-aiplatform/samples/README.md +++ b/packages/google-cloud-aiplatform/samples/README.md @@ -199,6 +199,8 @@ * [Model_service.update_explanation_dataset](#model_service.update_explanation_dataset) * [Model_service.update_model](#model_service.update_model) * [Model_service.upload_model](#model_service.upload_model) + * [Pipeline_service.batch_cancel_pipeline_jobs](#pipeline_service.batch_cancel_pipeline_jobs) + * [Pipeline_service.batch_delete_pipeline_jobs](#pipeline_service.batch_delete_pipeline_jobs) * [Pipeline_service.cancel_pipeline_job](#pipeline_service.cancel_pipeline_job) * [Pipeline_service.cancel_training_pipeline](#pipeline_service.cancel_training_pipeline) * [Pipeline_service.create_pipeline_job](#pipeline_service.create_pipeline_job) @@ -3750,6 +3752,40 @@ __Usage:__ +### Pipeline_service.batch_cancel_pipeline_jobs + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/pipeline_service.batch_cancel_pipeline_jobs.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1/pipeline_service.batch_cancel_pipeline_jobs.js,samples/README.md) + +__Usage:__ + + +`node packages/google-cloud-aiplatform/samples/generated/v1/pipeline_service.batch_cancel_pipeline_jobs.js` + + +----- + + + + +### Pipeline_service.batch_delete_pipeline_jobs + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/pipeline_service.batch_delete_pipeline_jobs.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-aiplatform/samples/generated/v1/pipeline_service.batch_delete_pipeline_jobs.js,samples/README.md) + +__Usage:__ + + +`node packages/google-cloud-aiplatform/samples/generated/v1/pipeline_service.batch_delete_pipeline_jobs.js` + + +----- + + + + ### Pipeline_service.cancel_pipeline_job View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/pipeline_service.cancel_pipeline_job.js). diff --git a/packages/google-cloud-aiplatform/samples/generated/v1/endpoint_service.list_endpoints.js b/packages/google-cloud-aiplatform/samples/generated/v1/endpoint_service.list_endpoints.js index 2f3904f76d2..aa1aff63a95 100644 --- a/packages/google-cloud-aiplatform/samples/generated/v1/endpoint_service.list_endpoints.js +++ b/packages/google-cloud-aiplatform/samples/generated/v1/endpoint_service.list_endpoints.js @@ -36,18 +36,21 @@ function main(parent) { /** * Optional. An expression for filtering the results of the request. For field * names both snake_case and camelCase are supported. - * * `endpoint` supports = and !=. `endpoint` represents the Endpoint ID, + * * `endpoint` supports `=` and `!=`. `endpoint` represents the Endpoint + * ID, * i.e. the last segment of the Endpoint's resource * name google.cloud.aiplatform.v1.Endpoint.name. - * * `display_name` supports = and, != + * * `display_name` supports `=` and `!=`. * * `labels` supports general map functions that is: * * `labels.key=value` - key:value equality - * * `labels.key:* or labels:key - key existence + * * `labels.key:*` or `labels:key` - key existence * * A key including a space must be quoted. `labels."a key"`. + * * `base_model_name` only supports `=`. * Some examples: * * `endpoint=1` * * `displayName="myDisplayName"` * * `labels.myKey="myValue"` + * * `baseModelName="text-bison"` */ // const filter = 'abc123' /** diff --git a/packages/google-cloud-aiplatform/samples/generated/v1/model_service.list_models.js b/packages/google-cloud-aiplatform/samples/generated/v1/model_service.list_models.js index e52caff8b5f..c430feed810 100644 --- a/packages/google-cloud-aiplatform/samples/generated/v1/model_service.list_models.js +++ b/packages/google-cloud-aiplatform/samples/generated/v1/model_service.list_models.js @@ -44,10 +44,12 @@ function main(parent) { * * `labels.key=value` - key:value equality * * `labels.key:* or labels:key - key existence * * A key including a space must be quoted. `labels."a key"`. + * * `base_model_name` only supports = * Some examples: * * `model=1234` * * `displayName="myDisplayName"` * * `labels.myKey="myValue"` + * * `baseModelName="text-bison"` */ // const filter = 'abc123' /** diff --git a/packages/google-cloud-aiplatform/samples/generated/v1/pipeline_service.batch_cancel_pipeline_jobs.js b/packages/google-cloud-aiplatform/samples/generated/v1/pipeline_service.batch_cancel_pipeline_jobs.js new file mode 100644 index 00000000000..a5e405393ca --- /dev/null +++ b/packages/google-cloud-aiplatform/samples/generated/v1/pipeline_service.batch_cancel_pipeline_jobs.js @@ -0,0 +1,71 @@ +// 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'; + +function main(parent, names) { + // [START aiplatform_v1_generated_PipelineService_BatchCancelPipelineJobs_async] + /** + * 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. + * TODO(developer): Uncomment these variables before running the sample. + */ + /** + * Required. The name of the PipelineJobs' parent resource. + * Format: `projects/{project}/locations/{location}` + */ + // const parent = 'abc123' + /** + * Required. The names of the PipelineJobs to cancel. + * A maximum of 32 PipelineJobs can be cancelled in a batch. + * Format: + * `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}` + */ + // const names = ['abc','def'] + + // Imports the Aiplatform library + const {PipelineServiceClient} = require('@google-cloud/aiplatform').v1; + + // Instantiates a client + const aiplatformClient = new PipelineServiceClient(); + + async function callBatchCancelPipelineJobs() { + // Construct request + const request = { + parent, + names, + }; + + // Run request + const [operation] = await aiplatformClient.batchCancelPipelineJobs(request); + const [response] = await operation.promise(); + console.log(response); + } + + callBatchCancelPipelineJobs(); + // [END aiplatform_v1_generated_PipelineService_BatchCancelPipelineJobs_async] +} + +process.on('unhandledRejection', err => { + console.error(err.message); + process.exitCode = 1; +}); +main(...process.argv.slice(2)); diff --git a/packages/google-cloud-aiplatform/samples/generated/v1/pipeline_service.batch_delete_pipeline_jobs.js b/packages/google-cloud-aiplatform/samples/generated/v1/pipeline_service.batch_delete_pipeline_jobs.js new file mode 100644 index 00000000000..d2efaa3c573 --- /dev/null +++ b/packages/google-cloud-aiplatform/samples/generated/v1/pipeline_service.batch_delete_pipeline_jobs.js @@ -0,0 +1,71 @@ +// 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'; + +function main(parent, names) { + // [START aiplatform_v1_generated_PipelineService_BatchDeletePipelineJobs_async] + /** + * 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. + * TODO(developer): Uncomment these variables before running the sample. + */ + /** + * Required. The name of the PipelineJobs' parent resource. + * Format: `projects/{project}/locations/{location}` + */ + // const parent = 'abc123' + /** + * Required. The names of the PipelineJobs to delete. + * A maximum of 32 PipelineJobs can be deleted in a batch. + * Format: + * `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}` + */ + // const names = ['abc','def'] + + // Imports the Aiplatform library + const {PipelineServiceClient} = require('@google-cloud/aiplatform').v1; + + // Instantiates a client + const aiplatformClient = new PipelineServiceClient(); + + async function callBatchDeletePipelineJobs() { + // Construct request + const request = { + parent, + names, + }; + + // Run request + const [operation] = await aiplatformClient.batchDeletePipelineJobs(request); + const [response] = await operation.promise(); + console.log(response); + } + + callBatchDeletePipelineJobs(); + // [END aiplatform_v1_generated_PipelineService_BatchDeletePipelineJobs_async] +} + +process.on('unhandledRejection', err => { + console.error(err.message); + process.exitCode = 1; +}); +main(...process.argv.slice(2)); diff --git a/packages/google-cloud-aiplatform/samples/generated/v1/snippet_metadata_google.cloud.aiplatform.v1.json b/packages/google-cloud-aiplatform/samples/generated/v1/snippet_metadata_google.cloud.aiplatform.v1.json index 968eea3da6b..decb018a408 100644 --- a/packages/google-cloud-aiplatform/samples/generated/v1/snippet_metadata_google.cloud.aiplatform.v1.json +++ b/packages/google-cloud-aiplatform/samples/generated/v1/snippet_metadata_google.cloud.aiplatform.v1.json @@ -1234,7 +1234,7 @@ "segments": [ { "start": 25, - "end": 100, + "end": 103, "type": "FULL" } ], @@ -8038,7 +8038,7 @@ "segments": [ { "start": 25, - "end": 100, + "end": 102, "type": "FULL" } ], @@ -9191,6 +9191,50 @@ } } }, + { + "regionTag": "aiplatform_v1_generated_PipelineService_BatchDeletePipelineJobs_async", + "title": "DatasetService batchDeletePipelineJobs Sample", + "origin": "API_DEFINITION", + "description": " Batch deletes PipelineJobs The Operation is atomic. If it fails, none of the PipelineJobs are deleted. If it succeeds, all of the PipelineJobs are deleted.", + "canonical": true, + "file": "pipeline_service.batch_delete_pipeline_jobs.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchDeletePipelineJobs", + "fullName": "google.cloud.aiplatform.v1.PipelineService.BatchDeletePipelineJobs", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "names", + "type": "TYPE_STRING[]" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "PipelineServiceClient", + "fullName": "google.cloud.aiplatform.v1.PipelineServiceClient" + }, + "method": { + "shortName": "BatchDeletePipelineJobs", + "fullName": "google.cloud.aiplatform.v1.PipelineService.BatchDeletePipelineJobs", + "service": { + "shortName": "PipelineService", + "fullName": "google.cloud.aiplatform.v1.PipelineService" + } + } + } + }, { "regionTag": "aiplatform_v1_generated_PipelineService_CancelPipelineJob_async", "title": "DatasetService cancelPipelineJob Sample", @@ -9231,6 +9275,50 @@ } } }, + { + "regionTag": "aiplatform_v1_generated_PipelineService_BatchCancelPipelineJobs_async", + "title": "DatasetService batchCancelPipelineJobs Sample", + "origin": "API_DEFINITION", + "description": " Batch cancel PipelineJobs. Firstly the server will check if all the jobs are in non-terminal states, and skip the jobs that are already terminated. If the operation failed, none of the pipeline jobs are cancelled. The server will poll the states of all the pipeline jobs periodically to check the cancellation status. This operation will return an LRO.", + "canonical": true, + "file": "pipeline_service.batch_cancel_pipeline_jobs.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchCancelPipelineJobs", + "fullName": "google.cloud.aiplatform.v1.PipelineService.BatchCancelPipelineJobs", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "names", + "type": "TYPE_STRING[]" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "PipelineServiceClient", + "fullName": "google.cloud.aiplatform.v1.PipelineServiceClient" + }, + "method": { + "shortName": "BatchCancelPipelineJobs", + "fullName": "google.cloud.aiplatform.v1.PipelineService.BatchCancelPipelineJobs", + "service": { + "shortName": "PipelineService", + "fullName": "google.cloud.aiplatform.v1.PipelineService" + } + } + } + }, { "regionTag": "aiplatform_v1_generated_PredictionService_Predict_async", "title": "DatasetService predict Sample", diff --git a/packages/google-cloud-aiplatform/samples/generated/v1beta1/endpoint_service.list_endpoints.js b/packages/google-cloud-aiplatform/samples/generated/v1beta1/endpoint_service.list_endpoints.js index 4a510fc2cc7..d86fc341073 100644 --- a/packages/google-cloud-aiplatform/samples/generated/v1beta1/endpoint_service.list_endpoints.js +++ b/packages/google-cloud-aiplatform/samples/generated/v1beta1/endpoint_service.list_endpoints.js @@ -44,10 +44,12 @@ function main(parent) { * * `labels.key=value` - key:value equality * * `labels.key:* or labels:key - key existence * * A key including a space must be quoted. `labels."a key"`. + * * `base_model_name` only supports = * Some examples: * * `endpoint=1` * * `displayName="myDisplayName"` * * `labels.myKey="myValue"` + * * `baseModelName="text-bison"` */ // const filter = 'abc123' /** diff --git a/packages/google-cloud-aiplatform/samples/generated/v1beta1/model_service.list_models.js b/packages/google-cloud-aiplatform/samples/generated/v1beta1/model_service.list_models.js index 4a5f5754d76..609ecd55bfe 100644 --- a/packages/google-cloud-aiplatform/samples/generated/v1beta1/model_service.list_models.js +++ b/packages/google-cloud-aiplatform/samples/generated/v1beta1/model_service.list_models.js @@ -44,10 +44,12 @@ function main(parent) { * * `labels.key=value` - key:value equality * * `labels.key:* or labels:key - key existence * * A key including a space must be quoted. `labels."a key"`. + * * `base_model_name` only supports = * Some examples: * * `model=1234` * * `displayName="myDisplayName"` * * `labels.myKey="myValue"` + * * `baseModelName="text-bison"` */ // const filter = 'abc123' /** diff --git a/packages/google-cloud-aiplatform/samples/generated/v1beta1/pipeline_service.create_pipeline_job.js b/packages/google-cloud-aiplatform/samples/generated/v1beta1/pipeline_service.create_pipeline_job.js index 3b03053ac45..4c609fb75fb 100644 --- a/packages/google-cloud-aiplatform/samples/generated/v1beta1/pipeline_service.create_pipeline_job.js +++ b/packages/google-cloud-aiplatform/samples/generated/v1beta1/pipeline_service.create_pipeline_job.js @@ -45,11 +45,6 @@ function main(parent, pipelineJob) { * are `/[a-z][0-9]-/`. */ // const pipelineJobId = 'abc123' - /** - * Optional. Whether to do component level validations before job creation. - * Currently we only support Google First Party Component/Pipelines. - */ - // const preflightValidations = true // Imports the Aiplatform library const {PipelineServiceClient} = require('@google-cloud/aiplatform').v1beta1; diff --git a/packages/google-cloud-aiplatform/samples/generated/v1beta1/snippet_metadata_google.cloud.aiplatform.v1beta1.json b/packages/google-cloud-aiplatform/samples/generated/v1beta1/snippet_metadata_google.cloud.aiplatform.v1beta1.json index 6151e681f6c..24582dafa19 100644 --- a/packages/google-cloud-aiplatform/samples/generated/v1beta1/snippet_metadata_google.cloud.aiplatform.v1beta1.json +++ b/packages/google-cloud-aiplatform/samples/generated/v1beta1/snippet_metadata_google.cloud.aiplatform.v1beta1.json @@ -1234,7 +1234,7 @@ "segments": [ { "start": 25, - "end": 90, + "end": 92, "type": "FULL" } ], @@ -8054,7 +8054,7 @@ "segments": [ { "start": 25, - "end": 90, + "end": 92, "type": "FULL" } ], @@ -9246,7 +9246,7 @@ "segments": [ { "start": 25, - "end": 72, + "end": 67, "type": "FULL" } ], @@ -9266,10 +9266,6 @@ { "name": "pipeline_job_id", "type": "TYPE_STRING" - }, - { - "name": "preflight_validations", - "type": "TYPE_BOOL" } ], "resultType": ".google.cloud.aiplatform.v1beta1.PipelineJob", diff --git a/packages/google-cloud-aiplatform/src/v1/dataset_service_client.ts b/packages/google-cloud-aiplatform/src/v1/dataset_service_client.ts index d335e01d875..bbbf056c262 100644 --- a/packages/google-cloud-aiplatform/src/v1/dataset_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/dataset_service_client.ts @@ -436,6 +436,12 @@ export class DatasetServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -475,6 +481,14 @@ export class DatasetServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -505,6 +519,12 @@ export class DatasetServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -559,6 +579,9 @@ export class DatasetServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -662,6 +685,9 @@ export class DatasetServiceClient { { post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -1088,6 +1114,9 @@ export class DatasetServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1191,6 +1220,9 @@ export class DatasetServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1299,6 +1331,7 @@ export class DatasetServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1400,6 +1433,7 @@ export class DatasetServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/v1/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1518,6 +1552,9 @@ export class DatasetServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1/deployment_resource_pool_service_client.ts b/packages/google-cloud-aiplatform/src/v1/deployment_resource_pool_service_client.ts index 1e160c97514..5b0ffc46959 100644 --- a/packages/google-cloud-aiplatform/src/v1/deployment_resource_pool_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/deployment_resource_pool_service_client.ts @@ -420,6 +420,12 @@ export class DeploymentResourcePoolServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -459,6 +465,14 @@ export class DeploymentResourcePoolServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -489,6 +503,12 @@ export class DeploymentResourcePoolServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -543,6 +563,9 @@ export class DeploymentResourcePoolServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -646,6 +669,9 @@ export class DeploymentResourcePoolServiceClient { { post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -1072,6 +1098,9 @@ export class DeploymentResourcePoolServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1175,6 +1204,9 @@ export class DeploymentResourcePoolServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1283,6 +1315,7 @@ export class DeploymentResourcePoolServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1384,6 +1417,7 @@ export class DeploymentResourcePoolServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/v1/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1502,6 +1536,9 @@ export class DeploymentResourcePoolServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1/endpoint_service_client.ts b/packages/google-cloud-aiplatform/src/v1/endpoint_service_client.ts index fa2aface307..0c78677c97f 100644 --- a/packages/google-cloud-aiplatform/src/v1/endpoint_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/endpoint_service_client.ts @@ -411,6 +411,12 @@ export class EndpointServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -450,6 +456,14 @@ export class EndpointServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -480,6 +494,12 @@ export class EndpointServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -534,6 +554,9 @@ export class EndpointServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -637,6 +660,9 @@ export class EndpointServiceClient { { post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -1063,6 +1089,9 @@ export class EndpointServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1166,6 +1195,9 @@ export class EndpointServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1274,6 +1306,7 @@ export class EndpointServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1375,6 +1408,7 @@ export class EndpointServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/v1/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1493,6 +1527,9 @@ export class EndpointServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, @@ -2869,20 +2906,23 @@ export class EndpointServiceClient { * Optional. An expression for filtering the results of the request. For field * names both snake_case and camelCase are supported. * - * * `endpoint` supports = and !=. `endpoint` represents the Endpoint ID, + * * `endpoint` supports `=` and `!=`. `endpoint` represents the Endpoint + * ID, * i.e. the last segment of the Endpoint's [resource * name][google.cloud.aiplatform.v1.Endpoint.name]. - * * `display_name` supports = and, != + * * `display_name` supports `=` and `!=`. * * `labels` supports general map functions that is: * * `labels.key=value` - key:value equality - * * `labels.key:* or labels:key - key existence + * * `labels.key:*` or `labels:key` - key existence * * A key including a space must be quoted. `labels."a key"`. + * * `base_model_name` only supports `=`. * * Some examples: * * * `endpoint=1` * * `displayName="myDisplayName"` * * `labels.myKey="myValue"` + * * `baseModelName="text-bison"` * @param {number} [request.pageSize] * Optional. The standard list page size. * @param {string} [request.pageToken] @@ -3002,20 +3042,23 @@ export class EndpointServiceClient { * Optional. An expression for filtering the results of the request. For field * names both snake_case and camelCase are supported. * - * * `endpoint` supports = and !=. `endpoint` represents the Endpoint ID, + * * `endpoint` supports `=` and `!=`. `endpoint` represents the Endpoint + * ID, * i.e. the last segment of the Endpoint's [resource * name][google.cloud.aiplatform.v1.Endpoint.name]. - * * `display_name` supports = and, != + * * `display_name` supports `=` and `!=`. * * `labels` supports general map functions that is: * * `labels.key=value` - key:value equality - * * `labels.key:* or labels:key - key existence + * * `labels.key:*` or `labels:key` - key existence * * A key including a space must be quoted. `labels."a key"`. + * * `base_model_name` only supports `=`. * * Some examples: * * * `endpoint=1` * * `displayName="myDisplayName"` * * `labels.myKey="myValue"` + * * `baseModelName="text-bison"` * @param {number} [request.pageSize] * Optional. The standard list page size. * @param {string} [request.pageToken] @@ -3083,20 +3126,23 @@ export class EndpointServiceClient { * Optional. An expression for filtering the results of the request. For field * names both snake_case and camelCase are supported. * - * * `endpoint` supports = and !=. `endpoint` represents the Endpoint ID, + * * `endpoint` supports `=` and `!=`. `endpoint` represents the Endpoint + * ID, * i.e. the last segment of the Endpoint's [resource * name][google.cloud.aiplatform.v1.Endpoint.name]. - * * `display_name` supports = and, != + * * `display_name` supports `=` and `!=`. * * `labels` supports general map functions that is: * * `labels.key=value` - key:value equality - * * `labels.key:* or labels:key - key existence + * * `labels.key:*` or `labels:key` - key existence * * A key including a space must be quoted. `labels."a key"`. + * * `base_model_name` only supports `=`. * * Some examples: * * * `endpoint=1` * * `displayName="myDisplayName"` * * `labels.myKey="myValue"` + * * `baseModelName="text-bison"` * @param {number} [request.pageSize] * Optional. The standard list page size. * @param {string} [request.pageToken] diff --git a/packages/google-cloud-aiplatform/src/v1/feature_online_store_admin_service_client.ts b/packages/google-cloud-aiplatform/src/v1/feature_online_store_admin_service_client.ts index d3ce578a59c..db2cfece397 100644 --- a/packages/google-cloud-aiplatform/src/v1/feature_online_store_admin_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/feature_online_store_admin_service_client.ts @@ -426,6 +426,12 @@ export class FeatureOnlineStoreAdminServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -465,6 +471,14 @@ export class FeatureOnlineStoreAdminServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -495,6 +509,12 @@ export class FeatureOnlineStoreAdminServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -549,6 +569,9 @@ export class FeatureOnlineStoreAdminServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -652,6 +675,9 @@ export class FeatureOnlineStoreAdminServiceClient { { post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -1078,6 +1104,9 @@ export class FeatureOnlineStoreAdminServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1181,6 +1210,9 @@ export class FeatureOnlineStoreAdminServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1289,6 +1321,7 @@ export class FeatureOnlineStoreAdminServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1390,6 +1423,7 @@ export class FeatureOnlineStoreAdminServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/v1/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1508,6 +1542,9 @@ export class FeatureOnlineStoreAdminServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1/feature_registry_service_client.ts b/packages/google-cloud-aiplatform/src/v1/feature_registry_service_client.ts index d733d4ed06f..4fa4f6828cc 100644 --- a/packages/google-cloud-aiplatform/src/v1/feature_registry_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/feature_registry_service_client.ts @@ -421,6 +421,12 @@ export class FeatureRegistryServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -460,6 +466,14 @@ export class FeatureRegistryServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -490,6 +504,12 @@ export class FeatureRegistryServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -544,6 +564,9 @@ export class FeatureRegistryServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -647,6 +670,9 @@ export class FeatureRegistryServiceClient { { post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -1073,6 +1099,9 @@ export class FeatureRegistryServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1176,6 +1205,9 @@ export class FeatureRegistryServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1284,6 +1316,7 @@ export class FeatureRegistryServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1385,6 +1418,7 @@ export class FeatureRegistryServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/v1/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1503,6 +1537,9 @@ export class FeatureRegistryServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1/featurestore_service_client.ts b/packages/google-cloud-aiplatform/src/v1/featurestore_service_client.ts index b4ac539fa7e..ed08c92503b 100644 --- a/packages/google-cloud-aiplatform/src/v1/featurestore_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/featurestore_service_client.ts @@ -429,6 +429,12 @@ export class FeaturestoreServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -468,6 +474,14 @@ export class FeaturestoreServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -498,6 +512,12 @@ export class FeaturestoreServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -552,6 +572,9 @@ export class FeaturestoreServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -655,6 +678,9 @@ export class FeaturestoreServiceClient { { post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -1081,6 +1107,9 @@ export class FeaturestoreServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1184,6 +1213,9 @@ export class FeaturestoreServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1292,6 +1324,7 @@ export class FeaturestoreServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1393,6 +1426,7 @@ export class FeaturestoreServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/v1/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1511,6 +1545,9 @@ export class FeaturestoreServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1/gapic_metadata.json b/packages/google-cloud-aiplatform/src/v1/gapic_metadata.json index eabb666fa57..59ab935f6d5 100644 --- a/packages/google-cloud-aiplatform/src/v1/gapic_metadata.json +++ b/packages/google-cloud-aiplatform/src/v1/gapic_metadata.json @@ -2305,6 +2305,16 @@ "deletePipelineJob" ] }, + "BatchDeletePipelineJobs": { + "methods": [ + "batchDeletePipelineJobs" + ] + }, + "BatchCancelPipelineJobs": { + "methods": [ + "batchCancelPipelineJobs" + ] + }, "ListTrainingPipelines": { "methods": [ "listTrainingPipelines", @@ -2364,6 +2374,16 @@ "deletePipelineJob" ] }, + "BatchDeletePipelineJobs": { + "methods": [ + "batchDeletePipelineJobs" + ] + }, + "BatchCancelPipelineJobs": { + "methods": [ + "batchCancelPipelineJobs" + ] + }, "ListTrainingPipelines": { "methods": [ "listTrainingPipelines", diff --git a/packages/google-cloud-aiplatform/src/v1/index_endpoint_service_client.ts b/packages/google-cloud-aiplatform/src/v1/index_endpoint_service_client.ts index dc0c40aa8e0..23b8416f117 100644 --- a/packages/google-cloud-aiplatform/src/v1/index_endpoint_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/index_endpoint_service_client.ts @@ -411,6 +411,12 @@ export class IndexEndpointServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -450,6 +456,14 @@ export class IndexEndpointServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -480,6 +494,12 @@ export class IndexEndpointServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -534,6 +554,9 @@ export class IndexEndpointServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -637,6 +660,9 @@ export class IndexEndpointServiceClient { { post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -1063,6 +1089,9 @@ export class IndexEndpointServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1166,6 +1195,9 @@ export class IndexEndpointServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1274,6 +1306,7 @@ export class IndexEndpointServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1375,6 +1408,7 @@ export class IndexEndpointServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/v1/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1493,6 +1527,9 @@ export class IndexEndpointServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1/index_service_client.ts b/packages/google-cloud-aiplatform/src/v1/index_service_client.ts index e17d7372534..f4a60457680 100644 --- a/packages/google-cloud-aiplatform/src/v1/index_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/index_service_client.ts @@ -411,6 +411,12 @@ export class IndexServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -450,6 +456,14 @@ export class IndexServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -480,6 +494,12 @@ export class IndexServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -534,6 +554,9 @@ export class IndexServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -637,6 +660,9 @@ export class IndexServiceClient { { post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -1063,6 +1089,9 @@ export class IndexServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1166,6 +1195,9 @@ export class IndexServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1274,6 +1306,7 @@ export class IndexServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1375,6 +1408,7 @@ export class IndexServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/v1/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1493,6 +1527,9 @@ export class IndexServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1/job_service_client.ts b/packages/google-cloud-aiplatform/src/v1/job_service_client.ts index 9c897af5101..4f2fcb9893c 100644 --- a/packages/google-cloud-aiplatform/src/v1/job_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/job_service_client.ts @@ -447,6 +447,12 @@ export class JobServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -486,6 +492,14 @@ export class JobServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -516,6 +530,12 @@ export class JobServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -570,6 +590,9 @@ export class JobServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -673,6 +696,9 @@ export class JobServiceClient { { post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -1099,6 +1125,9 @@ export class JobServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1202,6 +1231,9 @@ export class JobServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1310,6 +1342,7 @@ export class JobServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1411,6 +1444,7 @@ export class JobServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/v1/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1529,6 +1563,9 @@ export class JobServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1/metadata_service_client.ts b/packages/google-cloud-aiplatform/src/v1/metadata_service_client.ts index a48b4a8ff9b..f168ac42376 100644 --- a/packages/google-cloud-aiplatform/src/v1/metadata_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/metadata_service_client.ts @@ -434,6 +434,12 @@ export class MetadataServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -473,6 +479,14 @@ export class MetadataServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -503,6 +517,12 @@ export class MetadataServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -557,6 +577,9 @@ export class MetadataServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -660,6 +683,9 @@ export class MetadataServiceClient { { post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -1086,6 +1112,9 @@ export class MetadataServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1189,6 +1218,9 @@ export class MetadataServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1297,6 +1329,7 @@ export class MetadataServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1398,6 +1431,7 @@ export class MetadataServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/v1/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1516,6 +1550,9 @@ export class MetadataServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1/migration_service_client.ts b/packages/google-cloud-aiplatform/src/v1/migration_service_client.ts index 44aab130e42..20af98273bb 100644 --- a/packages/google-cloud-aiplatform/src/v1/migration_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/migration_service_client.ts @@ -412,6 +412,12 @@ export class MigrationServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -451,6 +457,14 @@ export class MigrationServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -481,6 +495,12 @@ export class MigrationServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -535,6 +555,9 @@ export class MigrationServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -638,6 +661,9 @@ export class MigrationServiceClient { { post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -1064,6 +1090,9 @@ export class MigrationServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1167,6 +1196,9 @@ export class MigrationServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1275,6 +1307,7 @@ export class MigrationServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1376,6 +1409,7 @@ export class MigrationServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/v1/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1494,6 +1528,9 @@ export class MigrationServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1/model_service_client.ts b/packages/google-cloud-aiplatform/src/v1/model_service_client.ts index 0a3f80eacfd..185bf35a1cf 100644 --- a/packages/google-cloud-aiplatform/src/v1/model_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/model_service_client.ts @@ -426,6 +426,12 @@ export class ModelServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -465,6 +471,14 @@ export class ModelServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -495,6 +509,12 @@ export class ModelServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -549,6 +569,9 @@ export class ModelServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -652,6 +675,9 @@ export class ModelServiceClient { { post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -1078,6 +1104,9 @@ export class ModelServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1181,6 +1210,9 @@ export class ModelServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1289,6 +1321,7 @@ export class ModelServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1390,6 +1423,7 @@ export class ModelServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/v1/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1508,6 +1542,9 @@ export class ModelServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, @@ -3677,12 +3714,14 @@ export class ModelServiceClient { * * `labels.key=value` - key:value equality * * `labels.key:* or labels:key - key existence * * A key including a space must be quoted. `labels."a key"`. + * * `base_model_name` only supports = * * Some examples: * * * `model=1234` * * `displayName="myDisplayName"` * * `labels.myKey="myValue"` + * * `baseModelName="text-bison"` * @param {number} request.pageSize * The standard list page size. * @param {string} request.pageToken @@ -3804,12 +3843,14 @@ export class ModelServiceClient { * * `labels.key=value` - key:value equality * * `labels.key:* or labels:key - key existence * * A key including a space must be quoted. `labels."a key"`. + * * `base_model_name` only supports = * * Some examples: * * * `model=1234` * * `displayName="myDisplayName"` * * `labels.myKey="myValue"` + * * `baseModelName="text-bison"` * @param {number} request.pageSize * The standard list page size. * @param {string} request.pageToken @@ -3885,12 +3926,14 @@ export class ModelServiceClient { * * `labels.key=value` - key:value equality * * `labels.key:* or labels:key - key existence * * A key including a space must be quoted. `labels."a key"`. + * * `base_model_name` only supports = * * Some examples: * * * `model=1234` * * `displayName="myDisplayName"` * * `labels.myKey="myValue"` + * * `baseModelName="text-bison"` * @param {number} request.pageSize * The standard list page size. * @param {string} request.pageToken diff --git a/packages/google-cloud-aiplatform/src/v1/pipeline_service_client.ts b/packages/google-cloud-aiplatform/src/v1/pipeline_service_client.ts index 0f0a8cda25e..fed58a03e97 100644 --- a/packages/google-cloud-aiplatform/src/v1/pipeline_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/pipeline_service_client.ts @@ -300,6 +300,9 @@ export class PipelineServiceClient { pipelineJobPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}' ), + projectPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}' + ), projectLocationEndpointPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/endpoints/{endpoint}' ), @@ -418,6 +421,12 @@ export class PipelineServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -457,6 +466,14 @@ export class PipelineServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -487,6 +504,12 @@ export class PipelineServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -541,6 +564,9 @@ export class PipelineServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -644,6 +670,9 @@ export class PipelineServiceClient { { post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -1070,6 +1099,9 @@ export class PipelineServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1173,6 +1205,9 @@ export class PipelineServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1281,6 +1316,7 @@ export class PipelineServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1382,6 +1418,7 @@ export class PipelineServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/v1/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1500,6 +1537,9 @@ export class PipelineServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, @@ -1706,6 +1746,18 @@ export class PipelineServiceClient { const deletePipelineJobMetadata = protoFilesRoot.lookup( '.google.cloud.aiplatform.v1.DeleteOperationMetadata' ) as gax.protobuf.Type; + const batchDeletePipelineJobsResponse = protoFilesRoot.lookup( + '.google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse' + ) as gax.protobuf.Type; + const batchDeletePipelineJobsMetadata = protoFilesRoot.lookup( + '.google.cloud.aiplatform.v1.DeleteOperationMetadata' + ) as gax.protobuf.Type; + const batchCancelPipelineJobsResponse = protoFilesRoot.lookup( + '.google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse' + ) as gax.protobuf.Type; + const batchCancelPipelineJobsMetadata = protoFilesRoot.lookup( + '.google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata' + ) as gax.protobuf.Type; this.descriptors.longrunning = { deleteTrainingPipeline: new this._gaxModule.LongrunningDescriptor( @@ -1722,6 +1774,24 @@ export class PipelineServiceClient { deletePipelineJobResponse.decode.bind(deletePipelineJobResponse), deletePipelineJobMetadata.decode.bind(deletePipelineJobMetadata) ), + batchDeletePipelineJobs: new this._gaxModule.LongrunningDescriptor( + this.operationsClient, + batchDeletePipelineJobsResponse.decode.bind( + batchDeletePipelineJobsResponse + ), + batchDeletePipelineJobsMetadata.decode.bind( + batchDeletePipelineJobsMetadata + ) + ), + batchCancelPipelineJobs: new this._gaxModule.LongrunningDescriptor( + this.operationsClient, + batchCancelPipelineJobsResponse.decode.bind( + batchCancelPipelineJobsResponse + ), + batchCancelPipelineJobsMetadata.decode.bind( + batchCancelPipelineJobsMetadata + ) + ), }; // Put together the default options sent with requests. @@ -1783,7 +1853,9 @@ export class PipelineServiceClient { 'getPipelineJob', 'listPipelineJobs', 'deletePipelineJob', + 'batchDeletePipelineJobs', 'cancelPipelineJob', + 'batchCancelPipelineJobs', ]; for (const methodName of pipelineServiceStubMethods) { const callPromise = this.pipelineServiceStub.then( @@ -2789,6 +2861,306 @@ export class PipelineServiceClient { protos.google.cloud.aiplatform.v1.DeleteOperationMetadata >; } + /** + * Batch deletes PipelineJobs + * The Operation is atomic. If it fails, none of the PipelineJobs are deleted. + * If it succeeds, all of the PipelineJobs are deleted. + * + * @param {Object} request + * The request object that will be sent. + * @param {string} request.parent + * Required. The name of the PipelineJobs' parent resource. + * Format: `projects/{project}/locations/{location}` + * @param {string[]} request.names + * Required. The names of the PipelineJobs to delete. + * A maximum of 32 PipelineJobs can be deleted in a batch. + * Format: + * `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}` + * @param {object} [options] + * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. + * @returns {Promise} - The promise which resolves to an array. + * The first element of the array is an object representing + * a long running operation. Its `promise()` method returns a promise + * you can `await` for. + * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } + * for more details and examples. + * @example include:samples/generated/v1/pipeline_service.batch_delete_pipeline_jobs.js + * region_tag:aiplatform_v1_generated_PipelineService_BatchDeletePipelineJobs_async + */ + batchDeletePipelineJobs( + request?: protos.google.cloud.aiplatform.v1.IBatchDeletePipelineJobsRequest, + options?: CallOptions + ): Promise< + [ + LROperation< + protos.google.cloud.aiplatform.v1.IBatchDeletePipelineJobsResponse, + protos.google.cloud.aiplatform.v1.IDeleteOperationMetadata + >, + protos.google.longrunning.IOperation | undefined, + {} | undefined, + ] + >; + batchDeletePipelineJobs( + request: protos.google.cloud.aiplatform.v1.IBatchDeletePipelineJobsRequest, + options: CallOptions, + callback: Callback< + LROperation< + protos.google.cloud.aiplatform.v1.IBatchDeletePipelineJobsResponse, + protos.google.cloud.aiplatform.v1.IDeleteOperationMetadata + >, + protos.google.longrunning.IOperation | null | undefined, + {} | null | undefined + > + ): void; + batchDeletePipelineJobs( + request: protos.google.cloud.aiplatform.v1.IBatchDeletePipelineJobsRequest, + callback: Callback< + LROperation< + protos.google.cloud.aiplatform.v1.IBatchDeletePipelineJobsResponse, + protos.google.cloud.aiplatform.v1.IDeleteOperationMetadata + >, + protos.google.longrunning.IOperation | null | undefined, + {} | null | undefined + > + ): void; + batchDeletePipelineJobs( + request?: protos.google.cloud.aiplatform.v1.IBatchDeletePipelineJobsRequest, + optionsOrCallback?: + | CallOptions + | Callback< + LROperation< + protos.google.cloud.aiplatform.v1.IBatchDeletePipelineJobsResponse, + protos.google.cloud.aiplatform.v1.IDeleteOperationMetadata + >, + protos.google.longrunning.IOperation | null | undefined, + {} | null | undefined + >, + callback?: Callback< + LROperation< + protos.google.cloud.aiplatform.v1.IBatchDeletePipelineJobsResponse, + protos.google.cloud.aiplatform.v1.IDeleteOperationMetadata + >, + protos.google.longrunning.IOperation | null | undefined, + {} | null | undefined + > + ): Promise< + [ + LROperation< + protos.google.cloud.aiplatform.v1.IBatchDeletePipelineJobsResponse, + protos.google.cloud.aiplatform.v1.IDeleteOperationMetadata + >, + protos.google.longrunning.IOperation | undefined, + {} | undefined, + ] + > | void { + request = request || {}; + let options: CallOptions; + if (typeof optionsOrCallback === 'function' && callback === undefined) { + callback = optionsOrCallback; + options = {}; + } else { + options = optionsOrCallback as CallOptions; + } + options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers['x-goog-request-params'] = + this._gaxModule.routingHeader.fromParams({ + parent: request.parent ?? '', + }); + this.initialize(); + return this.innerApiCalls.batchDeletePipelineJobs( + request, + options, + callback + ); + } + /** + * Check the status of the long running operation returned by `batchDeletePipelineJobs()`. + * @param {String} name + * The operation name that will be passed. + * @returns {Promise} - The promise which resolves to an object. + * The decoded operation object has result and metadata field to get information from. + * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } + * for more details and examples. + * @example include:samples/generated/v1/pipeline_service.batch_delete_pipeline_jobs.js + * region_tag:aiplatform_v1_generated_PipelineService_BatchDeletePipelineJobs_async + */ + async checkBatchDeletePipelineJobsProgress( + name: string + ): Promise< + LROperation< + protos.google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse, + protos.google.cloud.aiplatform.v1.DeleteOperationMetadata + > + > { + const request = + new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest( + {name} + ); + const [operation] = await this.operationsClient.getOperation(request); + const decodeOperation = new this._gaxModule.Operation( + operation, + this.descriptors.longrunning.batchDeletePipelineJobs, + this._gaxModule.createDefaultBackoffSettings() + ); + return decodeOperation as LROperation< + protos.google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse, + protos.google.cloud.aiplatform.v1.DeleteOperationMetadata + >; + } + /** + * Batch cancel PipelineJobs. + * Firstly the server will check if all the jobs are in non-terminal states, + * and skip the jobs that are already terminated. + * If the operation failed, none of the pipeline jobs are cancelled. + * The server will poll the states of all the pipeline jobs periodically + * to check the cancellation status. + * This operation will return an LRO. + * + * @param {Object} request + * The request object that will be sent. + * @param {string} request.parent + * Required. The name of the PipelineJobs' parent resource. + * Format: `projects/{project}/locations/{location}` + * @param {string[]} request.names + * Required. The names of the PipelineJobs to cancel. + * A maximum of 32 PipelineJobs can be cancelled in a batch. + * Format: + * `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}` + * @param {object} [options] + * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. + * @returns {Promise} - The promise which resolves to an array. + * The first element of the array is an object representing + * a long running operation. Its `promise()` method returns a promise + * you can `await` for. + * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } + * for more details and examples. + * @example include:samples/generated/v1/pipeline_service.batch_cancel_pipeline_jobs.js + * region_tag:aiplatform_v1_generated_PipelineService_BatchCancelPipelineJobs_async + */ + batchCancelPipelineJobs( + request?: protos.google.cloud.aiplatform.v1.IBatchCancelPipelineJobsRequest, + options?: CallOptions + ): Promise< + [ + LROperation< + protos.google.cloud.aiplatform.v1.IBatchCancelPipelineJobsResponse, + protos.google.cloud.aiplatform.v1.IBatchCancelPipelineJobsOperationMetadata + >, + protos.google.longrunning.IOperation | undefined, + {} | undefined, + ] + >; + batchCancelPipelineJobs( + request: protos.google.cloud.aiplatform.v1.IBatchCancelPipelineJobsRequest, + options: CallOptions, + callback: Callback< + LROperation< + protos.google.cloud.aiplatform.v1.IBatchCancelPipelineJobsResponse, + protos.google.cloud.aiplatform.v1.IBatchCancelPipelineJobsOperationMetadata + >, + protos.google.longrunning.IOperation | null | undefined, + {} | null | undefined + > + ): void; + batchCancelPipelineJobs( + request: protos.google.cloud.aiplatform.v1.IBatchCancelPipelineJobsRequest, + callback: Callback< + LROperation< + protos.google.cloud.aiplatform.v1.IBatchCancelPipelineJobsResponse, + protos.google.cloud.aiplatform.v1.IBatchCancelPipelineJobsOperationMetadata + >, + protos.google.longrunning.IOperation | null | undefined, + {} | null | undefined + > + ): void; + batchCancelPipelineJobs( + request?: protos.google.cloud.aiplatform.v1.IBatchCancelPipelineJobsRequest, + optionsOrCallback?: + | CallOptions + | Callback< + LROperation< + protos.google.cloud.aiplatform.v1.IBatchCancelPipelineJobsResponse, + protos.google.cloud.aiplatform.v1.IBatchCancelPipelineJobsOperationMetadata + >, + protos.google.longrunning.IOperation | null | undefined, + {} | null | undefined + >, + callback?: Callback< + LROperation< + protos.google.cloud.aiplatform.v1.IBatchCancelPipelineJobsResponse, + protos.google.cloud.aiplatform.v1.IBatchCancelPipelineJobsOperationMetadata + >, + protos.google.longrunning.IOperation | null | undefined, + {} | null | undefined + > + ): Promise< + [ + LROperation< + protos.google.cloud.aiplatform.v1.IBatchCancelPipelineJobsResponse, + protos.google.cloud.aiplatform.v1.IBatchCancelPipelineJobsOperationMetadata + >, + protos.google.longrunning.IOperation | undefined, + {} | undefined, + ] + > | void { + request = request || {}; + let options: CallOptions; + if (typeof optionsOrCallback === 'function' && callback === undefined) { + callback = optionsOrCallback; + options = {}; + } else { + options = optionsOrCallback as CallOptions; + } + options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers['x-goog-request-params'] = + this._gaxModule.routingHeader.fromParams({ + parent: request.parent ?? '', + }); + this.initialize(); + return this.innerApiCalls.batchCancelPipelineJobs( + request, + options, + callback + ); + } + /** + * Check the status of the long running operation returned by `batchCancelPipelineJobs()`. + * @param {String} name + * The operation name that will be passed. + * @returns {Promise} - The promise which resolves to an object. + * The decoded operation object has result and metadata field to get information from. + * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } + * for more details and examples. + * @example include:samples/generated/v1/pipeline_service.batch_cancel_pipeline_jobs.js + * region_tag:aiplatform_v1_generated_PipelineService_BatchCancelPipelineJobs_async + */ + async checkBatchCancelPipelineJobsProgress( + name: string + ): Promise< + LROperation< + protos.google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse, + protos.google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata + > + > { + const request = + new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest( + {name} + ); + const [operation] = await this.operationsClient.getOperation(request); + const decodeOperation = new this._gaxModule.Operation( + operation, + this.descriptors.longrunning.batchCancelPipelineJobs, + this._gaxModule.createDefaultBackoffSettings() + ); + return decodeOperation as LROperation< + protos.google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse, + protos.google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata + >; + } /** * Lists TrainingPipelines in a Location. * @@ -5780,6 +6152,29 @@ export class PipelineServiceClient { .pipeline_job; } + /** + * Return a fully-qualified project resource name string. + * + * @param {string} project + * @returns {string} Resource name string. + */ + projectPath(project: string) { + return this.pathTemplates.projectPathTemplate.render({ + project: project, + }); + } + + /** + * Parse the project from Project resource. + * + * @param {string} projectName + * A fully-qualified path representing Project resource. + * @returns {string} A string representing the project. + */ + matchProjectFromProjectName(projectName: string) { + return this.pathTemplates.projectPathTemplate.match(projectName).project; + } + /** * Return a fully-qualified projectLocationEndpoint resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/pipeline_service_client_config.json b/packages/google-cloud-aiplatform/src/v1/pipeline_service_client_config.json index 0c4df9123a2..1d8ded44382 100644 --- a/packages/google-cloud-aiplatform/src/v1/pipeline_service_client_config.json +++ b/packages/google-cloud-aiplatform/src/v1/pipeline_service_client_config.json @@ -56,9 +56,17 @@ "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, + "BatchDeletePipelineJobs": { + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, "CancelPipelineJob": { "retry_codes_name": "non_idempotent", "retry_params_name": "default" + }, + "BatchCancelPipelineJobs": { + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" } } } diff --git a/packages/google-cloud-aiplatform/src/v1/schedule_service_client.ts b/packages/google-cloud-aiplatform/src/v1/schedule_service_client.ts index 81b433b29fe..34985af7a6a 100644 --- a/packages/google-cloud-aiplatform/src/v1/schedule_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/schedule_service_client.ts @@ -412,6 +412,12 @@ export class ScheduleServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -451,6 +457,14 @@ export class ScheduleServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -481,6 +495,12 @@ export class ScheduleServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -535,6 +555,9 @@ export class ScheduleServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -638,6 +661,9 @@ export class ScheduleServiceClient { { post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -1064,6 +1090,9 @@ export class ScheduleServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1167,6 +1196,9 @@ export class ScheduleServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1275,6 +1307,7 @@ export class ScheduleServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1376,6 +1409,7 @@ export class ScheduleServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/v1/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1494,6 +1528,9 @@ export class ScheduleServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1/specialist_pool_service_client.ts b/packages/google-cloud-aiplatform/src/v1/specialist_pool_service_client.ts index 7b63fdda12a..0723c57b565 100644 --- a/packages/google-cloud-aiplatform/src/v1/specialist_pool_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/specialist_pool_service_client.ts @@ -417,6 +417,12 @@ export class SpecialistPoolServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -456,6 +462,14 @@ export class SpecialistPoolServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -486,6 +500,12 @@ export class SpecialistPoolServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -540,6 +560,9 @@ export class SpecialistPoolServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -643,6 +666,9 @@ export class SpecialistPoolServiceClient { { post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -1069,6 +1095,9 @@ export class SpecialistPoolServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1172,6 +1201,9 @@ export class SpecialistPoolServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1280,6 +1312,7 @@ export class SpecialistPoolServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1381,6 +1414,7 @@ export class SpecialistPoolServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/v1/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1499,6 +1533,9 @@ export class SpecialistPoolServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1/tensorboard_service_client.ts b/packages/google-cloud-aiplatform/src/v1/tensorboard_service_client.ts index 8aff98bf17f..b1da5f2d319 100644 --- a/packages/google-cloud-aiplatform/src/v1/tensorboard_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/tensorboard_service_client.ts @@ -444,6 +444,12 @@ export class TensorboardServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -483,6 +489,14 @@ export class TensorboardServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -513,6 +527,12 @@ export class TensorboardServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -567,6 +587,9 @@ export class TensorboardServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -670,6 +693,9 @@ export class TensorboardServiceClient { { post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -1096,6 +1122,9 @@ export class TensorboardServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1199,6 +1228,9 @@ export class TensorboardServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1307,6 +1339,7 @@ export class TensorboardServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1408,6 +1441,7 @@ export class TensorboardServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/v1/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1526,6 +1560,9 @@ export class TensorboardServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1/vizier_service_client.ts b/packages/google-cloud-aiplatform/src/v1/vizier_service_client.ts index c8093b205b7..a2c9ad05d71 100644 --- a/packages/google-cloud-aiplatform/src/v1/vizier_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/vizier_service_client.ts @@ -420,6 +420,12 @@ export class VizierServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -459,6 +465,14 @@ export class VizierServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -489,6 +503,12 @@ export class VizierServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -543,6 +563,9 @@ export class VizierServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -646,6 +669,9 @@ export class VizierServiceClient { { post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -1072,6 +1098,9 @@ export class VizierServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1175,6 +1204,9 @@ export class VizierServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1283,6 +1315,7 @@ export class VizierServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1384,6 +1417,7 @@ export class VizierServiceClient { { get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/v1/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/v1/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1502,6 +1536,9 @@ export class VizierServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1beta1/dataset_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/dataset_service_client.ts index a990e88bb25..5d7cc96b545 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/dataset_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/dataset_service_client.ts @@ -430,6 +430,12 @@ export class DatasetServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy', }, @@ -448,6 +454,12 @@ export class DatasetServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -471,6 +483,14 @@ export class DatasetServiceClient { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy', body: '*', @@ -491,6 +511,14 @@ export class DatasetServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -510,6 +538,12 @@ export class DatasetServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions', }, @@ -525,6 +559,12 @@ export class DatasetServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -579,6 +619,9 @@ export class DatasetServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -735,6 +778,12 @@ export class DatasetServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel', + }, { post: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}:cancel', }, @@ -1060,6 +1109,14 @@ export class DatasetServiceClient { delete: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', @@ -1177,6 +1234,9 @@ export class DatasetServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1338,6 +1398,12 @@ export class DatasetServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', }, @@ -1430,6 +1496,7 @@ export class DatasetServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1589,6 +1656,12 @@ export class DatasetServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*}/operations', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*}/operations', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}/operations', }, @@ -1637,6 +1710,7 @@ export class DatasetServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, ], }, { @@ -1691,6 +1765,9 @@ export class DatasetServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, @@ -1860,6 +1937,12 @@ export class DatasetServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait', + }, { post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1beta1/deployment_resource_pool_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/deployment_resource_pool_service_client.ts index 6cf950da952..02f579c4f76 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/deployment_resource_pool_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/deployment_resource_pool_service_client.ts @@ -414,6 +414,12 @@ export class DeploymentResourcePoolServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy', }, @@ -432,6 +438,12 @@ export class DeploymentResourcePoolServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -455,6 +467,14 @@ export class DeploymentResourcePoolServiceClient { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy', body: '*', @@ -475,6 +495,14 @@ export class DeploymentResourcePoolServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -494,6 +522,12 @@ export class DeploymentResourcePoolServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions', }, @@ -509,6 +543,12 @@ export class DeploymentResourcePoolServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -563,6 +603,9 @@ export class DeploymentResourcePoolServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -719,6 +762,12 @@ export class DeploymentResourcePoolServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel', + }, { post: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}:cancel', }, @@ -1044,6 +1093,14 @@ export class DeploymentResourcePoolServiceClient { delete: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', @@ -1161,6 +1218,9 @@ export class DeploymentResourcePoolServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1322,6 +1382,12 @@ export class DeploymentResourcePoolServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', }, @@ -1414,6 +1480,7 @@ export class DeploymentResourcePoolServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1573,6 +1640,12 @@ export class DeploymentResourcePoolServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*}/operations', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*}/operations', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}/operations', }, @@ -1621,6 +1694,7 @@ export class DeploymentResourcePoolServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, ], }, { @@ -1675,6 +1749,9 @@ export class DeploymentResourcePoolServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, @@ -1844,6 +1921,12 @@ export class DeploymentResourcePoolServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait', + }, { post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1beta1/endpoint_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/endpoint_service_client.ts index bb0869d31b4..cdcd59cb985 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/endpoint_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/endpoint_service_client.ts @@ -405,6 +405,12 @@ export class EndpointServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy', }, @@ -423,6 +429,12 @@ export class EndpointServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -446,6 +458,14 @@ export class EndpointServiceClient { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy', body: '*', @@ -466,6 +486,14 @@ export class EndpointServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -485,6 +513,12 @@ export class EndpointServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions', }, @@ -500,6 +534,12 @@ export class EndpointServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -554,6 +594,9 @@ export class EndpointServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -710,6 +753,12 @@ export class EndpointServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel', + }, { post: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}:cancel', }, @@ -1035,6 +1084,14 @@ export class EndpointServiceClient { delete: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', @@ -1152,6 +1209,9 @@ export class EndpointServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1313,6 +1373,12 @@ export class EndpointServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', }, @@ -1405,6 +1471,7 @@ export class EndpointServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1564,6 +1631,12 @@ export class EndpointServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*}/operations', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*}/operations', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}/operations', }, @@ -1612,6 +1685,7 @@ export class EndpointServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, ], }, { @@ -1666,6 +1740,9 @@ export class EndpointServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, @@ -1835,6 +1912,12 @@ export class EndpointServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait', + }, { post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait', }, @@ -3083,12 +3166,14 @@ export class EndpointServiceClient { * * `labels.key=value` - key:value equality * * `labels.key:* or labels:key - key existence * * A key including a space must be quoted. `labels."a key"`. + * * `base_model_name` only supports = * * Some examples: * * * `endpoint=1` * * `displayName="myDisplayName"` * * `labels.myKey="myValue"` + * * `baseModelName="text-bison"` * @param {number} [request.pageSize] * Optional. The standard list page size. * @param {string} [request.pageToken] @@ -3206,12 +3291,14 @@ export class EndpointServiceClient { * * `labels.key=value` - key:value equality * * `labels.key:* or labels:key - key existence * * A key including a space must be quoted. `labels."a key"`. + * * `base_model_name` only supports = * * Some examples: * * * `endpoint=1` * * `displayName="myDisplayName"` * * `labels.myKey="myValue"` + * * `baseModelName="text-bison"` * @param {number} [request.pageSize] * Optional. The standard list page size. * @param {string} [request.pageToken] @@ -3277,12 +3364,14 @@ export class EndpointServiceClient { * * `labels.key=value` - key:value equality * * `labels.key:* or labels:key - key existence * * A key including a space must be quoted. `labels."a key"`. + * * `base_model_name` only supports = * * Some examples: * * * `endpoint=1` * * `displayName="myDisplayName"` * * `labels.myKey="myValue"` + * * `baseModelName="text-bison"` * @param {number} [request.pageSize] * Optional. The standard list page size. * @param {string} [request.pageToken] diff --git a/packages/google-cloud-aiplatform/src/v1beta1/feature_online_store_admin_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/feature_online_store_admin_service_client.ts index d3fa15c3b6e..07252bc97e3 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/feature_online_store_admin_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/feature_online_store_admin_service_client.ts @@ -420,6 +420,12 @@ export class FeatureOnlineStoreAdminServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy', }, @@ -438,6 +444,12 @@ export class FeatureOnlineStoreAdminServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -461,6 +473,14 @@ export class FeatureOnlineStoreAdminServiceClient { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy', body: '*', @@ -481,6 +501,14 @@ export class FeatureOnlineStoreAdminServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -500,6 +528,12 @@ export class FeatureOnlineStoreAdminServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions', }, @@ -515,6 +549,12 @@ export class FeatureOnlineStoreAdminServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -569,6 +609,9 @@ export class FeatureOnlineStoreAdminServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -725,6 +768,12 @@ export class FeatureOnlineStoreAdminServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel', + }, { post: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}:cancel', }, @@ -1050,6 +1099,14 @@ export class FeatureOnlineStoreAdminServiceClient { delete: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', @@ -1167,6 +1224,9 @@ export class FeatureOnlineStoreAdminServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1328,6 +1388,12 @@ export class FeatureOnlineStoreAdminServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', }, @@ -1420,6 +1486,7 @@ export class FeatureOnlineStoreAdminServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1579,6 +1646,12 @@ export class FeatureOnlineStoreAdminServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*}/operations', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*}/operations', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}/operations', }, @@ -1627,6 +1700,7 @@ export class FeatureOnlineStoreAdminServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, ], }, { @@ -1681,6 +1755,9 @@ export class FeatureOnlineStoreAdminServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, @@ -1850,6 +1927,12 @@ export class FeatureOnlineStoreAdminServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait', + }, { post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1beta1/feature_registry_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/feature_registry_service_client.ts index 03f2dc46e50..57f566d4593 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/feature_registry_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/feature_registry_service_client.ts @@ -415,6 +415,12 @@ export class FeatureRegistryServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy', }, @@ -433,6 +439,12 @@ export class FeatureRegistryServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -456,6 +468,14 @@ export class FeatureRegistryServiceClient { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy', body: '*', @@ -476,6 +496,14 @@ export class FeatureRegistryServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -495,6 +523,12 @@ export class FeatureRegistryServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions', }, @@ -510,6 +544,12 @@ export class FeatureRegistryServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -564,6 +604,9 @@ export class FeatureRegistryServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -720,6 +763,12 @@ export class FeatureRegistryServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel', + }, { post: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}:cancel', }, @@ -1045,6 +1094,14 @@ export class FeatureRegistryServiceClient { delete: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', @@ -1162,6 +1219,9 @@ export class FeatureRegistryServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1323,6 +1383,12 @@ export class FeatureRegistryServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', }, @@ -1415,6 +1481,7 @@ export class FeatureRegistryServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1574,6 +1641,12 @@ export class FeatureRegistryServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*}/operations', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*}/operations', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}/operations', }, @@ -1622,6 +1695,7 @@ export class FeatureRegistryServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, ], }, { @@ -1676,6 +1750,9 @@ export class FeatureRegistryServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, @@ -1845,6 +1922,12 @@ export class FeatureRegistryServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait', + }, { post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1beta1/featurestore_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/featurestore_service_client.ts index c9b05767e50..2f8b7b43359 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/featurestore_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/featurestore_service_client.ts @@ -423,6 +423,12 @@ export class FeaturestoreServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy', }, @@ -441,6 +447,12 @@ export class FeaturestoreServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -464,6 +476,14 @@ export class FeaturestoreServiceClient { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy', body: '*', @@ -484,6 +504,14 @@ export class FeaturestoreServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -503,6 +531,12 @@ export class FeaturestoreServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions', }, @@ -518,6 +552,12 @@ export class FeaturestoreServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -572,6 +612,9 @@ export class FeaturestoreServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -728,6 +771,12 @@ export class FeaturestoreServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel', + }, { post: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}:cancel', }, @@ -1053,6 +1102,14 @@ export class FeaturestoreServiceClient { delete: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', @@ -1170,6 +1227,9 @@ export class FeaturestoreServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1331,6 +1391,12 @@ export class FeaturestoreServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', }, @@ -1423,6 +1489,7 @@ export class FeaturestoreServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1582,6 +1649,12 @@ export class FeaturestoreServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*}/operations', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*}/operations', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}/operations', }, @@ -1630,6 +1703,7 @@ export class FeaturestoreServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, ], }, { @@ -1684,6 +1758,9 @@ export class FeaturestoreServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, @@ -1853,6 +1930,12 @@ export class FeaturestoreServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait', + }, { post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1beta1/index_endpoint_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/index_endpoint_service_client.ts index e420641dde4..2e15eda4156 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/index_endpoint_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/index_endpoint_service_client.ts @@ -405,6 +405,12 @@ export class IndexEndpointServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy', }, @@ -423,6 +429,12 @@ export class IndexEndpointServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -446,6 +458,14 @@ export class IndexEndpointServiceClient { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy', body: '*', @@ -466,6 +486,14 @@ export class IndexEndpointServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -485,6 +513,12 @@ export class IndexEndpointServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions', }, @@ -500,6 +534,12 @@ export class IndexEndpointServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -554,6 +594,9 @@ export class IndexEndpointServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -710,6 +753,12 @@ export class IndexEndpointServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel', + }, { post: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}:cancel', }, @@ -1035,6 +1084,14 @@ export class IndexEndpointServiceClient { delete: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', @@ -1152,6 +1209,9 @@ export class IndexEndpointServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1313,6 +1373,12 @@ export class IndexEndpointServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', }, @@ -1405,6 +1471,7 @@ export class IndexEndpointServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1564,6 +1631,12 @@ export class IndexEndpointServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*}/operations', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*}/operations', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}/operations', }, @@ -1612,6 +1685,7 @@ export class IndexEndpointServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, ], }, { @@ -1666,6 +1740,9 @@ export class IndexEndpointServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, @@ -1835,6 +1912,12 @@ export class IndexEndpointServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait', + }, { post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1beta1/index_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/index_service_client.ts index 9c109c3f6fc..673360a8240 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/index_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/index_service_client.ts @@ -405,6 +405,12 @@ export class IndexServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy', }, @@ -423,6 +429,12 @@ export class IndexServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -446,6 +458,14 @@ export class IndexServiceClient { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy', body: '*', @@ -466,6 +486,14 @@ export class IndexServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -485,6 +513,12 @@ export class IndexServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions', }, @@ -500,6 +534,12 @@ export class IndexServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -554,6 +594,9 @@ export class IndexServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -710,6 +753,12 @@ export class IndexServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel', + }, { post: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}:cancel', }, @@ -1035,6 +1084,14 @@ export class IndexServiceClient { delete: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', @@ -1152,6 +1209,9 @@ export class IndexServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1313,6 +1373,12 @@ export class IndexServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', }, @@ -1405,6 +1471,7 @@ export class IndexServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1564,6 +1631,12 @@ export class IndexServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*}/operations', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*}/operations', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}/operations', }, @@ -1612,6 +1685,7 @@ export class IndexServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, ], }, { @@ -1666,6 +1740,9 @@ export class IndexServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, @@ -1835,6 +1912,12 @@ export class IndexServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait', + }, { post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1beta1/job_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/job_service_client.ts index 9dc933be597..28d9a07834e 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/job_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/job_service_client.ts @@ -441,6 +441,12 @@ export class JobServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy', }, @@ -459,6 +465,12 @@ export class JobServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -482,6 +494,14 @@ export class JobServiceClient { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy', body: '*', @@ -502,6 +522,14 @@ export class JobServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -521,6 +549,12 @@ export class JobServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions', }, @@ -536,6 +570,12 @@ export class JobServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -590,6 +630,9 @@ export class JobServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -746,6 +789,12 @@ export class JobServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel', + }, { post: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}:cancel', }, @@ -1071,6 +1120,14 @@ export class JobServiceClient { delete: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', @@ -1188,6 +1245,9 @@ export class JobServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1349,6 +1409,12 @@ export class JobServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', }, @@ -1441,6 +1507,7 @@ export class JobServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1600,6 +1667,12 @@ export class JobServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*}/operations', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*}/operations', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}/operations', }, @@ -1648,6 +1721,7 @@ export class JobServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, ], }, { @@ -1702,6 +1776,9 @@ export class JobServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, @@ -1871,6 +1948,12 @@ export class JobServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait', + }, { post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1beta1/metadata_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/metadata_service_client.ts index bce658af725..8d546934916 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/metadata_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/metadata_service_client.ts @@ -428,6 +428,12 @@ export class MetadataServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy', }, @@ -446,6 +452,12 @@ export class MetadataServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -469,6 +481,14 @@ export class MetadataServiceClient { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy', body: '*', @@ -489,6 +509,14 @@ export class MetadataServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -508,6 +536,12 @@ export class MetadataServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions', }, @@ -523,6 +557,12 @@ export class MetadataServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -577,6 +617,9 @@ export class MetadataServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -733,6 +776,12 @@ export class MetadataServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel', + }, { post: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}:cancel', }, @@ -1058,6 +1107,14 @@ export class MetadataServiceClient { delete: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', @@ -1175,6 +1232,9 @@ export class MetadataServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1336,6 +1396,12 @@ export class MetadataServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', }, @@ -1428,6 +1494,7 @@ export class MetadataServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1587,6 +1654,12 @@ export class MetadataServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*}/operations', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*}/operations', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}/operations', }, @@ -1635,6 +1708,7 @@ export class MetadataServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, ], }, { @@ -1689,6 +1763,9 @@ export class MetadataServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, @@ -1858,6 +1935,12 @@ export class MetadataServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait', + }, { post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1beta1/migration_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/migration_service_client.ts index d3b0c813ca6..770fc915c6c 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/migration_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/migration_service_client.ts @@ -406,6 +406,12 @@ export class MigrationServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy', }, @@ -424,6 +430,12 @@ export class MigrationServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -447,6 +459,14 @@ export class MigrationServiceClient { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy', body: '*', @@ -467,6 +487,14 @@ export class MigrationServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -486,6 +514,12 @@ export class MigrationServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions', }, @@ -501,6 +535,12 @@ export class MigrationServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -555,6 +595,9 @@ export class MigrationServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -711,6 +754,12 @@ export class MigrationServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel', + }, { post: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}:cancel', }, @@ -1036,6 +1085,14 @@ export class MigrationServiceClient { delete: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', @@ -1153,6 +1210,9 @@ export class MigrationServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1314,6 +1374,12 @@ export class MigrationServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', }, @@ -1406,6 +1472,7 @@ export class MigrationServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1565,6 +1632,12 @@ export class MigrationServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*}/operations', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*}/operations', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}/operations', }, @@ -1613,6 +1686,7 @@ export class MigrationServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, ], }, { @@ -1667,6 +1741,9 @@ export class MigrationServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, @@ -1836,6 +1913,12 @@ export class MigrationServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait', + }, { post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1beta1/model_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/model_service_client.ts index fdb9e91f135..d18c38d86ac 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/model_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/model_service_client.ts @@ -420,6 +420,12 @@ export class ModelServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy', }, @@ -438,6 +444,12 @@ export class ModelServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -461,6 +473,14 @@ export class ModelServiceClient { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy', body: '*', @@ -481,6 +501,14 @@ export class ModelServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -500,6 +528,12 @@ export class ModelServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions', }, @@ -515,6 +549,12 @@ export class ModelServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -569,6 +609,9 @@ export class ModelServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -725,6 +768,12 @@ export class ModelServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel', + }, { post: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}:cancel', }, @@ -1050,6 +1099,14 @@ export class ModelServiceClient { delete: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', @@ -1167,6 +1224,9 @@ export class ModelServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1328,6 +1388,12 @@ export class ModelServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', }, @@ -1420,6 +1486,7 @@ export class ModelServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1579,6 +1646,12 @@ export class ModelServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*}/operations', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*}/operations', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}/operations', }, @@ -1627,6 +1700,7 @@ export class ModelServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, ], }, { @@ -1681,6 +1755,9 @@ export class ModelServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, @@ -1850,6 +1927,12 @@ export class ModelServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait', + }, { post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait', }, @@ -3903,12 +3986,14 @@ export class ModelServiceClient { * * `labels.key=value` - key:value equality * * `labels.key:* or labels:key - key existence * * A key including a space must be quoted. `labels."a key"`. + * * `base_model_name` only supports = * * Some examples: * * * `model=1234` * * `displayName="myDisplayName"` * * `labels.myKey="myValue"` + * * `baseModelName="text-bison"` * @param {number} request.pageSize * The standard list page size. * @param {string} request.pageToken @@ -4026,12 +4111,14 @@ export class ModelServiceClient { * * `labels.key=value` - key:value equality * * `labels.key:* or labels:key - key existence * * A key including a space must be quoted. `labels."a key"`. + * * `base_model_name` only supports = * * Some examples: * * * `model=1234` * * `displayName="myDisplayName"` * * `labels.myKey="myValue"` + * * `baseModelName="text-bison"` * @param {number} request.pageSize * The standard list page size. * @param {string} request.pageToken @@ -4097,12 +4184,14 @@ export class ModelServiceClient { * * `labels.key=value` - key:value equality * * `labels.key:* or labels:key - key existence * * A key including a space must be quoted. `labels."a key"`. + * * `base_model_name` only supports = * * Some examples: * * * `model=1234` * * `displayName="myDisplayName"` * * `labels.myKey="myValue"` + * * `baseModelName="text-bison"` * @param {number} request.pageSize * The standard list page size. * @param {string} request.pageToken diff --git a/packages/google-cloud-aiplatform/src/v1beta1/persistent_resource_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/persistent_resource_service_client.ts index 99e9d543a15..aa5c3247ee0 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/persistent_resource_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/persistent_resource_service_client.ts @@ -406,6 +406,12 @@ export class PersistentResourceServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy', }, @@ -424,6 +430,12 @@ export class PersistentResourceServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -447,6 +459,14 @@ export class PersistentResourceServiceClient { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy', body: '*', @@ -467,6 +487,14 @@ export class PersistentResourceServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -486,6 +514,12 @@ export class PersistentResourceServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions', }, @@ -501,6 +535,12 @@ export class PersistentResourceServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -555,6 +595,9 @@ export class PersistentResourceServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -711,6 +754,12 @@ export class PersistentResourceServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel', + }, { post: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}:cancel', }, @@ -1036,6 +1085,14 @@ export class PersistentResourceServiceClient { delete: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', @@ -1153,6 +1210,9 @@ export class PersistentResourceServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1314,6 +1374,12 @@ export class PersistentResourceServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', }, @@ -1406,6 +1472,7 @@ export class PersistentResourceServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1565,6 +1632,12 @@ export class PersistentResourceServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*}/operations', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*}/operations', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}/operations', }, @@ -1613,6 +1686,7 @@ export class PersistentResourceServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, ], }, { @@ -1667,6 +1741,9 @@ export class PersistentResourceServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, @@ -1836,6 +1913,12 @@ export class PersistentResourceServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait', + }, { post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1beta1/pipeline_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/pipeline_service_client.ts index 5c151aaa134..c4476a154a5 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/pipeline_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/pipeline_service_client.ts @@ -415,6 +415,12 @@ export class PipelineServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy', }, @@ -433,6 +439,12 @@ export class PipelineServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -456,6 +468,14 @@ export class PipelineServiceClient { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy', body: '*', @@ -476,6 +496,14 @@ export class PipelineServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -495,6 +523,12 @@ export class PipelineServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions', }, @@ -510,6 +544,12 @@ export class PipelineServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -564,6 +604,9 @@ export class PipelineServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -720,6 +763,12 @@ export class PipelineServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel', + }, { post: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}:cancel', }, @@ -1045,6 +1094,14 @@ export class PipelineServiceClient { delete: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', @@ -1162,6 +1219,9 @@ export class PipelineServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1323,6 +1383,12 @@ export class PipelineServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', }, @@ -1415,6 +1481,7 @@ export class PipelineServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1574,6 +1641,12 @@ export class PipelineServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*}/operations', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*}/operations', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}/operations', }, @@ -1622,6 +1695,7 @@ export class PipelineServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, ], }, { @@ -1676,6 +1750,9 @@ export class PipelineServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, @@ -1845,6 +1922,12 @@ export class PipelineServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait', + }, { post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait', }, @@ -2470,9 +2553,6 @@ export class PipelineServiceClient { * * This value should be less than 128 characters, and valid characters * are `/{@link protos.0-9|a-z}-/`. - * @param {boolean} [request.preflightValidations] - * Optional. Whether to do component level validations before job creation. - * Currently we only support Google First Party Component/Pipelines. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. diff --git a/packages/google-cloud-aiplatform/src/v1beta1/schedule_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/schedule_service_client.ts index 285e086cd3e..0eb2a74b0a8 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/schedule_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/schedule_service_client.ts @@ -406,6 +406,12 @@ export class ScheduleServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy', }, @@ -424,6 +430,12 @@ export class ScheduleServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -447,6 +459,14 @@ export class ScheduleServiceClient { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy', body: '*', @@ -467,6 +487,14 @@ export class ScheduleServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -486,6 +514,12 @@ export class ScheduleServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions', }, @@ -501,6 +535,12 @@ export class ScheduleServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -555,6 +595,9 @@ export class ScheduleServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -711,6 +754,12 @@ export class ScheduleServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel', + }, { post: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}:cancel', }, @@ -1036,6 +1085,14 @@ export class ScheduleServiceClient { delete: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', @@ -1153,6 +1210,9 @@ export class ScheduleServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1314,6 +1374,12 @@ export class ScheduleServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', }, @@ -1406,6 +1472,7 @@ export class ScheduleServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1565,6 +1632,12 @@ export class ScheduleServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*}/operations', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*}/operations', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}/operations', }, @@ -1613,6 +1686,7 @@ export class ScheduleServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, ], }, { @@ -1667,6 +1741,9 @@ export class ScheduleServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, @@ -1836,6 +1913,12 @@ export class ScheduleServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait', + }, { post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1beta1/specialist_pool_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/specialist_pool_service_client.ts index be1f3e7dacb..4a1f80a6d52 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/specialist_pool_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/specialist_pool_service_client.ts @@ -411,6 +411,12 @@ export class SpecialistPoolServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy', }, @@ -429,6 +435,12 @@ export class SpecialistPoolServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -452,6 +464,14 @@ export class SpecialistPoolServiceClient { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy', body: '*', @@ -472,6 +492,14 @@ export class SpecialistPoolServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -491,6 +519,12 @@ export class SpecialistPoolServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions', }, @@ -506,6 +540,12 @@ export class SpecialistPoolServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -560,6 +600,9 @@ export class SpecialistPoolServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -716,6 +759,12 @@ export class SpecialistPoolServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel', + }, { post: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}:cancel', }, @@ -1041,6 +1090,14 @@ export class SpecialistPoolServiceClient { delete: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', @@ -1158,6 +1215,9 @@ export class SpecialistPoolServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1319,6 +1379,12 @@ export class SpecialistPoolServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', }, @@ -1411,6 +1477,7 @@ export class SpecialistPoolServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1570,6 +1637,12 @@ export class SpecialistPoolServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*}/operations', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*}/operations', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}/operations', }, @@ -1618,6 +1691,7 @@ export class SpecialistPoolServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, ], }, { @@ -1672,6 +1746,9 @@ export class SpecialistPoolServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, @@ -1841,6 +1918,12 @@ export class SpecialistPoolServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait', + }, { post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1beta1/tensorboard_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/tensorboard_service_client.ts index 01bf27a0724..13e0ba72f6f 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/tensorboard_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/tensorboard_service_client.ts @@ -438,6 +438,12 @@ export class TensorboardServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy', }, @@ -456,6 +462,12 @@ export class TensorboardServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -479,6 +491,14 @@ export class TensorboardServiceClient { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy', body: '*', @@ -499,6 +519,14 @@ export class TensorboardServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -518,6 +546,12 @@ export class TensorboardServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions', }, @@ -533,6 +567,12 @@ export class TensorboardServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -587,6 +627,9 @@ export class TensorboardServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -743,6 +786,12 @@ export class TensorboardServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel', + }, { post: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}:cancel', }, @@ -1068,6 +1117,14 @@ export class TensorboardServiceClient { delete: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', @@ -1185,6 +1242,9 @@ export class TensorboardServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1346,6 +1406,12 @@ export class TensorboardServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', }, @@ -1438,6 +1504,7 @@ export class TensorboardServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1597,6 +1664,12 @@ export class TensorboardServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*}/operations', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*}/operations', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}/operations', }, @@ -1645,6 +1718,7 @@ export class TensorboardServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, ], }, { @@ -1699,6 +1773,9 @@ export class TensorboardServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, @@ -1868,6 +1945,12 @@ export class TensorboardServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait', + }, { post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/src/v1beta1/vizier_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/vizier_service_client.ts index 8b01520573f..9810d3d4a16 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/vizier_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/vizier_service_client.ts @@ -414,6 +414,12 @@ export class VizierServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy', }, @@ -432,6 +438,12 @@ export class VizierServiceClient { { post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy', + }, ], }, { @@ -455,6 +467,14 @@ export class VizierServiceClient { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy', body: '*', @@ -475,6 +495,14 @@ export class VizierServiceClient { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy', body: '*', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy', + body: '*', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy', + body: '*', + }, ], }, { @@ -494,6 +522,12 @@ export class VizierServiceClient { { post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, { post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions', }, @@ -509,6 +543,12 @@ export class VizierServiceClient { { post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions', }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions', + }, + { + post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions', + }, ], }, { @@ -563,6 +603,9 @@ export class VizierServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel', }, @@ -719,6 +762,12 @@ export class VizierServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel', + }, { post: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}:cancel', }, @@ -1044,6 +1093,14 @@ export class VizierServiceClient { delete: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + delete: + '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', @@ -1161,6 +1218,9 @@ export class VizierServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}', }, + { + get: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}', + }, {get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}', @@ -1322,6 +1382,12 @@ export class VizierServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}', }, @@ -1414,6 +1480,7 @@ export class VizierServiceClient { { get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, {get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'}, { get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations', @@ -1573,6 +1640,12 @@ export class VizierServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*}/operations', }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*}/operations', + }, + { + get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations', + }, { get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}/operations', }, @@ -1621,6 +1694,7 @@ export class VizierServiceClient { { get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*}/operations', }, + {get: '/ui/{name=projects/*/locations/*/tuningJobs/*}/operations'}, ], }, { @@ -1675,6 +1749,9 @@ export class VizierServiceClient { { post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait', }, + { + post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait', + }, { post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait', }, @@ -1844,6 +1921,12 @@ export class VizierServiceClient { { post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait', }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait', + }, + { + post: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait', + }, { post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait', }, diff --git a/packages/google-cloud-aiplatform/test/gapic_pipeline_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_pipeline_service_v1.ts index 05c1948eaaa..7fe05390c4e 100644 --- a/packages/google-cloud-aiplatform/test/gapic_pipeline_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_pipeline_service_v1.ts @@ -1497,6 +1497,402 @@ describe('v1.PipelineServiceClient', () => { }); }); + describe('batchDeletePipelineJobs', () => { + it('invokes batchDeletePipelineJobs without error', async () => { + const client = new pipelineserviceModule.v1.PipelineServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest() + ); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest', + ['parent'] + ); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1}`; + const expectedResponse = generateSampleMessage( + new protos.google.longrunning.Operation() + ); + client.innerApiCalls.batchDeletePipelineJobs = + stubLongRunningCall(expectedResponse); + const [operation] = await client.batchDeletePipelineJobs(request); + const [response] = await operation.promise(); + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = ( + client.innerApiCalls.batchDeletePipelineJobs as SinonStub + ).getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = ( + client.innerApiCalls.batchDeletePipelineJobs as SinonStub + ).getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes batchDeletePipelineJobs without error using callback', async () => { + const client = new pipelineserviceModule.v1.PipelineServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest() + ); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest', + ['parent'] + ); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1}`; + const expectedResponse = generateSampleMessage( + new protos.google.longrunning.Operation() + ); + client.innerApiCalls.batchDeletePipelineJobs = + stubLongRunningCallWithCallback(expectedResponse); + const promise = new Promise((resolve, reject) => { + client.batchDeletePipelineJobs( + request, + ( + err?: Error | null, + result?: LROperation< + protos.google.cloud.aiplatform.v1.IBatchDeletePipelineJobsResponse, + protos.google.cloud.aiplatform.v1.IDeleteOperationMetadata + > | null + ) => { + if (err) { + reject(err); + } else { + resolve(result); + } + } + ); + }); + const operation = (await promise) as LROperation< + protos.google.cloud.aiplatform.v1.IBatchDeletePipelineJobsResponse, + protos.google.cloud.aiplatform.v1.IDeleteOperationMetadata + >; + const [response] = await operation.promise(); + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = ( + client.innerApiCalls.batchDeletePipelineJobs as SinonStub + ).getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = ( + client.innerApiCalls.batchDeletePipelineJobs as SinonStub + ).getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes batchDeletePipelineJobs with call error', async () => { + const client = new pipelineserviceModule.v1.PipelineServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest() + ); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest', + ['parent'] + ); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1}`; + const expectedError = new Error('expected'); + client.innerApiCalls.batchDeletePipelineJobs = stubLongRunningCall( + undefined, + expectedError + ); + await assert.rejects( + client.batchDeletePipelineJobs(request), + expectedError + ); + const actualRequest = ( + client.innerApiCalls.batchDeletePipelineJobs as SinonStub + ).getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = ( + client.innerApiCalls.batchDeletePipelineJobs as SinonStub + ).getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes batchDeletePipelineJobs with LRO error', async () => { + const client = new pipelineserviceModule.v1.PipelineServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest() + ); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest', + ['parent'] + ); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1}`; + const expectedError = new Error('expected'); + client.innerApiCalls.batchDeletePipelineJobs = stubLongRunningCall( + undefined, + undefined, + expectedError + ); + const [operation] = await client.batchDeletePipelineJobs(request); + await assert.rejects(operation.promise(), expectedError); + const actualRequest = ( + client.innerApiCalls.batchDeletePipelineJobs as SinonStub + ).getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = ( + client.innerApiCalls.batchDeletePipelineJobs as SinonStub + ).getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes checkBatchDeletePipelineJobsProgress without error', async () => { + const client = new pipelineserviceModule.v1.PipelineServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + client.initialize(); + const expectedResponse = generateSampleMessage( + new operationsProtos.google.longrunning.Operation() + ); + expectedResponse.name = 'test'; + expectedResponse.response = {type_url: 'url', value: Buffer.from('')}; + expectedResponse.metadata = {type_url: 'url', value: Buffer.from('')}; + + client.operationsClient.getOperation = stubSimpleCall(expectedResponse); + const decodedOperation = + await client.checkBatchDeletePipelineJobsProgress( + expectedResponse.name + ); + assert.deepStrictEqual(decodedOperation.name, expectedResponse.name); + assert(decodedOperation.metadata); + assert((client.operationsClient.getOperation as SinonStub).getCall(0)); + }); + + it('invokes checkBatchDeletePipelineJobsProgress with error', async () => { + const client = new pipelineserviceModule.v1.PipelineServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + client.initialize(); + const expectedError = new Error('expected'); + + client.operationsClient.getOperation = stubSimpleCall( + undefined, + expectedError + ); + await assert.rejects( + client.checkBatchDeletePipelineJobsProgress(''), + expectedError + ); + assert((client.operationsClient.getOperation as SinonStub).getCall(0)); + }); + }); + + describe('batchCancelPipelineJobs', () => { + it('invokes batchCancelPipelineJobs without error', async () => { + const client = new pipelineserviceModule.v1.PipelineServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest() + ); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest', + ['parent'] + ); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1}`; + const expectedResponse = generateSampleMessage( + new protos.google.longrunning.Operation() + ); + client.innerApiCalls.batchCancelPipelineJobs = + stubLongRunningCall(expectedResponse); + const [operation] = await client.batchCancelPipelineJobs(request); + const [response] = await operation.promise(); + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = ( + client.innerApiCalls.batchCancelPipelineJobs as SinonStub + ).getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = ( + client.innerApiCalls.batchCancelPipelineJobs as SinonStub + ).getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes batchCancelPipelineJobs without error using callback', async () => { + const client = new pipelineserviceModule.v1.PipelineServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest() + ); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest', + ['parent'] + ); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1}`; + const expectedResponse = generateSampleMessage( + new protos.google.longrunning.Operation() + ); + client.innerApiCalls.batchCancelPipelineJobs = + stubLongRunningCallWithCallback(expectedResponse); + const promise = new Promise((resolve, reject) => { + client.batchCancelPipelineJobs( + request, + ( + err?: Error | null, + result?: LROperation< + protos.google.cloud.aiplatform.v1.IBatchCancelPipelineJobsResponse, + protos.google.cloud.aiplatform.v1.IBatchCancelPipelineJobsOperationMetadata + > | null + ) => { + if (err) { + reject(err); + } else { + resolve(result); + } + } + ); + }); + const operation = (await promise) as LROperation< + protos.google.cloud.aiplatform.v1.IBatchCancelPipelineJobsResponse, + protos.google.cloud.aiplatform.v1.IBatchCancelPipelineJobsOperationMetadata + >; + const [response] = await operation.promise(); + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = ( + client.innerApiCalls.batchCancelPipelineJobs as SinonStub + ).getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = ( + client.innerApiCalls.batchCancelPipelineJobs as SinonStub + ).getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes batchCancelPipelineJobs with call error', async () => { + const client = new pipelineserviceModule.v1.PipelineServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest() + ); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest', + ['parent'] + ); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1}`; + const expectedError = new Error('expected'); + client.innerApiCalls.batchCancelPipelineJobs = stubLongRunningCall( + undefined, + expectedError + ); + await assert.rejects( + client.batchCancelPipelineJobs(request), + expectedError + ); + const actualRequest = ( + client.innerApiCalls.batchCancelPipelineJobs as SinonStub + ).getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = ( + client.innerApiCalls.batchCancelPipelineJobs as SinonStub + ).getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes batchCancelPipelineJobs with LRO error', async () => { + const client = new pipelineserviceModule.v1.PipelineServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest() + ); + const defaultValue1 = getTypeDefaultValue( + '.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest', + ['parent'] + ); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1}`; + const expectedError = new Error('expected'); + client.innerApiCalls.batchCancelPipelineJobs = stubLongRunningCall( + undefined, + undefined, + expectedError + ); + const [operation] = await client.batchCancelPipelineJobs(request); + await assert.rejects(operation.promise(), expectedError); + const actualRequest = ( + client.innerApiCalls.batchCancelPipelineJobs as SinonStub + ).getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = ( + client.innerApiCalls.batchCancelPipelineJobs as SinonStub + ).getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes checkBatchCancelPipelineJobsProgress without error', async () => { + const client = new pipelineserviceModule.v1.PipelineServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + client.initialize(); + const expectedResponse = generateSampleMessage( + new operationsProtos.google.longrunning.Operation() + ); + expectedResponse.name = 'test'; + expectedResponse.response = {type_url: 'url', value: Buffer.from('')}; + expectedResponse.metadata = {type_url: 'url', value: Buffer.from('')}; + + client.operationsClient.getOperation = stubSimpleCall(expectedResponse); + const decodedOperation = + await client.checkBatchCancelPipelineJobsProgress( + expectedResponse.name + ); + assert.deepStrictEqual(decodedOperation.name, expectedResponse.name); + assert(decodedOperation.metadata); + assert((client.operationsClient.getOperation as SinonStub).getCall(0)); + }); + + it('invokes checkBatchCancelPipelineJobsProgress with error', async () => { + const client = new pipelineserviceModule.v1.PipelineServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + client.initialize(); + const expectedError = new Error('expected'); + + client.operationsClient.getOperation = stubSimpleCall( + undefined, + expectedError + ); + await assert.rejects( + client.checkBatchCancelPipelineJobsProgress(''), + expectedError + ); + assert((client.operationsClient.getOperation as SinonStub).getCall(0)); + }); + }); + describe('listTrainingPipelines', () => { it('invokes listTrainingPipelines without error', async () => { const client = new pipelineserviceModule.v1.PipelineServiceClient({ @@ -5270,6 +5666,44 @@ describe('v1.PipelineServiceClient', () => { }); }); + describe('project', () => { + const fakePath = '/rendered/path/project'; + const expectedParameters = { + project: 'projectValue', + }; + const client = new pipelineserviceModule.v1.PipelineServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + client.initialize(); + client.pathTemplates.projectPathTemplate.render = sinon + .stub() + .returns(fakePath); + client.pathTemplates.projectPathTemplate.match = sinon + .stub() + .returns(expectedParameters); + + it('projectPath', () => { + const result = client.projectPath('projectValue'); + assert.strictEqual(result, fakePath); + assert( + (client.pathTemplates.projectPathTemplate.render as SinonStub) + .getCall(-1) + .calledWith(expectedParameters) + ); + }); + + it('matchProjectFromProjectName', () => { + const result = client.matchProjectFromProjectName(fakePath); + assert.strictEqual(result, 'projectValue'); + assert( + (client.pathTemplates.projectPathTemplate.match as SinonStub) + .getCall(-1) + .calledWith(fakePath) + ); + }); + }); + describe('projectLocationEndpoint', () => { const fakePath = '/rendered/path/projectLocationEndpoint'; const expectedParameters = {